Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Using Vlookup for intervals

Don't think I was clear on my last question. Here is the table:
Bonus
0%-22.5% 7200
22.6%-23.8% 6600
23.9%-25% 6000
25.1%-26.3% 4800
26.4%-27.5% 3600
As you can see it is a range, not just one number. If our % is 26.9 what
function do I use to calculate the bonus payoff? I know the answer is 3600,
but how do I get excel to calculate it?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Using Vlookup for intervals

Set table in columns A & B as below:

0% 7200
22.60% 6600
23.90% 6000
25.10% 4800
26.40% 3600

to get your value for % in C1:

=VLOOKUP(C1,$A$1:$A$5,2)

HTH

"UnisourceforNPH" wrote:

Don't think I was clear on my last question. Here is the table:
Bonus
0%-22.5% 7200
22.6%-23.8% 6600
23.9%-25% 6000
25.1%-26.3% 4800
26.4%-27.5% 3600
As you can see it is a range, not just one number. If our % is 26.9 what
function do I use to calculate the bonus payoff? I know the answer is 3600,
but how do I get excel to calculate it?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Using Vlookup for intervals

See my response to your other post. If you're entering the lookup_value of
26.9 as a PERCENTAGE, 26.9%, then you also need to format the left hand
column of your table as PERCENTAGE. Use the *LOWER* boundary of each
interval in your table:

0............7200
22.6.......6600
23.9.......6000
25.1.......4800
26.4.......3600

Any lookup_value = 26.4 will return 3600.

Biff

"UnisourceforNPH" wrote in
message ...
Don't think I was clear on my last question. Here is the table:
Bonus
0%-22.5% 7200
22.6%-23.8% 6600
23.9%-25% 6000
25.1%-26.3% 4800
26.4%-27.5% 3600
As you can see it is a range, not just one number. If our % is 26.9 what
function do I use to calculate the bonus payoff? I know the answer is
3600,
but how do I get excel to calculate it?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Using Vlookup for intervals

Try this:

=LOOKUP(A1,{0,0.226,0.239,0.251,0.264},{7200,6600, 6000,4800,3600})


"UnisourceforNPH" wrote:

Don't think I was clear on my last question. Here is the table:
Bonus
0%-22.5% 7200
22.6%-23.8% 6600
23.9%-25% 6000
25.1%-26.3% 4800
26.4%-27.5% 3600
As you can see it is a range, not just one number. If our % is 26.9 what
function do I use to calculate the bonus payoff? I know the answer is 3600,
but how do I get excel to calculate it?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
autofill @ intervals jejkskpj Excel Worksheet Functions 2 May 30th 07 12:22 PM
Confidence Intervals waldoafit Excel Discussion (Misc queries) 2 January 10th 07 07:36 PM
Dates and Intervals Dave_Lee Excel Worksheet Functions 8 May 26th 06 01:34 PM
date intervals jer Excel Worksheet Functions 3 January 13th 06 04:22 PM
Time Intervals ChrisM Excel Worksheet Functions 1 December 7th 05 09:50 PM


All times are GMT +1. The time now is 04:57 AM.

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

About Us

"It's about Microsoft Excel"