+ Reply to Thread
Results 1 to 8 of 8

Convert date

  1. #1
    Forum Contributor
    Join Date
    09-29-2008
    Location
    usa
    MS-Off Ver
    EXCEL 2010
    Posts
    116

    Convert date

    Hi does anyone has a macro that can convert this date 1110401
    to this one 04/01/11
    thanks for you help
    Last edited by martinez_pedro; 04-05-2011 at 03:49 PM.

  2. #2
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: Convert date

    Are you sure the raw date has 7 digits and the expected date has 6 digits?
    Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
    John Wright

  3. #3
    Forum Contributor
    Join Date
    09-29-2008
    Location
    usa
    MS-Off Ver
    EXCEL 2010
    Posts
    116

    Re: Convert date

    Yes it is 7 it always come this way i don't know why they add the number 1 at the beginning of the string

  4. #4
    Forum Contributor
    Join Date
    01-29-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    256

    Re: Convert date

    Hi martinez_pedro

    Can you attached your sample excel file?

    Thanks
    Farrukh

  5. #5
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: Convert date

    If we remove the "1" out of every date...I think we can deal with the format to get you what you need. How many rows in the date column do you typically have?

  6. #6
    Forum Contributor
    Join Date
    09-29-2008
    Location
    usa
    MS-Off Ver
    EXCEL 2010
    Posts
    116

    Re: Convert date

    The number of row varies day by day it can be from 100 to 8000 at the end of the month is when i get the biggest one
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: Convert date

    Not sure if you can use this or not....added a column "converted date"
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    09-29-2008
    Location
    usa
    MS-Off Ver
    EXCEL 2010
    Posts
    116

    Re: Convert date

    hey that formula works perfectly THANK YOU
    Here is what i did to make your formula into a macro
    Please Login or Register  to view this content.

+ 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