How to reduce inventory from the same SKU

Arthur23

New Member
Joined
Aug 4, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi, I've been having problems trying to find the correct formulas on an excel file of inventory and sale order data.

I want to be able to fullfill orders FIFO, by ship date. Inventory needs to be allocated to sales orders with the earliest ship date first.
In case there are sales orders on the same date, I want to allocate inventory to the largest orders first

The problem I have is that if there are orders on the same date with the same SKU I want to be able to reduce the inventory quantity from the highest sales order to the lowest automatically using formulas so I have the current inventory stock after substracting all the orders starting from the highest to the lowest.

Not sure which formula to use

freecompress-Inventory.jpg



Many thanks in advance
 

Attachments

  • freecompress-Inventory.jpg
    freecompress-Inventory.jpg
    92.3 KB · Views: 4

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Inventory management is not a trivial task and formulas are not the tool for the job.
Reserved quantities must be removed from the inventory, delivered must be added., A running sum is not the way to go in the long term. Especially if you want to implement FIFO.
And for this you will need something more than just an SKU like a Lot or a Batch Number with delivery date. FIFO should not care about order size - just order of appearance.
For things to be complete - you will need delivery cost and sales price ...
Basically a major project on its own. And a certain amount of code will have to be written to do the job.
Maybe think it carefully through a bit more and rephrase what you're trying to achieve.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

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