Applying multiple conditions to return Pass and Fail

Beagle263

New Member
Joined
Jun 18, 2024
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I'm trying to apply a formula to a range of data to show if something has satisfied different criteria, and I want to return "Pass" and "Fail". A nested IF function doesn't seem to work for me as there are too many conditions.

The Pass Criteria I'm Trying to apply to the data set is below.
Case Number Passed?
0>=3
1>=5
2>=5
FL>=5
SB>=30


Book2
EFGHIJKLM
1
2
3Name Case Code Value Passed? Case Code Criteria
4amy19.303
5steve04.015
6jo310.425
7jenny23.335
8becky15.845
9john FL6.555
10fredSB7.665
11eric45.275
12diane224.4FL5
13paul513.7
14peter011.8
15david09.1
Surveyed CBR Tests
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi & welcome to MrExcel.
How about
Fluff.xlsm
EFGHIJKLM
3Name Case Code Value Passed? Case Code Criteria
4amy19.3Yes03
5steve04Yes15
6jo310.4Yes25
7jenny23.3No35
8becky15.8Yes45
9john FL6.5Yes55
10fredSB7.6No65
11eric45.2Yes75
12diane224.4YesFL5
13paul513.7YesSB30
14peter011.8Yes
15david09.1Yes
Data
Cell Formulas
RangeFormula
H4:H15H4=IF(G4>=XLOOKUP(F4,$L$4:$L$13,$M$4:$M$13),"Yes","No")
 
Upvote 1
Solution
Hi & welcome to MrExcel.
How about
Fluff.xlsm
EFGHIJKLM
3Name Case Code Value Passed? Case Code Criteria
4amy19.3Yes03
5steve04Yes15
6jo310.4Yes25
7jenny23.3No35
8becky15.8Yes45
9john FL6.5Yes55
10fredSB7.6No65
11eric45.2Yes75
12diane224.4YesFL5
13paul513.7YesSB30
14peter011.8Yes
15david09.1Yes
Data
Cell Formulas
RangeFormula
H4:H15H4=IF(G4>=XLOOKUP(F4,$L$4:$L$13,$M$4:$M$13),"Yes","No")

Hi Thank you so much
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

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