Forum Discussion
talotaibi
Jul 21, 2023Copper Contributor
Searching for a formula to select the highest value
I need help creating a formula in Excel, as I have four values in the left column (Minor, Moderate, Major, Extreme) and on the right column, it should show in the cell of the highest value from the l...
- Jul 21, 2023
=IF(COUNTIF(I2:I5,"extreme"),"extreme",IF(COUNTIF(I2:I5,"major"),"major",IF(COUNTIF(I2:I5,"moderate"),"moderate",IF(COUNTIF(I2:I5,"minor"),"minor",""))))
Does this return the intended result?
OliverScheurich
Jul 21, 2023Gold Contributor
=IF(COUNTIF(I2:I5,"extreme"),"extreme",IF(COUNTIF(I2:I5,"major"),"major",IF(COUNTIF(I2:I5,"moderate"),"moderate",IF(COUNTIF(I2:I5,"minor"),"minor",""))))
Does this return the intended result?
talotaibi
Jul 21, 2023Copper Contributor
Yes, its work.
Thanks a lot
Thanks a lot