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  

formula



 
 
Thread Tools Display Modes
  #1  
Old April 10th, 2009, 02:23 PM posted to microsoft.public.excel.worksheet.functions
Nikki
external usenet poster
 
Posts: 341
Default formula

Level Low High
1 $140,000 $155,000
2 $125,000 $155,000
3 $115,000 $145,000

How do I get a formula to look up a salary of $130,000 within the low and
high range to place the Level "2" into a cell?
  #2  
Old April 10th, 2009, 02:35 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default formula

Nikki,

Why does $130k return a 2, why not a 3? Please explain the rules.

Mike

"Nikki" wrote:

Level Low High
1 $140,000 $155,000
2 $125,000 $155,000
3 $115,000 $145,000

How do I get a formula to look up a salary of $130,000 within the low and
high range to place the Level "2" into a cell?

  #3  
Old April 10th, 2009, 02:37 PM posted to microsoft.public.excel.worksheet.functions
Don Guillett
external usenet poster
 
Posts: 6,167
Default formula


sort
3 115000 145000
2 125000 150000
1 140000 155000

and then just use a vlookup
=VLOOKUP(J1,H1:I3,2)
to get 150,000
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Nikki" wrote in message
...
Level Low High
1 $140,000 $155,000
2 $125,000 $155,000
3 $115,000 $145,000

How do I get a formula to look up a salary of $130,000 within the low and
high range to place the Level "2" into a cell?


  #4  
Old April 10th, 2009, 03:01 PM posted to microsoft.public.excel.worksheet.functions
Nikki
external usenet poster
 
Posts: 341
Default formula

I already have the level so I need to make sure the is they are a level 2
then the salary of 130,000 is within the range.

"Mike H" wrote:

Nikki,

Why does $130k return a 2, why not a 3? Please explain the rules.

Mike

"Nikki" wrote:

Level Low High
1 $140,000 $155,000
2 $125,000 $155,000
3 $115,000 $145,000

How do I get a formula to look up a salary of $130,000 within the low and
high range to place the Level "2" into a cell?

 




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 11:53 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.