+ Reply to Thread
Results 1 to 4 of 4

Serial numbering and auto number change when date changes.

  1. #1
    Registered User
    Join Date
    12-27-2019
    Location
    India
    MS-Off Ver
    office 365
    Posts
    2

    Serial numbering and auto number change when date changes.

    Hi..I'm new here
    I am looking for the serial number generation.

    Can we generate serial number automatically basing on date change

    For example i should make serial serial number from a given date and reflect on next adjacent cell as Ref_MMDDYYYY_001, here Ref is fixed which means reference rest is Month date year and 001 is the running number that increases if it the previous value in a column is the same date while it restarted to 001 again when there is a new date

    December 22, 2019 - Ref_12222019_001
    December 22, 2019 - Ref_12222019_002
    December 24, 2019 - Ref_12242019_001
    December 24, 2019 - Ref_12242019_002
    December 24, 2019 - Ref_12242019_003

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,892

    Re: Serial numbering and auto number change when date changes.

    Try this

    ="Ref_"&TEXT(A1,"mmddyyyy")&TEXT(COUNTIF($A$1:A1,A1),"\_000")

  3. #3
    Registered User
    Join Date
    12-27-2019
    Location
    India
    MS-Off Ver
    office 365
    Posts
    2

    Re: Serial numbering and auto number change when date changes.

    Thanks for help its working..

  4. #4
    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
    79,415

    Re: Serial numbering and auto number change when date changes.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    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.

+ 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. Auto Serial Number Using VBA
    By LoveCandle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-21-2022, 09:24 PM
  2. Auto Serial Number
    By sms1432 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-23-2017, 02:52 AM
  3. Auto Serial number
    By surya2384 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-16-2016, 11:53 AM
  4. [SOLVED] Help request to change serial number for new date
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-30-2016, 08:05 AM
  5. [SOLVED] Auto Populate Serial Number From Total number
    By sanju2323 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-04-2015, 04:33 PM
  6. Auto Serial Number
    By MdYas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-23-2014, 08:19 AM
  7. Shortcyt key for auto serial number
    By dingdang in forum Excel General
    Replies: 1
    Last Post: 07-16-2013, 02: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