If formula help please

PinkUnicorn

New Member
Joined
Dec 12, 2017
Messages
30
Hi guys
This is my first post and I'm really stuck on a formula. any help would be really appreciated.

I've got a column of results from various checks across my spreadsheet, and each of these checks will come back with a result of High, Medium or blank.

What I'm trying to do is create a formula to look at that column and return a single result
if there is a High anywhere in the column I want it to say "High"
If there isn't a high, but there is a medium anywhere in the column I want it to say "medium"
And if there are no High's or Mediums (so all are blank returns) I want it to say 'Standard:

This is where I've got to so far
=IF(J5:J13="","Standard",IF(J5:J13="Medium","Medium",IF(J5:J13="High","High")))

But it only seems to be looking for what is entered in the first cell (J5) and not the others.

I tried it round the other way, so looking for the Highs first but that didn't seem to work at all!

All help greatly appreciated!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Welcome to the Board!

You cannot check of a value of a whole range like that.

Try this instead:
Code:
=IF(COUNTIF(J5:J13,"High")>0,"High",IF(COUNTIF(J5:J13,"Medium")>0,"Medium","Standard"))
 
Upvote 0
Fantastic, thank you.

I was searching the 'Count if' scenarios but I simply did not get them!!

Thank you so much - it worked perfectly.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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