Excel Question -Is a formula possible to calculate a gradual decrease of costs

hhottie

New Member
Joined
Nov 18, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Newbie here - pulling out my hair trying to figure this.
I am still an intermediate in Excel so hoping I can explain myself well

I am trying to see if its possible to calculate an estimated cost of storing an item based on
1) how many units
2) Cost per day
3) estimate time it will be there - factoring in sales (ie as we sell an item, the overall cost per day will reduce)

Situation is
We want to send 10 units of stock to FBA. FBA charge a fee per item per day (its actually per m2 but for simple sake - lets say per item)
So as a basic guide this will be 1p per item per day
We estimate we will sell all units inside 30 days on a sliding scale. This works out at 1 every 3 days approx
So for Day 1 we would get charged 10p
Day 2 - 10p
Day 3 - 10p (we sell one)
Day 4 - 9p (as we now have 9 left)
Day 5 - 9p
Day 6 - 9p (we sell 1)
Day 7 - 8p

Etc
Working it on a piece of paper/visually, at this estimated rate we would get charged about 1.64 for the whole time that stock has sat there inside our estimated 30 days
I just cannot translate that to a workable formula where the values for
Units (10)
Days (30)
Cost (1p)
Can be changed and formula works dynamically (Ideally want to be able to have a forumla to work it all and contained in 1 cell - so we can then work it into our other costings for this stock - but I doubt its doable)
I have googled and not even found anything that works or gets near to it!!

have attached an image of my long handed visual working out - XL2BB wont install at the moment!!

Hope I have explained myself well.
Thank you in advanced.
Hopeful for a solution -but might need to find a longer way to do it
 

Attachments

  • Excel_Longhand.JPG
    Excel_Longhand.JPG
    77.6 KB · Views: 40

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
MrExcelPlayground5.xlsx
AB
1Stock10
2Sellout Duration30
3Cost per unit$ 0.01
4Estimated Cost$ 1.65
Sheet7
Cell Formulas
RangeFormula
B4B4=SUM((B1-INT(SEQUENCE(B2,,0,1)*(B1/B2)))*B3)
 
Upvote 0
Solution
Oh my. Why did I not come here before I pulled all my hair out
Thanks JamesCanale - That works a treat and I am able to use it with all my other calculations to work out overall costs as well as dynamic changes

I did look at SEQUENCE yesterday but went a different route, while not 100% sure what the formula is doing - all I know is it works and I can learn how it works in my own time.

Many thanks being sent on
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,249
Members
452,623
Latest member
Techenthusiast

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