+ Reply to Thread
Results 1 to 4 of 4

Formula For Pesky Time Formats

  1. #1
    Registered User
    Join Date
    11-07-2018
    Location
    Indiana
    MS-Off Ver
    Office 365
    Posts
    19

    Formula For Pesky Time Formats

    Hi All,

    I'm having issues with a formula calculating due to what I believe to be formatting. I've attached the actual workbook as it contains no confidential info, and it should help with context. On the "Weekly Results" tab, it keeps track of data from the days of the week tabs. There are two sections on the "Weekly Results" tab. A section for first shift, and then a section for second shift. I'm having issues with the rows labeled "Total Downtime" for each shift. The formula basically needs to subtract the total hours worked from the total load time. It won't calculate correctly because I believe it has something to do with the formatting of times. The total hours worked is just a general formatted number. The total load time row is formatted as hh:mm. It should calculate out like this: 10 hours worked, 30 minutes total load time, 9.5 hours downtime. It doesn't work that way, and I believe it is due to how Excel views time formats and that is where I am at a loss.
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Formula For Pesky Time Formats

    D14=10 should be converted into time by divide to 24
    D13=D14/24-D15
    Quang PT

  3. #3
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Formula For Pesky Time Formats

    Hi there,

    On the 'Weekly Results' sheet, in cell 'D13' try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    (then pull across...)
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

  4. #4
    Registered User
    Join Date
    11-07-2018
    Location
    Indiana
    MS-Off Ver
    Office 365
    Posts
    19

    Re: Formula For Pesky Time Formats

    Thank you both for your replies! It worked!!! Something so simple has been running my mind ragged.

+ 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. time formats and time duration formula
    By kristinGersh in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-30-2018, 03:17 PM
  2. [SOLVED] Need Formula to for time difference with 0d 00h 00m formats
    By switzd0d in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-13-2015, 02:45 AM
  3. Formula to make excel understand different time formats
    By Ironchef in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-17-2014, 04:42 PM
  4. Stopping Pesky Inputbox
    By excelenergy in forum Excel General
    Replies: 2
    Last Post: 08-12-2014, 06:01 PM
  5. Pesky Formula!
    By Barclay in forum Excel General
    Replies: 3
    Last Post: 08-26-2011, 07:15 AM
  6. That Pesky little Red X
    By Strugglin in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-28-2009, 05:44 AM
  7. Pesky VLookup !!!
    By Lacklustre in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-24-2005, 01:06 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