Conditional formatting within SharePoint lists and list forms

Anonymous
2021-09-22T07:44:40+00:00

I am trying to hide/unhide a field depending on who is currently logged in as the user... for example i have a Person field called Reviewer and i want to make another field visible only if the current logged in user is the same as the Reviewer... I have tried =if([$Reviewer] == @me, 'true', 'false') But it didnt work. Any suggestions that may help?

Microsoft 365 and Office | SharePoint | For education | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2021-09-22T10:06:48+00:00

    Hi Joy Abaja,

    Welcome to community.

    I go through the post carefully and understand you want to make a field shown only when the current logged in user is the same as the Reviewer field.

    You may try this formula:

    =if([$Reviewer.email]==@me, 'true', 'false')

    Below is my test:

    The Reviewer column's value is Administrator.

    a. If the logged in account is Administrator, then the test column will display.

    Image

    b.If the logged in user is Alex, then the test column will be hidden.

    Image

    Hope above can help you.

    If I misunderstand the scenario, feel free to post back and let me know, I will continue trying best to help you.

    Have a nice day and stay safe!

    Best Regards,

    Tina

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2021-09-23T09:59:52+00:00

    I tried this and it works!

    Thank you for the much needed help :)

    0 comments No comments