+ Reply to Thread
Results 1 to 5 of 5

How to calculate time duration in minutes using different formats

  1. #1
    Registered User
    Join Date
    03-03-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    12

    How to calculate time duration in minutes using different formats

    Hi,

    Am new to this site which i find really awesome. Am not an expert in excel but i do like playing around with formulas. I have a quick (and hopefully easy) problem which I would want to ask help with:
    I am calculating time duration (minutes) and both my Time Start (E7) and Time End (F7) are formatted as "Custom=> 0":"00" so it is easy to type the time (no need to manually press shift and colon). The simple formula for the duration (G7) is F7-E7 which results to 0:00 with the same format of custom=>0":"00. I have attached the sample file as basis to solicit some help?

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to calculate time duration in minutes using different formats

    =timevalue(text(f7,"??\:??"))-timevalue(text(e7,"??\:??"))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: How to calculate time duration in minutes using different formats

    Try this formula in G7

    =TEXT(F7,"00\:00")-TEXT(E7,"00\:00")

    format G7 as a time value, e.g. h:mm
    Audere est facere

  4. #4
    Registered User
    Join Date
    03-03-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: How to calculate time duration in minutes using different formats

    Fantastic!!!

    It took me an hour & 1/2 in trying to solve this but you guys just nailed it!!!
    Many thanks to you Martin and daddylonglegs!
    You guys are awesome!!!

    Regards,

  5. #5
    Registered User
    Join Date
    03-03-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    12

    Problem wiith IFS and COUNTIFS Formulas

    Hello!

    Searching for help on formulas using COUNTIF combined with IF.
    The attached SAMPLE spread sheet will show AH6 cell to do COUNTIF(C6:AG6="L") and I would like cell AQ6 to do:
    - IF(AH6=5,1) or
    - IF(AH6=6,2) or
    - IF(AH6=7,3),"")

    I've been working on this for the past 3 hours and can't seem to get it. Anyone's help would be truly appreciated!
    Attached Files Attached Files

+ 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. Please help me calculate the time duration
    By JackyG_01 in forum Excel General
    Replies: 6
    Last Post: 11-14-2012, 11:13 AM
  2. Calculate finish time given start time, working hours and job duration
    By swanseaexcel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2012, 03:00 PM
  3. [SOLVED] Calculate Time Duration
    By T86157 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-31-2012, 03:25 PM
  4. How to calculate duration of time
    By annlanding in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-11-2006, 12:38 PM
  5. Duration of time for two dates in days, hours and minutes
    By sgrimm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2006, 09:39 AM

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