+ Reply to Thread
Results 1 to 3 of 3

Excel Dates and Times in Number Format

  1. #1
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Excel Dates and Times in Number Format

    Hi all,

    Hope you are well in this trying time.

    I have pulled a report of meetings with their start datetime and end datetime, as I want to do a volume analysis for how many meetings took place per hour window, one what days etc.

    However, the report I pulled from our CRM shows the datetime value as a number in the 44000s for start and end and, even when I convert format of that number to short date for date and time for the time, I still cannot undertake proper analysis. How do I convert (not by just changing the format type) and separate these dates so I have the following columns:
    • Meeting Name
    • Start Date in the format DD/MM/YY with the format type as 'General' (ie not by setting it to 'Date') so I can extract the day numbers from it
    • Start Time in the format HH:MM:SS with the format type as 'General' (ie not by setting it to 'Time') so I can extract the hours only from it
    • End Date in the format DD/MM/YY with the format type as 'General' (ie not by setting it to 'Date') so I can extract the day numbers from it
    • End Time in the format HH:MM:SS with the format type as 'General' (ie not by setting it to 'Time') so I can extract the hours only from it

    I have attached the workbook to this. Thanks in advance for any help.
    Attached Files Attached Files
    Last edited by doubleuson; 11-10-2020 at 09:53 AM. Reason: Problem solved

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    47,501

    Re: Excel Dates and Times in Number Format

    Like this:

    =TEXT(B2,"DD/MM/YY")

    and this:

    =TEXT(B2,"HH:MM:SS")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    47,501

    Re: Excel Dates and Times in Number Format

    Thanks for the rep.

+ 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: 4
    Last Post: 03-04-2018, 09:02 AM
  2. VBA issue with dates - format is inconsistant and at times wrong
    By concatch in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2016, 05:22 AM
  3. Convert string dates and times to different format
    By excel12121 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2014, 02:39 PM
  4. Replies: 5
    Last Post: 04-01-2014, 09:37 AM
  5. Comparing dates & times from an export in mmm-dd yyyy hh:mm format
    By smilingrabbi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-15-2013, 11:51 AM
  6. [SOLVED] Vlookup for multiple excel files : dates are in 'number' format
    By mathieuv in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-05-2013, 03:34 AM
  7. Replies: 3
    Last Post: 03-28-2012, 07:14 AM

Tags for this Thread

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