Numerical range

vidhate0123

New Member
Joined
Jun 24, 2015
Messages
18
Hi,

I want formula in excel

Value is 1 to 5 I want answer "A"
if value more than 5 to 16 I want answer " B"
if value more than 16 to 30 I want answer " c"
if value more than 30 to 50 I want answer "D"
if value more than 50 to 100 I want answer " E"
if value more than 100 to 150 I want answer "F"
if value more than 150 to 200 I want answer "G"
if value more than 200 to 250 I want answer "H"

if value more than 250 to 300 I want answer "I"

if value more than 350 to 400 I want answer "J"

if value more than 400 to 450 I want answer "K"
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi vidhate0123,

Does this work for you?

Code:
=IF(A1="","",IF(A1<=5,"A",IF(A1<=16,"B",IF(A1<=20,"C",IF(A1<=50,"D",IF(A1<=100,"E",IF(A1<=150,"F",IF(A1<=200,"G",IF(A1<=250,"H",IF(A1<=300,"I",IF(A1<=400,"J",IF(A1<=450,"K",IF(A1>450,"More than 450 entered.")))))))))))))

I hope this helps!
 
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,937
Members
449,196
Latest member
Maxkapoor

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