Create formula with multiple criteria

45 Views Asked by At

what is my formula if I have this actual data:

Given data is: Smoker and value is 2.1

I have this table:

enter image description here

If a person is a non-smoker and the result is below 3, the result is "Action Limit", if greater than 5 and non-smoker, the result is Relocation Limit.

ifs and index match formula

2

There are 2 best solutions below

0
Harun24hr On

If you have XLOOKUP() then try it-

=XLOOKUP(D6,XLOOKUP(C6,G2:I2,G3:I4),G3:G4,,1)

enter image description here

0
Mayukh Bhattacharya On

Try using the following:

enter image description here


=XLOOKUP(C5,FILTER(B2:C3,B5=B1:C1),A2:A3,,1)