Reputation: 61
I have the following problem. I need to fill in the points column based on the Category and score interval. I was trying to do it through the IF function but it seems very complicated. Everytime I try it with the HLOOKUP it also does not seems to work, as I simply don't know how to implement the category selection and interval selection in the formula. Any help would be appreciated!
Upvotes: 0
Views: 81
Reputation: 59460
Try in C2 and copied down to suit:
=2*IF(A2="A",MATCH(B2,{0,26,101}),IF(A2="B",MATCH(B2,{0,100,200}),IF(A2="C",MATCH(B2,{0,40,150}))))
Upvotes: 1
Reputation: 186
You need a lookup row in each group with the low end of the interval to make the HLOOKUP work:
Upvotes: 0