How to keep data cell count info after clearing cells

vansworld

New Member
Joined
Jun 14, 2023
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
Hello,

I am seeking help to continuously track the count of active inventory supply. Currently, a barcode is scanned and it updates a few different tabs with the count of the scan entry. However, I would like to be able to the list where the actual scan takes place without removing the previously scanned and tracked count.

For instance, If I scan 4 SKUs of "COKE-DRIN-CASE-1" it will update the QOH (quantity on hand) and QTY needed columns on the "LIVE Inventory list" tab, the scan will then be added to the list on "Barcode Log Page" as well, and then theres a refreshable pivot built from the "Barcode Log Page" that just tracks the unique scans by SKU.

If I clear out the scans from the "Barcode Scan" page, it will update all the data on the mentioned tabs above.

I am trying to retain the data counts on the above mentioned tabs and be able to clear out the Barcode Scan page; other wise the sheet will get really long. Is this possible?

I am probably intermediate in my excel skills and i'm also using a mac.

Thank you for any advice or help.


BFM Inventory.xlsx
ABCDEFGHI
1INDEXITEMSKU INFOCATEGORYUOMQOHQTY NEEDMIN(UOM)MAX(UOM)
21CokeCOKE-DRIN-CASE-1DrinkCase37210
32SpriteSPRI-DRIN-CASE-1DrinkCase37210
43WaterWATE-DRIN-CASE-1DrinkCase37210
54LemonadeLEMO-DRIN-HFGL-1Drinkhfgl19110
65STR LemonadeSTRL-DRIN-HFGL-1Drinkhfgl19110
76PeachPEAC-DRIN-HFGL-1Drinkhfgl28110
87BlueberryBLUE-DRIN-HFGL-1Drinkhfgl19110
98BaconBACO-MEAT-POUN-1MeatPound19310
109CatfishCATF-MEAT-POUN-1MeatPound191510
1110ChickenCHIC-MEAT-POUN-1MeatPound191010
1211Crab MeatCRAB-MEAT-CAN-1MeatCan28410
1312LambLAMB-MEAT-POUN-1MeatPound281510
1413LobsterLOBS-MEAT-POUN-1MeatPound281010
1514CrawfishCRAW-MEAT-PACK-1MeatPack19510
1615SalmonSALM-MEAT-POUN-1MeatPound192510
1716Shrimp (T-On)STON-MEAT-POUN-1MeatPound281010
1817Shrimp (T-Off)STOF-MEAT-POUN-1MeatPound281010
1919Vegetable OilVEGE-DRYS-GALL-1Dry StorageGallon19210
2020Artesano BunsARTE-DRYS-PACK-1Dry StoragePack19310
2121BagsBAGS-DRYS-BOX-1Dry StorageBox19510
2222BowlsBOWL-DRYS-BOX-1Dry StorageBox19510
2323CutleryCUTL-DRYS-BOX-1Dry StorageBox19510
2424Fish FryFISH-DRYS-BAG-1Dry StorageBag28510
2525FlourFLOU-DRYS-POUN-1Dry StoragePound462010
2626FoilFOIL-DRYS-ROLL-1Dry StorageRoll28210
2727Hawaiian RollsHAWA-DRYS-PACK-1Dry StoragePack371010
2828HoneyHONE-DRYS-BOTT-1Dry StorageBottle37210
2929Honey GoldHONG-DRYS-BOTT-1Dry StorageBottle64210
3030Hot Sauce PacketsHOTS-DRYS-BOX-1Dry StorageBox28110
3131KetchupKETC-DRYS-BOX-1Dry StorageBox28110
LIVE Inventory List
Cell Formulas
RangeFormula
F2:F31F2=COUNTIF('Barcode Scan'!K:K,'LIVE Inventory List'!C2)
G2:G31G2=I2-F2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:I91Expression=$F2<=$H2textNO
A2:I91Expression=AND($F2>=$H2,$F2<=$G2)textNO
A2:I91Expression=$F2>=$I2textNO
A2:I91Expression=$F2>$G2textNO


BFM Inventory.xlsx
K
1SCAN BARCODE BELOW
2COKE-DRIN-CASE-1
3SPRI-DRIN-CASE-1
4WATE-DRIN-CASE-1
5LEMO-DRIN-HFGL-1
6STRL-DRIN-HFGL-1
7PEAC-DRIN-HFGL-1
8BLUE-DRIN-HFGL-1
9BACO-MEAT-POUN-1
10CATF-MEAT-POUN-1
11CHIC-MEAT-POUN-1
12CRAB-MEAT-CAN-1
13COKE-DRIN-CASE-1
14SPRI-DRIN-CASE-1
15WATE-DRIN-CASE-1
16SPRI-DRIN-CASE-1
17COKE-DRIN-CASE-1
18WATE-DRIN-CASE-1
19PEAC-DRIN-HFGL-1
20CRAB-MEAT-CAN-1
21FISH-DRYS-BAG-1
22FLOU-DRYS-POUN-1
Barcode Scan


Cell Formulas
RangeFormula
A2:A4,A6:A22A2='Barcode Scan'!K2
B2:B22B2=COUNTIF('STATIC Inventory List'!C:C,'Barcode Scan'!K:K)
A5A5='Barcode Scan'!K6
Named Ranges
NameRefers ToCells
SKUS='STATIC Inventory List'!$C$2:$C$91B2:B22


BFM Inventory.xlsx
AB
3Row LabelsSum of SCAN QUANTITY
400
5BACO-MEAT-POUN-11
6BLUE-DRIN-HFGL-11
7CATF-MEAT-POUN-11
8CHIC-MEAT-POUN-11
9COKE-DRIN-CASE-13
10CRAB-MEAT-CAN-12
11FISH-DRYS-BAG-12
12FLOU-DRYS-POUN-14
13FOIL-DRYS-ROLL-12
14HAWA-DRYS-PACK-13
15HONE-DRYS-BOTT-13
16HONG-DRYS-BOTT-16
17HOTS-DRYS-BOX-12
18KETC-DRYS-BOX-12
19MOIS-DRYS-BOX-12
20NAPK-DRYS-BOX-12
21PEAC-DRIN-HFGL-12
22PLAT-DRYS-CASE-12
23SPRI-DRIN-CASE-13
24STRL-DRIN-HFGL-12
25WATE-DRIN-CASE-13
26LAMB-MEAT-POUN-12
27LOBS-MEAT-POUN-12
28CRAW-MEAT-PACK-11
29SALM-MEAT-POUN-11
30STON-MEAT-POUN-12
31STOF-MEAT-POUN-12
32ARTE-DRYS-PACK-11
33VEGE-DRYS-GALL-11
34BAGS-DRYS-BOX-11
35CUTL-DRYS-BOX-11
36BOWL-DRYS-BOX-11
37Grand Total64
Pivot Counter
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Do you record stock as it comes in and stock as it goes out?

If so then the QOH should be the difference between the opening stock figure plus stock in minus stock out.

The count of active inventory supply should not be used to maintain accurate stock availability figures but a means of
checking that the figures that are being maintained, using the method described earlier, is working and whether or not stock figures
are being altered (increased or reduced) in other ways e.g. pilfering, unrecorded returns.

If you record activity, stock in and stock out, then you will then be able to calculate what your stock figure was on any particular day.

Worksheets do get really long which is one of the reasons why databases are used for this type of application.

Don't use wanting to keep worksheets small as a reason for doing things in a particular way.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,812
Messages
6,181,104
Members
453,021
Latest member
Justyna P

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