+ Reply to Thread
Results 1 to 14 of 14

NEED Help ! Scanning Barcode to check against existing database.

  1. #1
    Registered User
    Join Date
    05-20-2021
    Location
    Mississauga
    MS-Off Ver
    2016
    Posts
    27

    Wink NEED Help ! Scanning Barcode to check against existing database.

    Hello Friends, New here and in need of assistance.

    I am recently facing a problem where I need to confirm the number of items received against supplier provided document. To make it clear, I have a excel sheet containing 10 barcodes for 10 boxes. I want to program my Excel file in such a way that once I scan a box, it will directly compare it with any of the 10-existing bar code, to check if the barcode match's (then turn that barcode green) or not (turn that barcode red maybe). In case that there are only 8 boxes scanned and 10 barcodes exist in excel file, I want to set up a trigger which will inform me that only 8 boxes were scanned/checked or that 2 barcodes/box are not scanned.

    Also can the Trigger send an email or notification ? - I don't know much about this stuff.

    Any formulas, VBA, or macros or any other ideas and suggestions are welcomed and much appreciated. Let me know if this makes sense or you need more information.
    Last edited by General_Gin; 05-25-2021 at 03:32 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,872

    Re: NEED Help ! Scanning Barcode to check against existing database and notify if Needed.

    crosspost: https://www.mrexcel.com/board/thread...eeded.1171562/

    Rule 03: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: NEED Help ! Scanning Barcode to check against existing database and notify if Needed.

    Take a look at this post, i helped them with scanned item lookup.

    https://www.excelforum.com/excel-for...inventory.html

    Also if you can provide a sample file others can assist or chime in..
    Read the above yellow banner
    If you find the suggestion or solution helpful, please consider adding reputation to the post.

  4. #4
    Registered User
    Join Date
    05-20-2021
    Location
    Mississauga
    MS-Off Ver
    2016
    Posts
    27

    Re: NEED Help ! Scanning Barcode to check against existing database and notify if Needed.

    Thank you for letting me know I did not know this. Will make sure to follow this next time.

  5. #5
    Registered User
    Join Date
    05-20-2021
    Location
    Mississauga
    MS-Off Ver
    2016
    Posts
    27

    Re: NEED Help ! Scanning Barcode to check against existing database and notify if Needed.

    I will check this out and post the sample file as soon as I can get my data sorted.

  6. #6
    Registered User
    Join Date
    05-20-2021
    Location
    Mississauga
    MS-Off Ver
    2016
    Posts
    27

    Red face Re: NEED Help ! Scanning Barcode to check against existing database

    This is what I tried based on what I understood. Attached is my sample file. All the Sheets in the excel file can be independent files in real life I just need to work out the formula. I don't know what I am doing wrong with VLOOKUP , And if you have better solution I am open to try it . But this is the gist of what i am trying to do. If value of scanned barcode matches the barcode in system then the result is shown in green otherwise in red.
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: NEED Help ! Scanning Barcode to check against existing database.

    Can you explain how you are using your attached spreadsheet?

    Cause the formula is realtime, so if you scan an item, it can look up and return whether it was found or not, but as soon as you scan the next one, that last item status wont be there.. because its based on what you scanned..

    NOW if you have it setup to store the scanned items as you scan them and place them into that "scanned barcode" tab, then you can use that as you are for a status column in your "Master List - Comparision"

    If thats how you are planning or currently have it setup, then you can use what you have or maybe use index match on your Master List - Comparision sheet.

  8. #8
    Registered User
    Join Date
    05-20-2021
    Location
    Mississauga
    MS-Off Ver
    2016
    Posts
    27

    Wink Re: NEED Help ! Scanning Barcode to check against existing database.

    It is as you have said. I need to store the value. I use this for receiving process and I need to check weather the number of boxes mentioned by supplier in document actually matches the number of boxes i unload from container. Therefore, I need to store the values with respective codes to look at it at later point to understand which box i did not get. I will use index and match functions ad post another excel file weather i solve it or not. Thanks for help though.

  9. #9
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: NEED Help ! Scanning Barcode to check against existing database.

    I can help, just trying to better understand the file you provided and how you are logically processing the boxes to better help.

    So is this correct for each of the sheets?

    #1 = Document generated barcodes this is list provided by the supplier?
    #2 = Scanned barcode this is your check-in list as you scan the boxes, they are captured and logged here?
    #3 = Master List - Comparision this is where you need to identify if any of the items you scanned exist and if so, highlight them?

    So an example, you receive your boxes today, you go thru and scan say 12 boxes, as you scan each box, they are logged/stored in the "Scanned Barcode" sheet. Once you are done scanning you flip over to the Master list sheet and review if anything is missing.. BUT how is your master list maintained / updated.. Is it also adding the scanned items to the master so that all you have to do is apply the formula down the column? (all of which can be done with a macro)

  10. #10
    Registered User
    Join Date
    05-20-2021
    Location
    Mississauga
    MS-Off Ver
    2016
    Posts
    27

    Wink Re: NEED Help ! Scanning Barcode to check against existing database.

    It is as you have correctly mentioned, the three sheets purpose is exactly what you described them to be but the Document generated barcodes (#1)/Master list is not obtained directly from supplier nor is it scanned. It is taken from purchase documents provided by supplier through ERP like system. The Document generated barcodes (#1) is updated from system itself.

    I believe my previous Excel file sheet names were a bit confusing so I will attach an updated version, same file different names, hope these names are more appropriate. Also file is not working, I might be messing up the formula, please look at them and let me know what I am doing wrong.

    New names -
    #1 - System Generated Barcodes - Obtain list of barcodes from system (Master-list of barcodes)
    #2 - Scanned Barcodes - Box Barcodes scanned while boxes are unloaded (store them)
    #3 - Inventory Checking - Compare the scanned barcode list to master list to match the inventory/Boxes and highlight them to see if any particular box is missing or not.

    So taking your example (also in excel file) - if supplier sent document saying 12 boxes are shipped and only 9 were scanned(received in reality), then in #3 (Inventory Checking) - 9 rows under received column should be green while three missing boxes should be highlighted in red. So I can see and know exactly which three boxes are missing.

    At the end I will try to make a macro for the same so I can repeat it for different things or same thing but different files. (Am I wrong? )

    Also I would like to thank you for all the help you have given till now.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    05-20-2021
    Location
    Mississauga
    MS-Off Ver
    2016
    Posts
    27

    Red face Re: NEED Help ! Scanning Barcode to check against existing database.

    An Update - I got the file working by using the Index & Match properly, but now I face the following issues in sheet 3:

    Sheets names
    #1 - System Generated Barcodes
    #2 - Scanned Barcodes
    #3 - Inventory Checking

    Issue 1> If the scanned value is wrong or missing in sheet #2 - The Scanned Barcode (column 2) of #3 shows "#N/A" - I wrote formulas in their respective rows.
    Issue 2> Since the Scanned Barcode (column 2) shows "#N/A" - the Received items (column 3) does not work properly.

    Kindly let me know if my formula is wrong or the logic is wrong.
    Attached Files Attached Files

  12. #12
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: NEED Help ! Scanning Barcode to check against existing database.

    In this case #N/A is the returned value for no matches... Do you want it to return something else?

    I updated the formula and works now.. take a look at the attached.
    Last edited by cubangt; 05-26-2021 at 10:06 AM.

  13. #13
    Registered User
    Join Date
    05-20-2021
    Location
    Mississauga
    MS-Off Ver
    2016
    Posts
    27

    Wink Re: NEED Help ! Scanning Barcode to check against existing database.

    No, I do not need to return any value, this formulation is perfect. Thanks cubangt. I realized one more problem that I will face but for that I will open another thread if needed. It can be considered to be extension to this problem that I didn't realize at first. But once again thanks for your help with this. The file works perfectly.

  14. #14
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: NEED Help ! Scanning Barcode to check against existing database.

    No problem, ill look out for the other post/thread

+ 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. making a database of products by scanning a barcode
    By jrchunks21 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2020, 05:03 PM
  2. Inventory Barcode scanning
    By Vespasky in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-25-2020, 01:58 AM
  3. barcode scanning
    By mojobaabby in forum Excel General
    Replies: 12
    Last Post: 02-01-2017, 04:19 PM
  4. Barcode scanning help
    By abirup in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2016, 04:36 AM
  5. Barcode scanning
    By abirup in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-15-2016, 08:39 AM
  6. VBA barcode scanning
    By JoboM in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-28-2015, 02:30 AM
  7. [SOLVED] Check barcode scanning
    By intex in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-25-2015, 02:23 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