+ Reply to Thread
Results 1 to 10 of 10

Generating order numbers that include current date

  1. #1
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, Virginia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Generating order numbers that include current date

    I am doing this for someone else at work, otherwise I would just type it myself.
    Basically they want order numbers to be automatically generated in this format.
    So if I did it today, and it was the first order number, it would be 0305001, and if I did it tomorrow it would I guess be 0306001 (He might want tomorrow's to be 0306002, I'm not sure, but I assume the concept is the same).

    Does anyone have any advice on this? I'm admittedly not super savvy.

    Thanks!
    Last edited by werdnaegni; 03-05-2013 at 05:02 PM.

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Generating order numbers that include current date

    In A1 enter:

    =TEXT(TODAY(),"mmdd") &TEXT( ROW(),"000") and copy down
    Gary's Student

  3. #3
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, Virginia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Generating order numbers that include current date

    will all of the order numbers change tomorrow though if they were to reopen the file?

    thanks

  4. #4
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Generating order numbers that include current date

    Yes!

    Is that what you want??

  5. #5
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, Virginia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Generating order numbers that include current date

    Well I wouldn't want existing orders to change. If they made a new one, I would want THAT number to reflect the current date, but the ones I made yesterday would reflect yesterday's date. I don't even know if this is possible. Just figured I'd check.

    Thanks.

  6. #6
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Generating order numbers that include current date

    Its easy!

    In A1, enter a static date by touching CNTRL-;
    Then in A2 enter:

    =TEXT(A$1,"mmdd") &TEXT( ROWS($1:1),"000") and copy down

    When tomorrow comes, say the first empty cell is A98, put the new static date in A98 and a new formula below it.

  7. #7
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Generating order numbers that include current date

    Its easy!

    In A1, enter a static date by touching CNTRL-;
    Then in A2 enter:

    =TEXT(A$1,"mmdd") &TEXT( ROWS($1:1),"000") and copy down

    When tomorrow comes, say the first empty cell is A98, put the new static date in A98 and a new formula below it.

  8. #8
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, Virginia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Generating order numbers that include current date

    I'll see if that will work for them. It seems like a good solution to me. Really appreciate the help, thanks!
    I just don't know if they want the date there above each section of the column. I don't suppose there's a way around that though unless we stuck it over somewhere off-screen.

  9. #9
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Generating order numbers that include current date

    Could Try this :AutoOrderNumber.Sol1.xlsx
    as soon as a value is entered into the highlighted area, a new order number is genereated for that customer...just an example

    Hope this helps

    Edit-
    I only carried the formulas down to row 31, but they can be dragged as far as needed
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  10. #10
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Generating order numbers that include current date

    It might be nice to have a marker to separate ON's by date.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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