Help with IF formula to return values based on a value being within a range

tomashley

New Member
Joined
Apr 10, 2012
Messages
3
Hi

I need help with an IF formula

I need to calculate a charge based on the number of transactions for a customer. To explain, the customer gets charged £500 if they do 1000 orders. If they do 1001 they get charged £500 plus 1 times the second bracket- £0.40. Finally if they do 3001 orders they get charged £500 plus 1999 times £0.40 then 1 times £0.30. The volume of transactions varies each month so I need to be able to put the total orders in a field and have the rest calculate

Between 0-1000 orders per month £500
Between 1001-3000 orders per month £0.40 per order
3001 + Orders £0.30 per order

Hope someone can help, it's a little beyond me :)
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Does this formula do what you need?

Code:
=IF(A2<=1000,500,IF(A2<=3000,500+(A2-1001)*0.4,1299.6+(A2-3001)*0.3))
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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