ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   IF statement? (https://www.excelbanter.com/excel-discussion-misc-queries/64759-if-statement.html)

[email protected]

IF statement?
 
Not sure where to start, but here goes. I have been working on creating a
cost estimate. Cell I29 is the total cost. Based on the value in this cell
I would like to multiply it by a certain percentage. I have 16 possiblies;
$1-$100,000 = 20%, $100,001-$200,000 = 19.5%, $200,001 - $300,000 = 19% & so
on.
Excel 2000

Gary Brown

IF statement?
 

Assuming that your table of values for ranges of discounts are in cells
D1:F3 with D having the starting amount, E have the upper amount and F
have the Discount, ie

1 100000 20%
100001 200000 19.5%
etc
etc
etc

Use the following formula:-

vlookup(A1,D1:F3,3,true)

This will return the discount to be used for the value entered in A1


--
Gary Brown
------------------------------------------------------------------------
Gary Brown's Profile: http://www.excelforum.com/member.php...o&userid=17084
View this thread: http://www.excelforum.com/showthread...hreadid=500681


pinmaster

IF statement?
 
Start by creating a table somewhere in your workbook, somewhere it will not
be seen, in the first column enter each amount that will trigger a different
percentage with the corresponding percentage in the second column. The table
should look like this:

Col(A)-Col(B)
0 - 20%
100,001 - 19.5%
200,001 - 19%
and so on, in an ascending order

Then use something like:
=A1*VLOOKUP(A1,your_table,2,1)

HTH
JG

" wrote:

Not sure where to start, but here goes. I have been working on creating a
cost estimate. Cell I29 is the total cost. Based on the value in this cell
I would like to multiply it by a certain percentage. I have 16 possiblies;
$1-$100,000 = 20%, $100,001-$200,000 = 19.5%, $200,001 - $300,000 = 19% & so
on.
Excel 2000


Roger Govier

IF statement?
 
Hi Michael

Try
=20%-INT((I29-1)/100000)*0.5%

--
Regards

Roger Govier


"
wrote in message
...
Not sure where to start, but here goes. I have been working on
creating a
cost estimate. Cell I29 is the total cost. Based on the value in
this cell
I would like to multiply it by a certain percentage. I have 16
possiblies;
$1-$100,000 = 20%, $100,001-$200,000 = 19.5%, $200,001 - $300,000 =
19% & so
on.
Excel 2000




[email protected]

IF statement?
 
Thanks for the help, I'll try these and see what I come up with. Mike

"Roger Govier" wrote:

Hi Michael

Try
=20%-INT((I29-1)/100000)*0.5%

--
Regards

Roger Govier


"
wrote in message
...
Not sure where to start, but here goes. I have been working on
creating a
cost estimate. Cell I29 is the total cost. Based on the value in
this cell
I would like to multiply it by a certain percentage. I have 16
possiblies;
$1-$100,000 = 20%, $100,001-$200,000 = 19.5%, $200,001 - $300,000 =
19% & so
on.
Excel 2000





[email protected]

IF statement?
 
Ok everything works great, Now heres the next step. I have 2 tables. I
need a check box to select one or the other to use in the estimate. Thanks
Mike

" wrote:

Thanks for the help, I'll try these and see what I come up with. Mike

"Roger Govier" wrote:

Hi Michael

Try
=20%-INT((I29-1)/100000)*0.5%

--
Regards

Roger Govier


"
wrote in message
...
Not sure where to start, but here goes. I have been working on
creating a
cost estimate. Cell I29 is the total cost. Based on the value in
this cell
I would like to multiply it by a certain percentage. I have 16
possiblies;
$1-$100,000 = 20%, $100,001-$200,000 = 19.5%, $200,001 - $300,000 =
19% & so
on.
Excel 2000






All times are GMT +1. The time now is 10:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com