+ Reply to Thread
Results 1 to 14 of 14

how to format this date type?

  1. #1
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    260

    how to format this date type?

    hello

    i need to format this .xls with the date as follow
    Screenshot - 20.06.2017 , 00_51_53.png

    into this one
    Screenshot - 20.06.2017 , 00_53_53.png

    so that this bizzarre date format 2017-06-20T00:00:00+01 will become YYYY MM DD HH MM SS

    file attached.

    any input will be appreciated! thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: how to format this date type?

    What happens to the 20, the T and where did the 17 come from in column C?
    Dave

  3. #3
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    260

    Re: how to format this date type?

    Quote Originally Posted by FlameRetired View Post
    What happens to the 20, the T and where did the 17 come from in column C?
    the second (target) example is from another file, ignore the values and focus on the procedure - this 2017-06-20T00:00:00+01 should be formatted into YYYY MM DD HH MM SS

  4. #4
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: how to format this date type?

    hi
    try this formula
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    260

    Re: how to format this date type?

    Quote Originally Posted by NickyC View Post
    hi
    try this formula
    Please Login or Register  to view this content.
    thanks, but no, something is not right, i have copied that formula and this is what i got
    Screenshot - 20.06.2017 , 01_23_20.png
    the date appears as 20.06.2017 ... this is not what I need, like i mentioned above, id need the date to be formatted as:

    YYYY MM DD HH MM SS


    to avoid missunderstanding, can you upload the .xls with the formula so that the date comes already formatted?

    many thanks!

  6. #6
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: how to format this date type?

    hi
    it looks like the formula is returning a date value but you need to format the cells to "YYY MMM DD HH:MM"

  7. #7
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    260

    Re: how to format this date type?

    i dont know how to do that.. please the best way, can i get the excel file with the formula so that I will see what i need to see?

    cheers

  8. #8
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: how to format this date type?

    see the attached
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    260

    Re: how to format this date type?

    Quote Originally Posted by NickyC View Post
    see the attached
    thanks, but sorry , it is wrong, i'll try to explain again: this is what i need to see:

    Screenshot - 20.06.2017 , 01_34_42.png

    not JUN.. and not everything in the same cell...

  10. #10
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: how to format this date type?

    to set the format
    on the home tab select
    format > format cells > custom

    type this in the box

    yyyy mmm ddd hh:mm

    and press ok
    Attached Images Attached Images

  11. #11
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: how to format this date type?

    ah, got it I think
    try this instead
    Attached Files Attached Files

  12. #12
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    260

    Re: how to format this date type?

    Quote Originally Posted by NickyC View Post
    to set the format
    on the home tab select
    format > format cells > custom

    type this in the box

    yyyy mmm ddd hh:mm

    and press ok
    I did it, it didn't work... it was formatted wrongly...
    Screenshot - 20.06.2017 , 01_43_43.png

    please, kindly upload the xls with the date formatted exactly as explained.. so that i don't need to be any other step



    thank you

  13. #13
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    260

    Re: how to format this date type?

    Quote Originally Posted by NickyC View Post
    ah, got it I think
    try this instead
    yep the last one is correct :=) cheers!

  14. #14
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: how to format this date type?

    Late comer. Another way. With data in column A.
    In B1 and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In C1 and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In D1 and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then in E1 filled across column F & G and down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 02-24-2015, 02:58 AM
  2. Replies: 5
    Last Post: 02-08-2013, 11:06 AM
  3. Format decimal to specific type of format
    By greekboyuk in forum Excel General
    Replies: 5
    Last Post: 02-25-2011, 10:02 AM
  4. Time between date format of type yyyymmddhhmmss
    By boisonbeauty in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-02-2009, 08:21 AM
  5. Convert Julian dates back to date data type format?
    By Lara in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-23-2006, 10:25 PM
  6. Adding new 'Type' to Format->Number->Time->Type
    By Alex Vinokur in forum Excel General
    Replies: 5
    Last Post: 09-26-2005, 04:05 PM
  7. [SOLVED] date type format which is supported by excel 2003
    By kanchan in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-21-2005, 07:05 PM

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