A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Returing a value depending on hi-lo range



 
 
Thread Tools Display Modes
  #1  
Old November 6th, 2003, 11:28 AM
Alan
external usenet poster
 
Posts: n/a
Default Returing a value depending on hi-lo range

With the low values and scores arranged like this in E12:F15 and your value
"52" in H14

0 D
25 C
50 B
75 A

=VLOOKUP(H14,E12:F15,2)


"John Phillips" wrote in message
...
Hi

Consider the following table showing scores if a value falls into certain

grade "bands"...

High low Score
100 75 A
74 50 B
49 25 C
24 0 D

I have a series of values (eg, "52") that I'd like to place in the

appropriate range (ie above the low value but below the high value) and
return the relevant value from the "Score" column. So if my value was "52",
it would return "B".

I can produce a long formula using nested IF statements, but I'd like a

neater solution. Any idea's ??

Thanks
John P



  #2  
Old November 6th, 2003, 07:11 PM
L. Howard Kittle
external usenet poster
 
Posts: n/a
Default Returing a value depending on hi-lo range

Hi John,

Another way:

=LOOKUP(C1,{0,25,50,75},{"D","C","B","A"})

Enter the score in C1.

HTH
Regards,
Howard

"John Phillips" wrote in message
...
Hi

Consider the following table showing scores if a value falls into certain

grade "bands"...

High low Score
100 75 A
74 50 B
49 25 C
24 0 D

I have a series of values (eg, "52") that I'd like to place in the

appropriate range (ie above the low value but below the high value) and
return the relevant value from the "Score" column. So if my value was "52",
it would return "B".

I can produce a long formula using nested IF statements, but I'd like a

neater solution. Any idea's ??

Thanks
John P



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:35 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.