Formula help, please

R0nseal

Board Regular
Joined
Aug 25, 2015
Messages
103
Hi,

I don't really know how to describe this too well, but here goes and I hope someone can help me.

I have a cell which can have a number in. The number could be for this example, 15000.

I want to then have a formula which will only ever take the first 10000 and multiply that by 0.45
and then a second formula which will take anything from 10001 and multiply anything from 10001, in this example up to the 15000 and multiply it by 0.25.

so I would have two cells, both that look at the cell which contains the 15000,
and the 1st cell would give me the result 4500 in this example, (1000*0.45)
and the 2nd cell would give me the result 1250, in this example. (5000*0.25)

Can anyone help me pls?

Thanks
Dan
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
If your value is in cell A1:

1st formula: =MIN(A1,10000)*0.45
2nd formula: = MAX(0,A1-10000)*0.25
 
Upvote 0

Book1
ABC
11500045001250
Sheet1
Cell Formulas
RangeFormula
B1=IF(A1<=10000,A1*0.45,10000*0.45)
C1=IF(A1>1000,(A1-10000)*0.25,0)


If you would rather have the cell blank if the number is under 10000 change the 0 to "" in the formula in C1
Code:
=IF(A1>1000,(A1-10000)*0.25,"")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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