Get the balance based on Date Range, Product and Action Type

ellyzadg

Board Regular
Joined
May 9, 2016
Messages
75
Hi Everyone,

I would like to ask the formula to be used for me to get the updated inventory per item in a given period. Below are the expected result.

Supply - Add inventory
Consume - Deduct in the inventory

A1. This shall be based per product and o given date range
A2. New Balance - Based on the revised count based on supply & consumption


Trans No.Action TypeAction Date
Product
A1.Current Balance
(Should be in Formula)
Quantity
(Refers to the count being supplied or Consumed on a given date)

A2.New Balance
(Should be in Formula)

1Supply01/01/2022APPLE023
2Supply01/02/2022
APPLE
335
3Consume
01/04/2022
APPLE514
4Supply
01/04/2022
BANANA055
5Consume01/05/2022
BANANA
514

Supply & Consumption Summary
Date From: 1/1/2022
Date To: 1/30/2022

These dates are dynamic based on user input


ProductA3. Supplied
(formulated based on defined date range)
A4. Consumed
(formulated based on defined date range)
Balance
(A3 - A4)
APPLE514
BANANA514
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,214,947
Messages
6,122,413
Members
449,082
Latest member
tish101

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