#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
HOUA-CARLOS
 
Posts: n/a
Default VLOOKUP

Hi.
I'm trying to enter the VLOOKUP function for a discount on contract amount.
This table has two sheet. The first sheet is the "Contract Discount". The
second sheet is the "Lookup table". The discount total is in the cell C4.
which is located in sheet 1 "Contract Discount". The contract amount is in
cell A4 ($60,000) Sheet 1"Contract Discount". The discount is in sheet 2
which is the "Lookup table". Cell A2 should be: For Contracts between $40,000
and $80,000 there is a 3% discount. I try to use the VLOOKUP formula and the
IF formula and could not come up with the discount total in cell C4, sheet 1
"Contract Discount".
Any suggestions for a formula to do this?
Thanks.
Houa
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers
 
Posts: n/a
Default VLOOKUP

Can you post your lookup table please.

"HOUA-CARLOS" wrote:

Hi.
I'm trying to enter the VLOOKUP function for a discount on contract amount.
This table has two sheet. The first sheet is the "Contract Discount". The
second sheet is the "Lookup table". The discount total is in the cell C4.
which is located in sheet 1 "Contract Discount". The contract amount is in
cell A4 ($60,000) Sheet 1"Contract Discount". The discount is in sheet 2
which is the "Lookup table". Cell A2 should be: For Contracts between $40,000
and $80,000 there is a 3% discount. I try to use the VLOOKUP formula and the
IF formula and could not come up with the discount total in cell C4, sheet 1
"Contract Discount".
Any suggestions for a formula to do this?
Thanks.
Houa

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
HOUA-CARLOS
 
Posts: n/a
Default VLOOKUP

Here is part of my data for Contract Discounts sheet 1
Contract Amount
$15,000
$4,000
$60,500
$73,235
$8,025
$68,135
$12,000
$45,000
$82,002
$35,258

Here is the date for Lookup Table

If the contracts is under $10,000 there are no discount. Between $10,000 and
$20,000 there is a 1% discount, for $20,000-$40,000 there is a 2% dicounts,
between $ 40,000 and $80,000 there is a 3% discount and contract over $80,
000 there is a 5% discount.

Hopefull this will help you.
Toppers wrote:
Can you post your lookup table please.

Hi.
I'm trying to enter the VLOOKUP function for a discount on contract amount.

[quoted text clipped - 9 lines]
Thanks.
Houa

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tim m
 
Posts: n/a
Default VLOOKUP

I don't think you want to use a Vlookup for this as it is going to look for
an exact match rather than a range of values. You could try this formula
below. Format a column as % and enter this formula. (In the formula A2 is
the start of your contract amounts.)

=IF(A280000,0.05,IF(A239999,0.03, IF(A219999,0.02,IF(A29999,0.01,0))))

"HOUA-CARLOS" wrote:

Here is part of my data for Contract Discounts sheet 1
Contract Amount
$15,000
$4,000
$60,500
$73,235
$8,025
$68,135
$12,000
$45,000
$82,002
$35,258

Here is the date for Lookup Table

If the contracts is under $10,000 there are no discount. Between $10,000 and
$20,000 there is a 1% discount, for $20,000-$40,000 there is a 2% dicounts,
between $ 40,000 and $80,000 there is a 3% discount and contract over $80,
000 there is a 5% discount.

Hopefull this will help you.
Toppers wrote:
Can you post your lookup table please.

Hi.
I'm trying to enter the VLOOKUP function for a discount on contract amount.

[quoted text clipped - 9 lines]
Thanks.
Houa


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers
 
Posts: n/a
Default VLOOKUP

Try:

Lookup table on Sheet2 (A1:B5)

£0.00 0.00%
£10,001.00 1.00%
£20,001.00 2.00%
£40,001.00 3.00%
£80,001.00 5.00%

In your discount cell:

=VLOOKUP(A4,Sheet2!$A$1:$B$5,2,TRUE)

"HOUA-CARLOS" wrote:

Here is part of my data for Contract Discounts sheet 1
Contract Amount
$15,000
$4,000
$60,500
$73,235
$8,025
$68,135
$12,000
$45,000
$82,002
$35,258

Here is the date for Lookup Table

If the contracts is under $10,000 there are no discount. Between $10,000 and
$20,000 there is a 1% discount, for $20,000-$40,000 there is a 2% dicounts,
between $ 40,000 and $80,000 there is a 3% discount and contract over $80,
000 there is a 5% discount.

Hopefull this will help you.
Toppers wrote:
Can you post your lookup table please.

Hi.
I'm trying to enter the VLOOKUP function for a discount on contract amount.

[quoted text clipped - 9 lines]
Thanks.
Houa




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
HOUA-CARLOS via OfficeKB.com
 
Posts: n/a
Default VLOOKUP

Thank you.

tim m wrote:
I don't think you want to use a Vlookup for this as it is going to look for
an exact match rather than a range of values. You could try this formula
below. Format a column as % and enter this formula. (In the formula A2 is
the start of your contract amounts.)

=IF(A280000,0.05,IF(A239999,0.03, IF(A219999,0.02,IF(A29999,0.01,0))))

Here is part of my data for Contract Discounts sheet 1
Contract Amount

[quoted text clipped - 24 lines]
Thanks.
Houa


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200606/1
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
HOUA-CARLOS via OfficeKB.com
 
Posts: n/a
Default VLOOKUP

Thank you so much.

Toppers wrote:
Try:

Lookup table on Sheet2 (A1:B5)

£0.00 0.00%
£10,001.00 1.00%
£20,001.00 2.00%
£40,001.00 3.00%
£80,001.00 5.00%

In your discount cell:

=VLOOKUP(A4,Sheet2!$A$1:$B$5,2,TRUE)

Here is part of my data for Contract Discounts sheet 1
Contract Amount

[quoted text clipped - 24 lines]
Thanks.
Houa


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200606/1
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
VLOOKUP Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM


All times are GMT +1. The time now is 12:26 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"