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 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
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

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

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (75,698)