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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (79,587)