+ Reply to Thread
Results 1 to 6 of 6

Date+Time not calculating properly

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2013
    Posts
    71

    Date+Time not calculating properly

    I have a formula that I cannot format as text since it's used to calculate SLA. It was previously calculating properly but for some reason will not calculate properly for all cells in the column. I cannot figure out why it's just now calculating wrong.

    The formula is Date+Time=DateTime and is formatted as "m/d/yy h:mm;@". Below is an example of the results.

    Date Time DateTime Result
    08/03/15 0:00 7/28/16 0:00 WRONG
    08/14/15 17:06 8/14/15 17:06 Correct

    Any help is greatly appreciated.
    Attached Files Attached Files
    Last edited by DoodlesMama; 10-15-2015 at 12:01 PM.

  2. #2
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Texas, United States
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    516

    Re: Date+Time not calculating properly

    The calc worked for me. can you post a sample workbook.
    Regards,
    amotto

    If I helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,207

    Re: Date+Time not calculating properly

    Please post a file with the erroneous calculation.

    I have repeated the calculation (A2+B2) with the data supplied and obtained the correct result in both cases (UK format)

  4. #4
    Registered User
    Join Date
    09-05-2012
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2013
    Posts
    71

    Re: Date+Time not calculating properly

    Example file attached.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,207

    Re: Date+Time not calculating properly

    The erroneous cells are date and time, Delete and format as time (hh:mm)

  6. #6
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Texas, United States
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    516

    Re: Date+Time not calculating properly

    The reason is because you have an actual date in column C, not just a time, it is adding the date to a date and time

+ 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. Calculating the SLA end date and time
    By leongti in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-04-2021, 11:51 AM
  2. [SOLVED] Calculating Target Date/Time Based on Start date and hours - Excel 2007
    By chinraj in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 12-09-2019, 01:43 AM
  3. Replies: 9
    Last Post: 02-15-2015, 07:32 PM
  4. Formula for Calculating Paid Time Off for fiscal anniversary date real time
    By 168rockwood in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-07-2012, 04:15 PM
  5. [SOLVED] Calculating Difference Between Start Date & Time And End Date & Ti
    By Samwar in forum Excel General
    Replies: 2
    Last Post: 12-19-2005, 08:45 AM
  6. calculating the time between one date and another
    By Samwar in forum Excel General
    Replies: 1
    Last Post: 12-19-2005, 04:20 AM
  7. Calculating days & time left from start date/time to end date/time
    By marie in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-07-2005, 10:40 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