Inventory Control Formula

Bedford

Active Member
Joined
Feb 3, 2015
Messages
316
Office Version
  1. 365
Platform
  1. MacOS
At an attempt to create a inventory control sheet, we have columns “Qty IN” and “Qty OUT”, user enters the quantities as they apply to the task, date, time, name are collected.

Problem, each time a product code is removed from inventory, and there are hundreds of product codes, how can we have a formula that tally’s in real time the balance of stock on any particular product code? Is it a combination SUM, VLOOKUP, INDEX formula, and what would that look like in the "Qty In Stock" column?

Help please.

Check_in.xlsx
ABCDEFGHIJK
8DescriptionPart#Date INTime INQty INDate OUTTime OUTQty OUTChecked in ByChecked out ByQty in Stock
9FoldawayMXMX2-1050x2000-WFebruary 8, 202212:00:00 PM10February 8, 202212:57:00 PMDoug10
10FoldawayMXMX2-1050x2000-WFebruary 10, 20226:56:00 AMFebruary 10, 20226:56:00 AM1Doug-1
Sheet1
Cell Formulas
RangeFormula
K9:K10K9=SUM(IFERROR([@[Qty IN]]-[@[Qty OUT]],""))
Cells with Data Validation
CellAllowCriteria
A9:A41List='Dependent Drop-down DATA'!$A$1:$AL$1
B9:B41List=INDIRECT($A9)
I9:J10List=Name
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
In your example, there is only one product code. I am assuming that you have more than one in the same table. In that case you have the right idea in K but need

Excel Formula:
=SUMIFS([Qty IN],[Part'#],[@[Part'#]])-SUMIFS([Qty OUT],[Part'#],[@[Part'#]])
 
Upvote 0
Solution
In your example, there is only one product code. I am assuming that you have more than one in the same table. In that case you have the right idea in K but need

Excel Formula:
=SUMIFS([Qty IN],[Part'#],[@[Part'#]])-SUMIFS([Qty OUT],[Part'#],[@[Part'#]])
Jeff, you nailed it, awesome! Can't thank you enough.
Doug.
 
Upvote 0

Forum statistics

Threads
1,215,014
Messages
6,122,697
Members
449,092
Latest member
snoom82

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