Calculate Fail, Pass, Merit or Distinction based on Numerical Value

haydencohen

New Member
Joined
Oct 23, 2015
Messages
9
Hi,

I'm trying to calculate whether someone has received a fail, pass, merit or distinction based on the range between two values. The range is detailed in a separate worksheet. In one worksheet:

FAIL 49
PASS 50
MERIT 60
DISTINCTION 70

In the main worksheet there is a figure, let's say 52. This would be a PASS. Is there a way for the cell to state PASS as 52 is between the ranges without using a horrendously long IF function?

I feel like something with VLOOKUP or INDEX-MATCH may do the trick, but it's proving complicated

All help would be much appreciated,


Hayden
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Welcome to the board..
IF that range detail is speareted into 2 columns, say A and B
A2 = Fail
B2 = 49
A3 = Pass
B3 = 50
etc..

Although the FAIL value shold probably be 0, if you're saying anything less than 50 is FAIL.

You could do
=LOOKUP(D2,B$2:B$5,A$2:A$5)

D2 is the value to rank..
 
Upvote 0
Try

=LOOKUP(A1,{0,50,60,70},{"Fail","Pass","Merit","Distinction"})
 
Upvote 0

Forum statistics

Threads
1,221,427
Messages
6,159,842
Members
451,592
Latest member
Mrformulaheadache

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