cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Helper I
Helper I

Re: Help, on combining if statements.

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
Super User

Re: Help, on combining if statements.

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
Highlighted
Helper I
Helper I

Re: Help, on combining if statements.

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

Highlighted
Helper I
Helper I

Re: Help, on combining if statements.

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

Highlighted
Super User
Super User

Re: Help, on combining if statements.

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
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,858)