+ Reply to Thread
Results 1 to 6 of 6

Auto Generated Number when Date is entered

  1. #1
    Registered User
    Join Date
    07-15-2016
    Location
    Wisconsin
    MS-Off Ver
    2010
    Posts
    80

    Auto Generated Number when Date is entered

    Hi,

    I am looking to do an auto generated unique number (letters and numbers) in column A when I enter a date into column B. I have attached a sample of what I am looking for.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Auto Generated Number when Date is entered

    Per your sample workbook, try this in A2 and drag/copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    May not be the best solution but it works.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    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,719

    Re: Auto Generated Number when Date is entered

    Could be done formulaically (in A2 copied down):

    =IF([@Date]="","","XXX"&TEXT(ROW()-1,"0000"))
    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.

  4. #4
    Registered User
    Join Date
    07-15-2016
    Location
    Wisconsin
    MS-Off Ver
    2010
    Posts
    80

    Re: Auto Generated Number when Date is entered

    Thank you, I was making this way harder than it needed to be!

  5. #5
    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,719

    Re: Auto Generated Number when Date is entered

    You're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Auto Generated Number when Date is entered

    Here's event code for the sheet module:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. If initials are generated in a cell then a permanent date stamp is generated
    By pageandrewr1 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-08-2016, 12:15 PM
  2. [SOLVED] Auto generated number on excel userform wont increment
    By Maggie6360 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-20-2015, 03:53 PM
  3. Replies: 1
    Last Post: 11-19-2013, 12:03 AM
  4. Auto generated number
    By drobinson782001 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-18-2013, 10:00 PM
  5. [SOLVED] how to make auto generated number once user insert data in excel 2007
    By nurul0304 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-01-2012, 08:40 PM
  6. “Stamping” an auto generated reference number
    By Fairport in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-28-2009, 07:48 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