+ Reply to Thread
Results 1 to 9 of 9

How to convert a manufacturing Lot Number to a date

  1. #1
    Registered User
    Join Date
    07-17-2018
    Location
    California
    MS-Off Ver
    Excel
    Posts
    4

    How to convert a manufacturing Lot Number to a date

    I'm trying to convert Manufacturing Lot # 03180940702 to April 04 2018 in any format date. The numbers to read off of this are as follows

    03
    18 - year (2018)
    094 julian date (April 04 2018)
    0702

    Does anyone know what formula I can use?
    Last edited by jalcocer1990; 07-17-2018 at 03:07 PM. Reason: correction a typo in lot #

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: How to convert a manufacturing Lot Number to a date

    Does this help?

    https://www.extendoffice.com/documen...r-date.html#a1
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-17-2018
    Location
    California
    MS-Off Ver
    Excel
    Posts
    4

    Re: How to convert a manufacturing Lot Number to a date

    The problem is that I have more digits than what that article shows. I'm trying to type in that code and have a formula populate the date off of that long set of #'s.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: How to convert a manufacturing Lot Number to a date

    Quote Originally Posted by jalcocer1990 View Post
    I'm trying to convert Manufacturing Lot # 03180904702 to April 04 2018 in any format date. The numbers to read off of this are as follows

    03
    18 - year (2018)
    090 julian date (April 04 2018)
    4702
    I get that 03 = month
    I get that 18 = year
    but how on earth does 090 become April 04?
    And I assume you dont need 4702?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    07-17-2018
    Location
    California
    MS-Off Ver
    Excel
    Posts
    4

    Re: How to convert a manufacturing Lot Number to a date

    That was a typo on my end. Julian date should've been 094 for April 04. Thanks I'll correct that and use more tags!

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: How to convert a manufacturing Lot Number to a date

    OK so does the 09 part even mean anything regarding the date?

    your sample...
    03180940702
    day?
    03180940702
    Year?
    03180940702
    Month?

    If so, what would 12 Dec 2018 look like?

  7. #7
    Registered User
    Join Date
    07-17-2018
    Location
    California
    MS-Off Ver
    Excel
    Posts
    4

    Re: How to convert a manufacturing Lot Number to a date

    The only #'s that read the date is 18 for the year and 094 (julian date)
    Free-Sample-Julian-Calendar.jpeg

  8. #8
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: How to convert a manufacturing Lot Number to a date

    Try this:

    =DATE(20&MID(A1,3,2),1,1)+A5-1

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: How to convert a manufacturing Lot Number to a date

    oh, duh LOL
    =DATEVALUE("1/1/"&MID(A1,2,2)+2000)+MID(A1,4,3)

+ 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 to get number of calendar days per number of manufacturing days
    By marcella needs help in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-06-2017, 05:51 PM
  2. [SOLVED] Total units made by week number with varying manufacturing periods
    By BRISBANEBOB in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2016, 06:49 PM
  3. [SOLVED] Convert a Text String Date to Date Serial Number
    By herve73 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-10-2015, 10:53 AM
  4. how to convert date serial number to regular date?
    By union in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-21-2013, 10:15 PM
  5. how to convert number to date
    By sunwordelite in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-16-2009, 03:47 PM
  6. convert date number to date format
    By nygwnj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-29-2007, 02:15 PM
  7. How do I convert Date serial number to date
    By rdunne in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-12-2005, 11:06 AM

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