Help on a formula

leonemc

New Member
Joined
Sep 12, 2006
Messages
21
I am trying to write an IF formula to do the following...assume the sales price is in cell a2...

Up to $250,000 $3.30
Over $250,000 and up to $500,000, add $2.65
Over $500,000 and up to $1,000,000, add $2.20
Over $1,000,000 and up to $5,000,000, add $2.00
Over $15,000,000, add $1.80


Any help would be appreciated.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
=if(X1<=250,000,3.30,IF(X1<=50,000,3.30+2.65,IF(X1<=1,000,000,3.30+2.20,IF(X1<=5,000,000,3.30+2.00,IF(X1>15,000,000,3.30+1.80,...what happens between 5M and 15M?
 
Upvote 0
IF isn't the best function for this, LOOKUP is. This can be done in the formula or reference a table.

=A2+LOOKUP(A2,{0,250000.01,500000.01,1000000.01,15000000.01},{3.3,2.65,2.2,2,1.8})

In a TABLE:

Excel Workbook
ABCDEFGH
103.3
2149000149003.3250000.012.65
3500000.012.2
41000000.012
515000000.011.8
Sheet1
 
Upvote 0
Not entirely clear but maybe

=A2*LOOKUP(A2,{0,250000,50000,1000000,1500000},{3.32.65,2.2,2,1.8})
 
Upvote 0
Sorry, I havent had a chance to check out all the responses, i got called into a meeting. Regardless of if they work or not i appreciate the help!
 
Upvote 0
Actually, when it says add it means your adding 2.65 it means something like this...

600,000 sales price

the first $250k is 250k*3.3 plus 500k-250k * 2.65 plus 600k-500k * 2.2 = $162,500

I wanted the formula to change w/ the sales price which i have a colum for in column A.

Thanks again!
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,947
Latest member
Gerry_F

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top