Results 1 to 5 of 5

Formula for Date from text

Threaded View

gautamacharya Formula for Date from text 03-22-2012, 11:15 AM
Dennis7849 Re: Formula for Date from text 03-22-2012, 11:32 AM
gautamacharya Re: Formula for Date from text 03-22-2012, 11:44 AM
daddylonglegs Re: Formula for Date from text 03-22-2012, 11:47 AM
gautamacharya Re: Formula for Date from text 03-22-2012, 11:53 AM
  1. #1
    Registered User
    Join Date
    04-20-2011
    Location
    CA
    MS-Off Ver
    Excel 2003
    Posts
    44

    Formula for Date from text

    Hi,
    I have a text filed that has Serial Numbers like "EBT0817J434" the 08 is the year and the 17 is the week of the year. I need the formula to return in a dd/mm/yyyy format. I have a formula (someone in this forum had helped me ) to extract the mm/yyyy from the same field but it did not extract the day. Below is that formula. If you can add the beginning of the week for the day to this formula, then great.
    =(IF(LEN(A1)=11,(DATEVALUE(MONTH(DATE("20"&LEFT(MID(A1,4,4),2),1,1)+RIGHT(MID(A1,4,4),2)*7)&"/"&YEAR(DATE("20"&LEFT(MID(A1,4,4),2),1,1)+RIGHT(MID(A1,4,4),2)*7))),"N/A"))

    Thanks
    Gautam
    Last edited by gautamacharya; 03-22-2012 at 11:57 AM.

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