+ Reply to Thread
Results 1 to 5 of 5

Need Help formatting the date and time together in one cell

  1. #1
    Registered User
    Join Date
    09-03-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    37

    Need Help formatting the date and time together in one cell

    Need help formatting the date and time together in one cell. I copy the date and time from another program and I'm pasting it into a single cell within Excell. This is was the date and time looks like from the other program. 2013-09-03 03:20:30.0 I need it to look like this in Excel in a single cell. September 3, 2013 3:20 AM

    Can this be done? Thanks

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Need Help formatting the date and time together in one cell

    Assuming that pastes into Excel as an actual datetime string, then apply a custom number format to those cells:

    Custom: MMMM D, YYYY H:MM AM/PM
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,800

    Re: Need Help formatting the date and time together in one cell

    Go to Format, Format Cells, select Custom under Categories, and use this string for the format string:

    mmmm d,yyyy h:mm AM/PM
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Registered User
    Join Date
    09-03-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Need Help formatting the date and time together in one cell

    SWEET! Thanks guys. That worked.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Need Help formatting the date and time together in one cell

    I've marked this thread as SOLVED for you.
    Next time, select Thread Tools from the links above to mark a thread as SOLVED. Thanks.

+ 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. modify date time cell to an excel format date time
    By rileyp in forum Excel General
    Replies: 12
    Last Post: 03-24-2013, 08:39 PM
  2. Replies: 2
    Last Post: 12-27-2011, 04:25 PM
  3. Date and time formatting
    By Mayank Trivedi in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-10-2008, 03:01 PM
  4. Formatting a date/time cell
    By Frank D. Nicodem, Jr. in forum Excel General
    Replies: 1
    Last Post: 10-04-2005, 03:05 PM
  5. Replies: 1
    Last Post: 03-23-2005, 09:06 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