Closed Thread
Results 1 to 14 of 14

adding aircraft flight time hours and minutes

  1. #1
    Registered User
    Join Date
    09-11-2016
    Location
    Cairo, Egypt
    MS-Off Ver
    2007
    Posts
    5

    adding aircraft flight time hours and minutes

    I am working on an excel spread sheet having the accumulative flight time of our aircrafts.



    hours are calculated in a column and minutes in the next column, this data is used by other spread sheets.



    for example hours: 16352 and minutes: 32



    I want to use the value 16352:32 which is the total accumilative flight time of an aircraft in hours and minutes. but every time I try to add hours and minutes I get a weird value (may be because it is more than 24 hours) though I tried to customize the cell in [h]:mm formate.

    I am currently using the formula =text(hours cell&":"&minutes cell) which is good to display the required values but can't be further used to calculate other values.

    please help

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: adding aircraft flight time hours and minutes

    Welcome to the board.

    You can't manually enter time values > 9999 hours in [h]:mm format, but you can add values that give larger results:

    A
    B
    C
    1
    Flight Dur
    Cumu
    2
    9900:32
    Format of B2: [h]:mm
    3
    9:35
    9910:07
    B3: =B2+A3
    4
    6:08
    9916:15
    5
    8:10
    9924:25
    6
    8:18
    9932:43
    7
    3:46
    9936:29
    8
    3:33
    9940:02
    9
    8:09
    9948:11
    10
    7:47
    9955:58
    11
    8:10
    9964:08
    12
    6:37
    9970:45
    13
    5:54
    9976:39
    14
    5:36
    9982:15
    15
    6:25
    9988:40
    16
    2:00
    9990:40
    17
    2:34
    9993:14
    18
    6:24
    9999:38
    19
    2:26
    10002:04
    20
    3:38
    10005:42
    21
    4:58
    10010:40
    22
    3:38
    10014:18
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: adding aircraft flight time hours and minutes

    If you have...

    A1 = 16352
    B1 = 32

    And want that to be a true time value...

    =(A1/24)+(B1/1440)

    Format as [h]:mm

    The largest time value that can be manually entered in a cell is 9999:59:59.

    However, you can get much larger time values with calculations.
    Last edited by Tony Valko; 09-11-2016 at 05:49 PM.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    09-11-2016
    Location
    Cairo, Egypt
    MS-Off Ver
    2007
    Posts
    5

    Re: adding aircraft flight time hours and minutes

    thank you

    then if i want to get the monthly utilization for example by the end of the month it is 17000:23 flight hours

    whenever i try to subtract the two values I get #VALUE!

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: adding aircraft flight time hours and minutes

    whenever i try to subtract the two values I get #VALUE!
    I don't see that:

    A
    B
    C
    D
    1
    Flight Dur
    Cumu
    2
    9900:32
    Format of B2: [h]:mm
    3
    8:29
    9909:01
    B3: =B2+A3
    4
    3:55
    9912:56
    5
    2:32
    9915:28
    6
    6:43
    9922:11
    7
    7:37
    9929:48
    8
    8:02
    9937:50
    9
    6:34
    9944:24
    10
    5:21
    9949:45
    11
    2:35
    9952:20
    12
    9:14
    9961:34
    13
    7:57
    9969:31
    14
    8:48
    9978:19
    15
    4:17
    9982:36
    44:46
    C15: =B15-B8
    16
    2:52
    9985:28
    17
    8:27
    9993:55
    18
    7:05
    10001:00
    19
    5:46
    10006:46
    20
    5:13
    10011:59
    21
    9:04
    10021:03
    22
    8:30
    10029:33


    Maybe you could post a workbook that illustrates the problem.

  6. #6
    Registered User
    Join Date
    09-11-2016
    Location
    Cairo, Egypt
    MS-Off Ver
    2007
    Posts
    5

    Re: adding aircraft flight time hours and minutes

    16352:32 17000:23 #value! (=b1-a1)

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: adding aircraft flight time hours and minutes

    A
    B
    C
    D
    1
    16352:32
    17000:23
    647:51
    C1: =B1-A1


    That's why I suggested you post a workbook.

  8. #8
    Registered User
    Join Date
    09-11-2016
    Location
    Cairo, Egypt
    MS-Off Ver
    2007
    Posts
    5

    Re: adding aircraft flight time hours and minutes

    I hope You can find the attached file
    Attached Files Attached Files

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: adding aircraft flight time hours and minutes

    Those are numbers stored as text, and as has been said twice in this thread, you can't manually enter times larger than 9999 hours in that fashion. So you need to use a formula for those manual input cells only.

    A
    B
    C
    1
    16352:32 17000:23
    #VALUE!
    2
    16352:32
    17000:23
    647:51


    A
    B
    C
    1
    16352:32 17000:23
    =B1-A1
    2
    =LEFT(A1, FIND(":", A1) - 1) /24 + RIGHT(A1, 2)/1440
    =LEFT(B1, FIND(":", B1) - 1) /24 + RIGHT(B1, 2)/1440
    =B2-A2


    All the other calculations can be done in the usual way.

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: adding aircraft flight time hours and minutes

    Or ...

    A
    B
    1
    16352:32
    2
    16352:32
    A2: =DOLLARDE(SUBSTITUTE(A1, ":", "."), 60)/24
    3
    Format of A2: [h]:mm

  11. #11
    Registered User
    Join Date
    09-11-2016
    Location
    Cairo, Egypt
    MS-Off Ver
    2007
    Posts
    5

    Re: adding aircraft flight time hours and minutes

    Thank You

    That's very helpful

  12. #12
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: adding aircraft flight time hours and minutes

    You're welcome.

  13. #13
    Registered User
    Join Date
    11-12-2018
    Location
    malaysia
    MS-Off Ver
    2013
    Posts
    2

    Re: adding aircraft flight time hours and minutes

    hello folks i also have similar problem so i just share the same threads as TS,

    seems that i can't calculate the format if the number are greater than 9999:00, for example if i want to calculate =10000.00/31(days) and result will shows #VALUE

  14. #14
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,743

    Re: adding aircraft flight time hours and minutes

    @perigi

    Unfortunately your post does not comply with Rule 4 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 07-13-2015, 09:41 AM
  2. [SOLVED] Adding time - days, hours, minutes
    By kryptix in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-19-2013, 07:33 AM
  3. Replies: 6
    Last Post: 12-01-2012, 05:28 PM
  4. Replies: 1
    Last Post: 09-08-2011, 07:11 AM
  5. Adding Hours and Minutes (NOT Time of Day)
    By Gretchen in forum Excel General
    Replies: 8
    Last Post: 08-04-2011, 03:14 PM
  6. Adding Time Values from Separate Hours and Minutes Columns
    By jeepers in forum Tips and Tutorials
    Replies: 2
    Last Post: 08-23-2005, 12:05 PM
  7. Adding Time (hours and minutes)
    By bengaluru in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-07-2005, 03:05 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