+ Reply to Thread
Results 1 to 6 of 6

Calculating hours and minutes over multiple days.

  1. #1
    Registered User
    Join Date
    08-07-2019
    Location
    Alberta
    MS-Off Ver
    Office 360 for Mac
    Posts
    6

    Calculating hours and minutes over multiple days.

    Hi Guys

    I am using a text formula in Excel (=INT(B4-A4)&" days "&TEXT(B4-A4,"h"" hrs ""m"" mins """) to calculate Days, hours and minutes from a start and end time. What I need though is the display only in hours and minutes. I cant figure out how to either manipulate the formula above or use a completely different one.

    Thanks!

    Here is an example of the excel start date/time, end date/time and calculated days, minutes hours.

    (2022-03-21 14:17 2022-03-24 14:30 3 days 0 hrs 13 mins

  2. #2
    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,256

    Re: Calculating hours and minutes over multiple days.

    try

    =B4-A4

    Format as [h]:mm
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,071

    Re: Calculating hours and minutes over multiple days.

    if you want the result as a number in hours and minutes, you could use Custom format of:
    Please Login or Register  to view this content.
    but if you want the words "hours" and "mins" included, then you can use Custom format of:
    Please Login or Register  to view this content.
    OR, you could use this formula:
    Please Login or Register  to view this content.
    Last edited by janmorris; 04-12-2022 at 02:16 PM.
    As a gesture off appreciation, you can click * Add Reputation at the foot of any of the posts of members who helped you reach a solution.

    And finally, was your problem solved? if so, please click Thread Tools above the first post of your enquiry, then select [Solved]

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,406

    Re: Calculating hours and minutes over multiple days.

    Removed by FR
    Last edited by FlameRetired; 04-12-2022 at 02:04 PM.
    Dave

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,406

    Re: Calculating hours and minutes over multiple days.

    Removed by FR
    Last edited by FlameRetired; 04-12-2022 at 02:05 PM.

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,406

    Re: Calculating hours and minutes over multiple days.

    Removed by FR
    Last edited by FlameRetired; 04-12-2022 at 02:05 PM.

+ 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 Years, Months, Days, Hours, Minutes for Work Days/Hour from Minutes
    By shadow2351jl in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-14-2022, 06:48 AM
  2. Excel function to calculate minutes to days, hours, minutes
    By vijanand1279 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-12-2020, 11:26 AM
  3. [SOLVED] Calculating Years, Months, Week, Days, Hours, Minutes for Work Days between two dates
    By hecgroups in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-23-2019, 12:09 AM
  4. Calculating business days, hours and minutes
    By mayraguilar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-12-2016, 01:23 PM
  5. [SOLVED] Calculating days, hours, and minutes
    By Casey O in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-11-2014, 11:47 AM
  6. Convert Days:Hours:Minutes:seconds to minutes.
    By Kevingardner1 in forum Excel General
    Replies: 4
    Last Post: 06-03-2014, 06:44 PM
  7. Replies: 2
    Last Post: 01-24-2012, 09:20 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