IF statement?

M

michael_fett

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
 
G

Gary Brown

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
 
P

pinmaster

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
 
M

michael_fett

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
 
Top