+ Reply to Thread
Results 1 to 13 of 13

Cannot total inventory across multiple worksheets.

  1. #1
    Registered User
    Join Date
    05-13-2017
    Location
    Bozeman, Montana
    MS-Off Ver
    2016
    Posts
    14

    Cannot total inventory across multiple worksheets.

    Hello, I am a excel newbie trying to learn the system. I am creating a master inventory worksheet for medical supplies. The goal of this worksheet will be inventorying what we have, and what we need in order to order a resupply. The Workbook will be multiple worksheets within the same workbook, and each sheet will represent a single storage container that will have a bunch of different items. At the end of the workbook, I want to create a master sheet that contains the totals from the previous pages, in essence, the item (including its identifier code or skew), the total in stock, and the amount that we should have in stock. There are two problems that I keep running into. First, the same item may be found in different boxes, for example bandages may be both in worksheet 1 and worksheet 4, and they need to be totaled together at the end. Secondly, the order of items in the box can change depending if I have them ordered by name or by identifier code. I want to be able to sort through my list without it messing up the inventory at the end.
    Any help would be appreciated, keep in mind I'm pretty new to this so I get lost about as easy as a 5 year old.

  2. #2
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Cannot total inventory across multiple worksheets.

    Can you attach a sample workbook with couple of sample sheets and a summary sheet where you want to total up inventory?
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  3. #3
    Registered User
    Join Date
    05-13-2017
    Location
    Bozeman, Montana
    MS-Off Ver
    2016
    Posts
    14

    Re: Cannot total inventory across multiple worksheets.

    Here is a started workbook. I have the total number of pages that I need, including a page for large items,
    and a last page for total inventory. There are 5-6
    pages with some items filled in.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Cannot total inventory across multiple worksheets.

    See attached workbook.
    The Macro will execute when you click the Update button.
    It will look at each item in the A column of Total Supply Inventory and search for that item in each of the 20 Box sheets.
    It will copy cells B:D and add quantities in columns E and F.

    Let me know if this does what you want.

    Here's the macro.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-13-2017
    Location
    Bozeman, Montana
    MS-Off Ver
    2016
    Posts
    14

    Re: Cannot total inventory across multiple worksheets.

    This is pretty much perfect, I am going to spend sometime trying to learn from your macro. The only problem I am bumping into is it isn't totaling all the sheets, there were a few items in the last box (#19) that did not make it on the totals sheet at the end, and I'm not sure why. Thanks so much!

  6. #6
    Registered User
    Join Date
    05-13-2017
    Location
    Bozeman, Montana
    MS-Off Ver
    2016
    Posts
    14

    Re: Cannot total inventory across multiple worksheets.

    This is pretty much perfect, I am going to spend sometime trying to learn from your macro. The only problem I am bumping into is it isn't totaling all the sheets, There were a few items in the last box (#19) that did not make it on the totals sheet at the end, and I'm not sure why. Thanks so much!

  7. #7
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Cannot total inventory across multiple worksheets.

    Maybe I didn't understand the requirements.
    The way I wrote the macro, it looks at all the items listed on Total Supply Inventory and looks for them on other sheets.
    The items you mentioned [Box 19] were not listed on the Total Supply Inventory sheet.

    I am not sure how you intend to use this file.
    Are you going to add new items to individual Box sheets and expect the Total sheet to find the new items?

    Can you not have a master list of all items listed on the Total sheet?

  8. #8
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Cannot total inventory across multiple worksheets.

    Ok, I modified the macro, so now it will find all items from the Box sheets and list all unique items in column A.
    Then it will update all the items as before.

    Let me know if this works for you.
    Macros Used.

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    05-13-2017
    Location
    Bozeman, Montana
    MS-Off Ver
    2016
    Posts
    14

    Re: Cannot total inventory across multiple worksheets.

    That is amazing. Both lists will work, its just a change in pro Is there a way to draw from a masterlist when I am entering items into the individual boxes? Typically everything uses NSN numbers, so it would be nice to just punch in the NSN number and the total that we have in stock.
    Last edited by 2ndlegend; 08-09-2018 at 02:39 PM.

  10. #10
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Cannot total inventory across multiple worksheets.

    I am not clear on what your thoughts are in the last message.
    Can you give me specific example with step by step process you are thinking of?

    HTML Code: 
    Where would you punch in the MSN number? in the Box sheet?

    HTML Code: 
    Which master list?

    Please describe your process clearly, so I can help you.

  11. #11
    Registered User
    Join Date
    05-13-2017
    Location
    Bozeman, Montana
    MS-Off Ver
    2016
    Posts
    14

    Re: Cannot total inventory across multiple worksheets.

    This is separate from the original task which works perfectly.
    The goal would be to plug in the NSN number in a box, any box, and have the rest of the info fill in. So if I punch in NSN "1564-566-25-5643"
    under the first column, it will automatically fill in the component number and the item name. I would imagine that information that automatically fills in would have
    to be on a new separate master-sheet, because I don't have all the items or their component numbers available to me yet, so it would have to be something I can add to overtime.
    This would be especially helpful if it was a separate "master" workbook, because I will make multiple copies of the original inventory spreadsheet you created.
    Each of our Medical Kits has 20 boxes, however, I have at least 5 medic kits that I will be inventorying and accounting for, and although they carry many of the same items they aren't identical.

  12. #12
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Cannot total inventory across multiple worksheets.

    Ok, so when you have the master list, you can write a Vlookup formula on the box sheets in columns B and C to fill in the information.
    If you have a master list then you can also create a drop down menu in column A so user can simply select items from a list.
    I prefer using lists instead of user typing in NSN numbers. It helps avoid someone typing in incorrectly [someone might add an extra space in the middle]. Program won't be able to match the items correctly.
    If you need further help, let me know.
    If your original request has been solved, you should mark this thread "SOLVED" and create a new thread for further help.

    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

  13. #13
    Registered User
    Join Date
    05-13-2017
    Location
    Bozeman, Montana
    MS-Off Ver
    2016
    Posts
    14

    Re: Cannot total inventory across multiple worksheets.

    Copy that. I will try to work through this one on my own for a bit, just so I can learn, and hopefully help others out someday. You sir are a wizard, and I greatly appreciate the help.

+ 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. Replies: 2
    Last Post: 02-10-2018, 12:02 AM
  2. [SOLVED] Subtract multiple quantities sold from multiple worksheets from master inventory worksheet
    By grammydeb52 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-01-2013, 03:01 AM
  3. SUMPRODUCT to total dates from multiple worksheets
    By mtnovak2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2012, 10:58 AM
  4. Running total of data on multiple worksheets
    By ashncg in forum Excel General
    Replies: 1
    Last Post: 02-21-2011, 07:09 PM
  5. Total Summary of Multiple Worksheets
    By Cortlyn in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 05-26-2010, 04:10 AM
  6. subtracting from total multiple sheets (inventory) help.
    By nks1510 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-30-2005, 01:05 PM
  7. [SOLVED] Adding Data Using Multiple Worksheets to Total into a Grand Total
    By Lillie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-19-2005, 04:06 PM

Tags for this Thread

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