+ Reply to Thread
Results 1 to 4 of 4

Assembly Barcode for Inventory, how to get multiple part numbers from 1 assembly number

  1. #1
    Registered User
    Join Date
    08-30-2019
    Location
    NV, USA
    MS-Off Ver
    2016
    Posts
    5

    Assembly Barcode for Inventory, how to get multiple part numbers from 1 assembly number

    Hi,

    I'm using Excel for a simple inventory system using a few different tables with the =SUMIFS command. The main table has the item numbers, descriptions, and initial inventory quantities. I then have a table to remove from stock, where I scan the item number (by QR code) and enter the quantity to take away from stock; every QR code I scan goes to the next row. Back at the original table, I use =SUMIFS to subtract the appropriate quantities from the initial quantities to give me the "Current Quantity" for an item. Similar system for an "Add to Stock" table. I hope that makes some sense

    Some assemblies we sell are made from 20+ items. I'd like to scan one "assembly number", and have it automatically populate all of the item numbers in the following rows for that assembly.

    If it's relevant, I'm using the Scan-IT to Office app.

    I could have the QR code have a comma delimited list of item numbers, but I would need a macro to constantly search for, and split, comma delimited lists into separate rows.

    Many thanks in advance!
    Last edited by ldavis89; 09-18-2019 at 06:47 PM.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Assembly Barcode for Inventory, how to get multiple part numbers from 1 assembly numbe

    Really, you're using the wrong tool. Excel is a calculator, what you're trying to create is a database - that's what Access is for. Do you know how to use Access?

  3. #3
    Registered User
    Join Date
    08-30-2019
    Location
    NV, USA
    MS-Off Ver
    2016
    Posts
    5

    Re: Assembly Barcode for Inventory, how to get multiple part numbers from 1 assembly numbe

    Kyle,

    Thanks for the tip, I will have to look into Access.

    At this point, I'm so close to getting what I need from Excel, I'm going to try to shoehorn it to fit.

    I was able to find VBA code that does what I need (searches for and splits comma delimited text), except I'd like it to run every time I scan an item. Currently, it only works when I manually run the code.

    Here's the code:

    Please Login or Register  to view this content.
    All credit to trincot at stack overflow: "how-to-split-cells-containing-multiple-values-comma-delimited-into-separate-ro"

    My apologies if this is in the wrong section now, and thanks in advance for any feedback!

  4. #4
    Registered User
    Join Date
    08-30-2019
    Location
    NV, USA
    MS-Off Ver
    2016
    Posts
    5

    Re: Assembly Barcode for Inventory, how to get multiple part numbers from 1 assembly numbe

    I was able to get what I needed from the code above by adding the following after the loop:

    Please Login or Register  to view this content.
    Then on my Remove/Add to Stock sheets, I setup a Worksheet - SelectionChange code to Call Splt()

    My assembly QR codes are just a comma delimited list, and the "Range . . ." code after the loop is a simple (probably inefficient) way to prevent anyone from editing previously entered data.

    Any critiques are welcome, I'm sure there's a better way to do this.

+ 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] Assembly Cost
    By conwaythibodeaux in forum Excel - New Users/Basics
    Replies: 14
    Last Post: 09-19-2017, 04:33 PM
  2. assembly, parts, stock - (BOM / inventory/mrp) help
    By sanj3d in forum Excel General
    Replies: 3
    Last Post: 01-08-2015, 11:30 PM
  3. Assembly line schedual
    By Journeyman3000 in forum Excel General
    Replies: 2
    Last Post: 01-05-2014, 08:09 PM
  4. Inventory assembly macro help
    By crash884 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2013, 10:12 PM
  5. Difficulty with Matrix Assembly
    By Water Doc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-16-2012, 05:51 PM
  6. production assembly line
    By rrlan77 in forum Excel General
    Replies: 0
    Last Post: 07-01-2012, 11:15 PM
  7. Conditional assembly
    By andrugrasu in forum Excel General
    Replies: 2
    Last Post: 11-11-2011, 07:17 AM

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