asking excel to return a label for a value range

gbaynam

New Member
Joined
Oct 26, 2006
Messages
3
Sorry for a noob question, but i don't know how to get excel to return a label for a value if it is within a certain range. Tried F1 and searching boards but there are heaps of topics... I suck with computers.

Basically i want it to say that if a value in cell 1A is between 0 and 9 then to give it the label (in cell B1) of "NORMAL". 10-19 as "MILD", 20-29 as "MODERATE" and 30+ as "SEVERE"

I posted here once before and you guys were great help. Hope you can help again.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi GBaynam

Try;

Code:
=IF(A1<=9,"NORMAL",IF(A1<=19,"MILD",IF(A1<=29,"MODERATE","SEVERE")))

Enter the formula in B1 and drag down to suit

HTH
 
Upvote 0

Forum statistics

Threads
1,215,460
Messages
6,124,949
Members
449,198
Latest member
MhammadishaqKhan

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