web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Help with multiple con...
Power Apps
Answered

Help with multiple condition if statement

(0) ShareShare
ReportReport
Posted on by 601

Hello,

 

I know this has been asked before but I'm really struggling to write my formula to check two conditions before evaluating to true or false. I understand that you need to nest them somehow because the formula will not complete any other steps once it recognizes a statement as true but I can't figure out how to write the formula. I have three buttons on my load screen for one of my apps(User, Manager and Read Only buttons). For the User button, I have a list of users in a SharePoint list that I use to determine whether this button/screen should be visible to the current user.

 

The formula for that is:

 

IsBlank(
LookUp(
CollectorMasterList,
Title = CurrentUserName
).Title
)

 

The formula for my Read-only button uses Flow, SharePoint Groups and variables to determine if this button should be visible. The formula for that is:

 

If(
OpsFinUser.isopsfinuser = "True",
true,
false
)

 

What I cannot seem to figure out is how do I create a formula for my 3rd button that says: If the current user is not in the user master list and isopsfinuser = "false" then the visible property on my 3rd button is = "true". 

 

Currently in my attempt to nest the conditions my formula is a mess and looks like this:

 

IsBlank(LookUp(CollectorMasterList, Title), And(Title = CurrentUserName).Title),OpsFinUser.isadminuser = "false"), "true");

 

Thanks for any help! 

 

@wyotim  

 

Categories:
I have the same question (0)
  • Verified answer
    CarlHRVA Profile Picture
    601 on at

    Found this thread here: https://powerusers.microsoft.com/t5/Building-Power-Apps/Help-with-Nested-IF-statement/m-p/482893

    which I somehow missed the last 2 hours. Figured it out based on the reply from mdevaney there. Formula ended up looking like this:

     

    If(IsBlank(
    LookUp(
    UserMasterList,
    Title = CurrentUserName
    ).Title
    And OpsFinUser.isadminuser = "false"),true)

     

    Thank you!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard