Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: Excel help - converting date to text

  1. #1
    Join Date
    Nov 2009
    Location
    Western Victoria
    Posts
    14,101
    Total Downloaded
    0

    Excel help - converting date to text

    Does anybody know how to convert a date

    4/8/14

    to text

    04-08-14

    in an excel spreadsheet?

  2. #2
    sheerluck Guest
    It's just formatting Mick. Right mouse click on the cell (or highlight the range of cells then right click on the area) and go to formatting. There will be a date option, with a hundred different dates displays.

  3. #3
    sheerluck Guest
    Or are you trying to export it all in text or other for at, and it's giving you a weird 68*** type number?

  4. #4
    Homestar's Avatar
    Homestar is offline Super Moderator & CA manager Subscriber
    Join Date
    Aug 2010
    Location
    Sunbury, VIC
    Posts
    20,105
    Total Downloaded
    0
    Highlight the box or boxes, right click then click 'format cells'. In the category list there is 'text'. Click on this, then 'ok'. What you type in that box now will be as you hit the keys.
    If you need to contact me please email homestarrunnerau@gmail.com - thanks - Gav.

  5. #5
    Join Date
    Oct 2003
    Location
    Montrose, Vic.
    Posts
    5,417
    Total Downloaded
    0
    Mick,

    Do you actually want excel to see it as text?... or you want it to look like you second example ?

    As the others have said, right click the cell and choose "Format Cells" then you can either change it to text.. or under date... choose the style of date you want ..that way the spreadsheet still understands it's a date if you need it to.
    Mark

    Of all the things I've lost, I miss my mind the most

    2015 TDV6 D4.... the latest project... Llams, Traxide, Icom 455, Tuffant Kimberleys and Mofos.... so far.
    2012 SDV6 SE D4 with some stuff... gone...
    2003 D2a TD5...gone...
    2000 D2 V8...gone...
    https://bymark.photography


  6. #6
    Join Date
    Nov 2009
    Location
    Western Victoria
    Posts
    14,101
    Total Downloaded
    0
    Quote Originally Posted by Bytemrk View Post
    Mick,

    Do you actually want excel to see it as text?... or you want it to look like you second example ?

    As the others have said, right click the cell and choose "Format Cells" then you can either change it to text.. or under date... choose the style of date you want ..that way the spreadsheet still understands it's a date if you need it to.
    Thankyou for reading my post Mr Bytemrk.
    Yes, indeed, I want excel to see it as text.
    It is not a formatting issue. I know how to format dates.
    As we know, excel stores dates as a serial date which is how many days from 0-Jan-1900. 41855 returns a date of 4/8/14 (or 4/8/2014). This figure is useless to me as I want to use the date as text in functions.
    It's easy to convert text to date but that is opposite to what I require.

    I can extract the day, month and year in separate functions but it extracts 4/8/14 as 4, 8 and 2014 when I need 04, 08 and 14 to put them in a function to return 04-08-14. 4-8-2014 as text doesn't cut it.

  7. #7
    sheerluck Guest
    Here ya go Captain Grumpy

    =TEXT(B2,"dd-mm-yy") where B2 is the cell reference to be converted.

    Difficult to tell someone's level of Excel proficiency in the space of a few words.

  8. #8
    Join Date
    Nov 2009
    Location
    Western Victoria
    Posts
    14,101
    Total Downloaded
    0
    Thankyou Blind Freddy.

    I had tried that. Sadly, it doesn't work.
    Although it displays as required in a cell, it doesn't display as that in a function. It comes up with #REF when I try to use that cell in a function.

  9. #9
    Join Date
    Jun 2010
    Location
    Central Coast NSW
    Posts
    1,888
    Total Downloaded
    0
    What function are you trying to use it in?

  10. #10
    sheerluck Guest
    Strange. I tested it and it worked perfectly. And I just copied and pasted into my post.

Page 1 of 3 123 LastLast

Bookmarks

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 AULRO.com ONLY!
Search All the Web!