cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Grunt1772
Helper I
Helper I

Help, on combining if statements.

Hey guys, 

So how  do i make this work? i have tried multiple ways with no luck... I am trying combine all of this into one single if statement.

 

Screen Shot 2020-02-06 at 8.18.08 PM.png

 

Thank you in Advance!!!

1 ACCEPTED SOLUTION

Accepted Solutions

Finally!!! I got it. Your input gave me a vision....

 

Thank you 

 

I ended up writing it this way.

 

If(IsBlank(LookUp(ChkInList, Address = ThisItem.'Address Line 1'))&&(StatusOUTPUT.Text="Eligible")&&Value(AGEOUTPUT.Text) > 18,Edit,Disabled)

View solution in original post

4 REPLIES 4
PowerAddict
Super User
Super User

If(StatusOUTPUT.Text="Eligible" ||
Value(AGEOUTPUT.Text) > 18 ||
IsBlank(LookUp(ChkInList, Address = ThisItem.'Address Line 1')), DisplayMode.Edit, DisplayMode.Disabled)

Let me know if this works.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
The Power Addict
https://thepoweraddict.com

Thanks for responding so quick..Just inputted it and NOPE does not work :-(.

Finally!!! I got it. Your input gave me a vision....

 

Thank you 

 

I ended up writing it this way.

 

If(IsBlank(LookUp(ChkInList, Address = ThisItem.'Address Line 1'))&&(StatusOUTPUT.Text="Eligible")&&Value(AGEOUTPUT.Text) > 18,Edit,Disabled)

View solution in original post

I thought you had OR in your original post.

But anyways, glad I could help! Good luck with the rest of your app! Feel free to reach out in case of any questions!

Thanks,
Hardit Bhatia
The Power Addict
https://thepoweraddict.com

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,368)