Forum Discussion
Multiple IF functions in one formula
- Aug 18, 2022
You mentioned "between 5 and 12" = medium and ">12" = high. So 12 should be medium.
(Also, I think it should be "between 6 and 12")
You can use
=LOOKUP(B2;{1\6\13};{"Low"\"Medium"\"High"})
or create a lookup list:
And use either
=VLOOKUP(B2;$G$2:$H$4;2)
or
=XLOOKUP(B2;$G$2:$G$4;$H$2:$H$4;"")
The advantage of the lookup list is that it's easy to change the thresholds - you have to do it only in one place instead of in each formula.
You mentioned "between 5 and 12" = medium and ">12" = high. So 12 should be medium.
(Also, I think it should be "between 6 and 12")
You can use
=LOOKUP(B2;{1\6\13};{"Low"\"Medium"\"High"})
or create a lookup list:
And use either
=VLOOKUP(B2;$G$2:$H$4;2)
or
=XLOOKUP(B2;$G$2:$G$4;$H$2:$H$4;"")
The advantage of the lookup list is that it's easy to change the thresholds - you have to do it only in one place instead of in each formula.
So about the Excel. My thanks for the quick reply. I will try the above in my worksheet.