+ Reply to Thread
Results 1 to 6 of 6

help with date formula

Hybrid View

  1. #1
    Registered User
    Join Date
    12-19-2012
    Location
    dublin ireand
    MS-Off Ver
    Excel 2007
    Posts
    98

    help with date formula

    hi
    im using this formula to convert dates like this 08/26/2011 to 26/08/2011
    the formula work for that type of date here is the formula
    =RIGHT(LEFT(B3,6),3) & LEFT(B3,2) & RIGHT(B3,5)

    but when i get a date like this

    8/26/2011 that formula does not work any when i play around with it cant get it.
    anyone have any ideas

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: help with date formula

    =date(right(b3,4),mid(b3,4,2),left(b3,2))
    Last edited by rcm; 04-02-2013 at 09:51 AM. Reason: mistaken

  3. #3
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: help with date formula

    26/08/2013

    better yet,

    =RIGHT("0"&mid(b3,4,2),2)&"/"&right("0"&left(b3,2),2)&right(b3,5)

  4. #4
    Registered User
    Join Date
    12-19-2012
    Location
    dublin ireand
    MS-Off Ver
    Excel 2007
    Posts
    98

    Re: help with date formula

    getting a #value as an answer

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,455

    Re: help with date formula

    Select the date( column) - Data -Text to columns - delimited - Next - Next - Select MDY in the dropdown date format box - Finish

  6. #6
    Registered User
    Join Date
    12-19-2012
    Location
    dublin ireand
    MS-Off Ver
    Excel 2007
    Posts
    98

    Re: help with date formula

    sweet as thanks that worked

+ 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