"Lookup" value in range

itfmm

Board Regular
Joined
Aug 12, 2014
Messages
57
Hello,

I'm trying to use and array lookup formula to help identify where a value falls in a range of numbers. Here is the table with the ranges and corresponding identifiers:

0-60 A
60.01-70 B
70.01-75 C
75.01-80 D
80.01-85 E
85.01-90 F
90.01-95 G
95.01-97 H

So let's say the value I am looking at is in cell N16. If the value falls between 0 and 60.00 =A; if it falls between 60.01 and 70.00 =B; etc, etc.

When I use the formula below, say N16=62, the formula returns "N16=A."

=LOOKUP(N16,{0,0;60,"A";70,"B";75,"C";80,"D";85,"E";90,"F";95,"G";97,"H"})

Would anyone help me figure out what it is that I am missing?

Thanks so much!


Anna
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
=lookup(n16,{0,60,70,75,80,85,90,95},{"A","B","C","D","E","F","G","H"})
 
Upvote 0

Forum statistics

Threads
1,223,723
Messages
6,174,113
Members
452,545
Latest member
boybenqn

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