Formula Help - Inventory Allocation & Distribution

ricafonyat

New Member
Joined
May 1, 2017
Messages
25
Office Version
  1. 365
Platform
  1. Windows
Dear all,
My goal is to distribute the inventory of items in the months from the start date according to the velocity (From column Jun.24 to column Nov.24).
For example:
If I have 60 items in stock and their sales velocity is 3 and the start sales date is Sep.24, the formula should allocate 20 items in the months from Sep to Nov.
If the start sales date is less than or equal to the item, it can be allocated in the month.

Which excel formula will work in this case?

Base Month= jun/2024

Any help will be appreciated

ItemPriceStockStart DateVelocityjun/2024jul/2024ago/2024sep/2024oct/2024nov/24
Pen2,2510jan/2024110
Pencil1,8020mar/202421010
Eraser0,8530jun/202421515
Notebook4,3060sep/20243202020
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Are the start dates and month headers actual dates? If so, it's something like (assuming sep/2024 is column I and Notebook is row 5)
Excel Formula:
I5:  =(I$1>EOMONTH($D5,-1))*(I$1<=EOMONTH($D5, $E5-1)) * ($C5/$E5)
 
Upvote 0
Are the start dates and month headers actual dates? If so, it's something like (assuming sep/2024 is column I and Notebook is row 5)
Excel Formula:
I5:  =(I$1>EOMONTH($D5,-1))*(I$1<=EOMONTH($D5, $E5-1)) * ($C5/$E5)
Yes, Start Dates and Month Headers are actual dates.
 
Upvote 0
A minor adjustment is needed to the formula above to account for the start dates before June 2024.
Book1
ABCDEFGHIJK
1ItemPriceStockStart DateVelocity6/1/20247/1/20248/1/20249/1/202410/1/202411/24/2024
2Pen2,25101/1/202411000000
3Pencil1,80203/1/2024210100000
4Eraser0,85306/1/2024215150000
5Notebook4,30609/1/20243000202020
Sheet3
Cell Formulas
RangeFormula
F2:K5F2=(F$1>EOMONTH(MAX($D2,$F$1),-1))*(F$1<=EOMONTH(MAX($D2,$F$1), $E2-1)) * ($C2/$E2)
 
Upvote 0
Solution
Yes, Start Dates and Month Headers are actual dates.
Are the start dates and month headers actual dates? If so, it's something like (assuming sep/2024 is column I and Notebook is row 5)
Excel Formula:
I5:  =(I$1>EOMONTH($D5,-1))*(I$1<=EOMONTH($D5, $E5-1)) * ($C5/$E5)
Here is the print of spreadsheet.
The provided formula is partially working.
In cell F2 it should be showing the result of 10, just as cells F3 and G3 should show the result of 12.
 

Attachments

  • Capturar.PNG
    Capturar.PNG
    12 KB · Views: 14
Upvote 0
My solution did not take the base month into consideration, but I think Cubist's suggestion addresses this.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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