+ Reply to Thread
Results 1 to 11 of 11

Inventory tracking - vlookup with subtraction from running total

  1. #1
    Registered User
    Join Date
    01-27-2017
    Location
    London, England
    MS-Off Ver
    MS2007
    Posts
    6

    Inventory tracking - vlookup with subtraction from running total

    Hello,

    I hope I can explain this clearly enough to get a little help. I've tried looking for an answer by haven't found anything that quite works.

    The Problem:

    We receive orders from our customers that have the same SKU on multiple PO's (purchase orders). We need to move the inventory from its current location to the DOCK from 4 other locations. The inventory does not go directly to the DOCK. It usually has to pass through 2 or more locations to get processed. so for example SKU0001 starts in LOC2, moves to LOC3 and then gets moved to the DOCK.

    What I need:

    I have 3 different orders (PO's) that need SKU0001:
    PO9999 need 25 units of SKU0001
    PO8888 need 10 units of SKU0001
    PO7777 need 50 units of SKU0001

    I have a grand total of 100 units of SKU0001 in stock, plenty to fulfill the order. The location of the inventory is as follows:
    30 units of SKU0001 in LOC1
    10 units of SKU0001 in LOC2
    20 units of SKU0001 in LOC3
    15 units of SKU0001 in LOC4
    25 units of SKU0001 in DOCK

    I need to be able to determine how many units of SKU0001 have been moved to the DOCK, how many units are in either LOC1, LOC2, LOC3 and LOC4 and how many units are missing to fulfill the order. As I mentioned SKU0001 will appear on the orders tab multiple times as it will be on multiple PO's, so I also need to be able to subtract the number that have been moved to the DOCK from the running total so the next instance of SKU0001 on the list has an accurate location count for the 5 locations listed above.

    Right now we are having to manually enter the numbers based on the locations of the inventory, with a few SKU it's not a problem, bu we usually have about 500 SKU and with multiple updates required through the day, it can be very time consuming to update the data.

    Any help would be greatly appreciated.
    Attached Files Attached Files
    Last edited by jimslim66; 03-31-2018 at 01:07 PM. Reason: removed table description a

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,227

    Re: Inventory tracking - vlookup with subtraction from running total

    It would help if you added manually results for a few SKUs.

    You may need VBA as we have alter LOCn columns in both shehets

  3. #3
    Registered User
    Join Date
    01-27-2017
    Location
    London, England
    MS-Off Ver
    MS2007
    Posts
    6

    Re: Inventory tracking - vlookup with subtraction from running total

    Quote Originally Posted by JohnTopley View Post
    It would help if you added manually results for a few SKUs.

    You may need VBA as we have alter LOCn columns in both shehets
    The reason I left the blanks on the order tab is that's where the formula needs to be entered. adding manual data may lead to confusion as to what I'm trying to attempt.

    Thanks for looking....

  4. #4
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Inventory tracking - vlookup with subtraction from running total

    Dear Jim, Can you mentioned manually required result in respective cells. Its more helpful to know what you required.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,227

    Re: Inventory tracking - vlookup with subtraction from running total

    Sorry but no having manual results is not helpful: if you cannot explain using manual results then how are we to understand.?

    Do we first remove inventory from LOC1 or LOC5: if LOC5 is empty is inventory them moved for LOC1:LOC4 to LOC2 to LOC5????

  6. #6
    Registered User
    Join Date
    01-27-2017
    Location
    London, England
    MS-Off Ver
    MS2007
    Posts
    6

    Re: Inventory tracking - vlookup with subtraction from running total

    Quote Originally Posted by avk View Post
    Dear Jim, Can you mentioned manually required result in respective cells. Its more helpful to know what you required.
    Ok, I have tried my best to add examples to show what kind of results I would be looking for. I hope this helps.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,227

    Re: Inventory tracking - vlookup with subtraction from running total

    Your "results" tab bears absolutely no relationship to the "Orders" and "Inventory QTY by LOC" tabs so is of no help whatsoever.

    For example, when we have met the first order (Line 1) what are value(s) in LOC1 to LOC5 and DOCK of the "Order" tab AND what are the new [updated]values in the "Inventory " tab ???

  8. #8
    Registered User
    Join Date
    01-27-2017
    Location
    London, England
    MS-Off Ver
    MS2007
    Posts
    6

    Re: Inventory tracking - vlookup with subtraction from running total

    Quote Originally Posted by JohnTopley View Post
    Sorry but no having manual results is not helpful: if you cannot explain using manual results then how are we to understand.?

    Do we first remove inventory from LOC1 or LOC5: if LOC5 is empty is inventory them moved for LOC1:LOC4 to LOC2 to LOC5????
    Sorry john, it's really difficult to explain exactly what I need. LOC1 through LOC4 are basically a snapshot of the inventory, as the inventory is moved the report will be updated by a built in SQL query which refreshes itself.

    I'll try again with the explanation:

    I have 3 different orders (PO's) that need SKU0001:
    PO9999 need 25 units of SKU0001
    PO8888 need 10 units of SKU0001
    PO7777 need 50 units of SKU0001

    I have a grand total of 100 units of SKU0001 in stock, plenty to fulfill the order. The location of the inventory is as follows:
    30 units of SKU0001 in LOC1
    10 units of SKU0001 in LOC2
    20 units of SKU0001 in LOC3
    15 units of SKU0001 in LOC4
    25 units of SKU0001 in DOCK

    on the excel file it will report that PO9999 has the following inventory
    30 units of SKU0001 in LOC1
    10 units of SKU0001 in LOC2
    20 units of SKU0001 in LOC3
    15 units of SKU0001 in LOC4
    25 units of SKU0001 in DOCK

    on the excel file it will report that PO8888 has the following inventory
    30 units of SKU0001 in LOC1
    10 units of SKU0001 in LOC2
    20 units of SKU0001 in LOC3
    15 units of SKU0001 in LOC4
    0 units of SKU0001 in DOCK (because 25 units have been allocated to PO9999)

    on the excel file it will report that PO8888 has the following inventory
    30 units of SKU0001 in LOC1
    10 units of SKU0001 in LOC2
    20 units of SKU0001 in LOC3
    15 units of SKU0001 in LOC4
    0 units of SKU0001 in DOCK (because 25 units have been allocated to PO9999, so 10 units are missing - not available on DOCK)

    on the excel file it will report that PO8888 has the following inventory
    30 units of SKU0001 in LOC1
    10 units of SKU0001 in LOC2
    20 units of SKU0001 in LOC3
    15 units of SKU0001 in LOC4
    0 units of SKU0001 in DOCK (because 25 units have been allocated to PO9999, so 50 units are missing - not available on DOCK)

    so basically we are not really worried about subtracting the inventory from LOC1 thru LOC4 (I can do a vlookup for what is available in those locations), I'm more focused on what has been moved to DOCK and how much of that is allocated to the PO's with the same SKU

    I did add an updated file to the post ablove that has some example data filled out.

  9. #9
    Registered User
    Join Date
    01-27-2017
    Location
    London, England
    MS-Off Ver
    MS2007
    Posts
    6

    Re: Inventory tracking - vlookup with subtraction from running total

    Quote Originally Posted by JohnTopley View Post
    Your "results" tab bears absolutely no relationship to the "Orders" and "Inventory QTY by LOC" tabs so is of no help whatsoever.

    For example, when we have met the first order (Line 1) what are value(s) in LOC1 to LOC5 and DOCK of the "Order" tab AND what are the new [updated]values in the "Inventory " tab ???
    Sorry i was trying to be quick, I will update with actual data.

  10. #10
    Registered User
    Join Date
    01-27-2017
    Location
    London, England
    MS-Off Ver
    MS2007
    Posts
    6

    Re: Inventory tracking - vlookup with subtraction from running total

    Quote Originally Posted by jimslim66 View Post
    Sorry i was trying to be quick, I will update with actual data.
    File updated with actual data from the other tabs

  11. #11
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Inventory tracking - vlookup with subtraction from running total

    i'd do it with a table and a kind of pivot

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Formula/VLookup to calculate Running total of Master Inventory Sheet
    By jgarcia79 in forum Excel General
    Replies: 7
    Last Post: 07-28-2016, 12:05 AM
  2. running total formula for inventory
    By crusher949 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-02-2013, 02:02 AM
  3. VLookup and Subtraction for Inventory
    By michael.pietrafesa in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-13-2012, 08:44 AM
  4. Inventory - Running Total Formula
    By rivertech233 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-14-2012, 12:30 AM
  5. Excel 2007 : Sumif - inventory/running total
    By CaliberChris in forum Excel General
    Replies: 2
    Last Post: 09-28-2011, 02:10 PM
  6. running total formula for inventory
    By trace1287 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-06-2009, 06:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1