+ Reply to Thread
Results 1 to 4 of 4

Changing date to sort code format?

Hybrid View

LDouble3 Changing date to sort code... 09-28-2012, 05:49 AM
LDouble3 Re: Changing date to sort... 09-28-2012, 05:53 AM
Marcol Re: Changing date to sort... 09-28-2012, 06:05 AM
LDouble3 Re: Changing date to sort... 09-28-2012, 06:13 AM
  1. #1
    Registered User
    Join Date
    09-06-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2010
    Posts
    38

    Changing date to sort code format?

    If i have a column that contains a mix of '29/09/2012' format with 22-22-22 format (date and sort code) and i want to change all the date formats to sort code format (simply changing the / to -) how can i do this in a quick process?
    Office 2010 user.

  2. #2
    Registered User
    Join Date
    09-06-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Changing date to sort code format?

    Find and replace does not work also.

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Changing date to sort code format?

    Format the cells Number format > Custom
    Type
    Formula: copy to clipboard
    dd-mm-yy


    Or if you require a string returned
    Formula: copy to clipboard
    =IF(A2="","",TEXT(A2,"dd-mm-yy"))


    Find and replace will not work because the displayed date is the serial date formatted "dd/mm/yy"
    i.e.
    29/09/2012 is actually 41181 so there are no "/"s to replace.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    09-06-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Changing date to sort code format?

    That string has worked a treat mate thanks alot

+ 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