Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 6 of 6

Thread: Converting MM/DD/YY dates to 5 Digit Serial Numbers

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Posts
    101
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I need to convert MM/DD/YY dates to their five digit serial number equivalents. The usual FORMAT | CELLS | NUMBER | GENERAL commands will not work. The dates convert just fine if I enter them manually.

    Any help will be greatly appreciated. Thanks.

  2. #2
    Board Regular RichardS's Avatar
    Join Date
    Feb 2002
    Location
    Victoria, Australia
    Posts
    761
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Josh

    Were the dates imported from an external file? It may be possible that Excel is treating them as text. If this is the case, enter 1 in a cell, copy it, and paste special multiply. This will convcert the text to a number.

    HTH

    Richard

  3. #3
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi

    As Richard said, they are probably Text. Copy a number 1 from any cell, select the dates the go to Edit>Paste special | multiply. Then format as General.

    or just use:
    =A1*1
    where A1 holds the text date

  4. #4
    Board Regular
    Join Date
    Mar 2002
    Posts
    101
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default


  5. #5
    Board Regular
    Join Date
    Mar 2002
    Posts
    101
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks guys. It works just like you said.

  6. #6
    New Member
    Join Date
    Mar 2005
    Location
    Harrisburg, PA
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Converting MM/DD/YY dates to 5 Digit Serial Numbers

    That was quite possibly the GREATEST tip ever written!

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •