Tiered Pricing with a twist - montly billing for a long term tier system

dustyjay16

New Member
Joined
Mar 17, 2014
Messages
4
Hi Everyone, I have what has been a tricky problem for me. I have seen several posts on tiered pricing, which have been very helpful for calculating a basic tiered price system. But here's my situation: Items stored are on a tiered basis. If an item has been at a location for 0-15 days, its free. 16-40 days, its $10/day. And 41+ days is $60/day. Lots of items can be stored at a location at once, and customers are billed monthly on the amount of items they have stored. So for instance a customer may have items A, B, and C at the location. Item A had been there for 45 days before this month started, and left on the 15th of the month. So item A would cost the customer 15 days this month *$60/day = $900 this month. Item B had been there for 12 days before this month started, and stayed all month long. So Item B's first 3 days this month were free (making 15), next 25 days (total day 16-40) were $10/day, and the last 2 or 3 days of the month were $60/day (because the 41+ days were reached). Etc Etc. So can anyone please help me understand the best way this can be calculated in excel using the total days the item has been there, and also the total days this month it was there? If I have those two pieces of info, and the pricing tiers, how would I calculate the total costs for that month? THANK YOU THANK YOU THANK YOU for any help you can provide.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Welcome to the Forum.

Provided I'm understanding everything correctly Try this
... both Formulas are looking in Cell E2 for a date You will need to adjust that cell reference to fit your sheet
For Two months ago

Code:
=IF(DATE(YEAR(TODAY()),MONTH(TODAY())-1,1)-E2<=15,0,IF(DATE(YEAR(TODAY()),MONTH(TODAY())-1,1)-E2<=40,(DATE(YEAR(TODAY()),MONTH(TODAY())-1,1)-E2-15)*10,((DATE(YEAR(TODAY()),MONTH(TODAY())-1,1)-E2-40)*60)+(((DATE(YEAR(TODAY()),MONTH(TODAY())-1,1)-E2)-15-(DATE(YEAR(TODAY()),MONTH(TODAY())-1,1)-E2-40))*10)))-IF(DATE(YEAR(TODAY()),MONTH(TODAY())-2,1)-E2<=15,0,IF(DATE(YEAR(TODAY()),MONTH(TODAY())-2,1)-E2<=40,(DATE(YEAR(TODAY()),MONTH(TODAY())-2,1)-E2-15)*10,((DATE(YEAR(TODAY()),MONTH(TODAY())-2,1)-E2-40)*60)+(((DATE(YEAR(TODAY()),MONTH(TODAY())-2,1)-E2)-15-(DATE(YEAR(TODAY()),MONTH(TODAY())-2,1)-E2-40))*10)))

For Last Month
Code:
=IF(DATE(YEAR(TODAY()),MONTH(TODAY()),1)-E2<=15,0,IF(DATE(YEAR(TODAY()),MONTH(TODAY()),1)-E2<=40,(DATE(YEAR(TODAY()),MONTH(TODAY()),1)-E2-15)*10,((DATE(YEAR(TODAY()),MONTH(TODAY()),1)-E2-40)*60)+(((DATE(YEAR(TODAY()),MONTH(TODAY()),1)-E2)-15-(DATE(YEAR(TODAY()),MONTH(TODAY()),1)-E2-40))*10)))-IF(DATE(YEAR(TODAY()),MONTH(TODAY())-1,1)-E2<=15,0,IF(DATE(YEAR(TODAY()),MONTH(TODAY())-1,1)-E2<=40,(DATE(YEAR(TODAY()),MONTH(TODAY())-1,1)-E2-15)*10,((DATE(YEAR(TODAY()),MONTH(TODAY())-1,1)-E2-40)*60)+(((DATE(YEAR(TODAY()),MONTH(TODAY())-1,1)-E2)-15-(DATE(YEAR(TODAY()),MONTH(TODAY())-1,1)-E2-40))*10)))
 
Last edited:
Upvote 0
Hey everyone! I actually just had an epiphany, and realized since I knew the total days and had the formula to calculate the total cost since the item got there, and I had the days this month so I could calculate the total cost before this month started, I can just take the difference in the total cost at month end minus the total cost before the month started. I about jumped for joy when I realized I was just missing that. Thank you very much for your responses and help though. I appreciate it greatly!
 
Upvote 0

Forum statistics

Threads
1,215,475
Messages
6,125,028
Members
449,205
Latest member
Eggy66

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