cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User II
Super User II

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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,524)