+ Reply to Thread
Results 1 to 6 of 6

how to convert number to date

  1. #1
    Registered User
    Join Date
    07-12-2009
    Location
    shah alam,malaysia
    MS-Off Ver
    Excel 2003
    Posts
    24

    how to convert number to date

    i have number in database 1 and want to convert as date in database 2

    040792 19920506
    040892 19920507
    040992 19920510
    187301 20010729
    187401 20010801
    187501 20010804
    187601 20010805


    result in database 2

    407/92 06/05/1992
    408/92 07/05/1992
    408/92 10/05/1992
    1873/01 29/07/2001
    1874/01 01/08/2001
    1875/01 04/08/2001
    1876/01 05/08/2001

    is it got any formula to convert this number from database 1 to database 2, so far i am doing manual.please help me thanks in advance
    i has attach sample files..
    Attached Files Attached Files
    Last edited by sunwordelite; 09-16-2009 at 03:53 PM. Reason: poor title

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: formula help

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: how to convert number to date

    Try in G5:

    =REPLACE(B5,4,0,"/")

    and in H5:

    =DATE(LEFT(C2,4),MID(C2,5,2),RIGHT(C2,2))

  4. #4
    Registered User
    Join Date
    07-12-2009
    Location
    shah alam,malaysia
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: how to convert number to date

    sir for g5 is work but for date got error #value.can sir help me.

  5. #5
    Registered User
    Join Date
    07-12-2009
    Location
    shah alam,malaysia
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: how to convert number to date

    its solved sir.thank u very much...
    Last edited by sunwordelite; 09-16-2009 at 03:47 PM. Reason: problem is solved

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: how to convert number to date

    Should be:

    =DATE(LEFT(C5,4),MID(C5,5,2),RIGHT(C5,2))

+ 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