+ Reply to Thread
Results 1 to 6 of 6

Using a barcode scanner and Excel to track lot numbers and expiration dates.

Hybrid View

  1. #1
    Registered User
    Join Date
    08-28-2013
    Location
    Cambridge, ohio
    MS-Off Ver
    Excel 2007
    Posts
    4

    Using a barcode scanner and Excel to track lot numbers and expiration dates.

    I looking for a way to scan the barcode for the product number, the lot number and Expiration date and have Excel populate columns in the spread sheet. The first problem is that the only way I can get the barcode to read in excel is to format the cell as text. The first Code 128 bar code contains the product number but the product number is in the middle of the code. For example the first barcode reads 0130382902212615
    .
    I only need the numbers in red. This would populate one column.

    The second barcode contains the Lot number and the Expiration date.

    10318334617131025300100


    The lot number is in Blue and the Epiration date is in Green. These would populate 2 other columns. I would also like to convert the date from yymmdd into something a little easier to read such as mm/dd/yy.


    I believe that the 10 and the 17 are constant dividers for these barcodes.


    Any ideas would be greatly appreciatied.

    Thanks
    Dayle

  2. #2
    Forum Contributor
    Join Date
    12-27-2012
    Location
    cebu, Philippines
    MS-Off Ver
    Excel 2016
    Posts
    210

    Re: Using a barcode scanner and Excel to track lot numbers and expiration dates.

    assuming that the number of digits on those bar codes doesn't change, you can actually solve the problem with just the left function and right function

    check this out:

    Bar Codes.xlsx
    Last edited by ag273n; 08-28-2013 at 05:55 PM. Reason: added attachment
    don't worry, there's a lot of people that are far more confused than you
    but if you liked what i suggested. Click for me the "Add Reputation" - that way, we'd be both happy.

  3. #3
    Registered User
    Join Date
    08-28-2013
    Location
    Cambridge, ohio
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Using a barcode scanner and Excel to track lot numbers and expiration dates.

    Thanks you very much. I guess I was just over thinking it.

  4. #4
    Registered User
    Join Date
    08-28-2013
    Location
    Cambridge, ohio
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Using a barcode scanner and Excel to track lot numbers and expiration dates.

    One more question.....I hope. I have built the spreadsheet and have entered the a table of product code and products on Sheet 2. I would like to populate column B by using the product number in column C to search Sheet2 and return the product name. I have tried to use the LOOKUP function but I don't have something quite right with it. I keep getting "#N/A".

    Thanks
    Dayle
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    12-27-2012
    Location
    cebu, Philippines
    MS-Off Ver
    Excel 2016
    Posts
    210

    Re: Using a barcode scanner and Excel to track lot numbers and expiration dates.

    i am uncertain why the error is showing on your formula..

    i tweaked it a bit and placed everything on sheet3 and i used Vlookup
    On the tests i did, it appears the problem is from the lookup value.. it returns that error, but when the actual barcode without the left function and right function are there, it works..

    check this out:

    Micro Product Log(1).xlsx

  6. #6
    Registered User
    Join Date
    08-28-2013
    Location
    Cambridge, ohio
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Using a barcode scanner and Excel to track lot numbers and expiration dates.

    Thanks

    I figured out that if I add another column and multiply the value in column C, that contains the left and right functions, times 1 and look up this number the Look up function works fine. I then hid column D to make the spreadsheet look cleaner. Now when I enter the first 3 products they work fine. When I try to enter the fourth set of bar codes in lines 8 and 9 I get an error stating "cannot change part of a merged cell". When I click ok it enters the information correctly. If i start entering data at lines 8 and 9 they work fine but the error pops up on lines 10 and 11.

    error.gif
    Attached Files Attached Files

+ 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. Using a barcode scanner with excel
    By Fred45 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-10-2013, 09:23 AM
  2. Trying to track inventory using a barcode scanner in Excel
    By ernht38 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2013, 08:16 AM
  3. Barcode scanner in excel
    By amir8000 in forum Excel General
    Replies: 1
    Last Post: 06-03-2013, 08:30 PM
  4. Barcode scanner to track sales at till
    By I Help Heroes in forum Excel General
    Replies: 3
    Last Post: 04-26-2013, 03:14 AM
  5. Using a barcode scanner to track inventory with differnent employees
    By singlec2 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-14-2012, 09:21 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