lookup formula

sachin483

Board Regular
Joined
Mar 31, 2015
Messages
157
Office Version
  1. 2019
Platform
  1. Windows
i am using the below lookup formula but it the value less than 0 it give error

=LOOKUP(F3,{0,80,90,110,150},{"Excellent","Good","Average","Below Average","Poor"})

-1#N/A
44Excellent
88Good
90Average
110Below Average
155Poor

<colgroup><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
do you want it to return Excellent if below 0 too ? then use:
Code:
=LOOKUP(F3,{-9.99999999999E+307,80,90,110,150},{"Excellent","Good","Average","Below Average","Poor"})
 
Upvote 0
when i adding the formula for 25 value it is showing "Below average" it should show "Average" as per formula

=LOOKUP(F9,{-9.99999999999E+307,10,20,30,31},{"Poor","Poor","Below Average","Average","Good"})


-99Poor
<=10Poor
<=20below Average
<=30Average
>31Good

<colgroup><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,563
Messages
6,125,554
Members
449,237
Latest member
Chase S

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