helfp with an "if and" with a vlookup

Pumpk1n

Board Regular
Joined
Jan 31, 2017
Messages
86
Office Version
  1. 365
Platform
  1. Windows
I need some help with parenthesis for an "if/and" formula.

=IF(and(VLOOKUP(D5,'Eligibility'!$C$5:$H$100,6,FALSE)="YES",(T5>=10%)),"Yes", else if (s5>=10% and (VLOOKUP(D5,'Eligibility'!$C$5:$H$100,6,FALSE)="No","Yes")),"No")))))
 
Last edited:

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
When working with a messy nested IF statement, try writing it out in little blocks and piece it together.

IF(AND(TEST1,TEST2),[value if true],IF(AND(TEST1,TEST2),[value if true],[value if false]))

In the above example, the second IF statement would be the "value if false" portion of the first IF statement.
 
Upvote 0
I'm still having issues
=IF(and(vlookup(s10,'Step2-BM Eligibility'!$C$5:$H$100,6,FALSE)="YES"),T10>=10%),"Yes",IF(and(vlookup(s10,'Step2-BM Eligibility'!$C$5:$H$100,6,FALSE)="No"),s10>=10%,"Yes"),"No"))))
IF(AND(TEST1, TEST2),[value if true],IF(AND(TEST1,TEST2),[value if true],[value if false]))

When working with a messy nested IF statement, try writing it out in little blocks and piece it together.

IF(AND(TEST1,TEST2),[value if true],IF(AND(TEST1,TEST2),[value if true],[value if false]))

In the above example, the second IF statement would be the "value if false" portion of the first IF statement.
 
Upvote 0
=IF(AND(VLOOKUP(S10,'Step2-BM Eligibility'!$C$5:$H$100,6,FALSE)="YES",T10>=10%),"Yes",IF(AND(VLOOKUP(S10,'Step2-BM Eligibility'!$C$5:$H$100,6,FALSE)="No",S10>=10%),"Yes","No"))
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top