Rolling In-Out Inventory by Date (Lookup and Sum)

JohnHG

New Member
Joined
Mar 15, 2018
Messages
1
Greetings!

I'm trying to create a rolling inventory for a series of products in a table that can be expanded indefinitely.

Along the Y-axis are two groupings, products created and products sold. These are the only two ways products come and go. Within each grouping are a few empty cells, each one with a drop-down enabling the product that is created or sold to be selected.

The next cell to the right is the quantity, reflecting either the number created or sold for that day.

Along the X axis is the date (two cells wide).

I'm trying to create a rolling inventory that finds all the instances of a given product name, and sums all of the instances immediately to the cell's right. It will then subtract all the instances likewise found and summed from the "sold" array. It needs to do this for the entire sheet length, so that dates can be added onto the sheet indefinitely. The relevant table is on the second page of the sheet.
kPDcaH


You can view screenshots of page one and two here:

https://ibb.co/f75qvH
https://ibb.co/n5dX9c
 
Last edited by a moderator:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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