+ Reply to Thread
Results 1 to 3 of 3

How to calculate no. of hours based on a set of data?

  1. #1
    Forum Contributor
    Join Date
    01-01-2022
    Location
    India
    MS-Off Ver
    Home 2021
    Posts
    964

    How to calculate no. of hours based on a set of data?

    Hi all,

    Hope all are well.

    In attached file, I am trying to calculate no. of hours in column AE where start and end columns are D and O respectively, however, i don't get correct results. For. Ex row 49.

    My end requirement is in Sheet 1 where i want to know total no. of hours against values in column F per month.

    Can someone please help? Thanks in advance.

    Note: If no value in column O, then column AE should also be blank.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to calculate no. of hours based on a set of data?

    Amend slightly to:

    =IF(O27=0,"",O27-D27)

    and format as

    [h]:mm:ss

    or

    [h]:mm

    as preferred.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    01-01-2022
    Location
    India
    MS-Off Ver
    Home 2021
    Posts
    964

    Re: How to calculate no. of hours based on a set of data?

    Perfect Glenn, thanks a lot

+ 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. Progress Bar Based Upon Hours + Calculate Partial and Full Day Hours
    By JTB05 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2024, 02:23 AM
  2. [SOLVED] VB Code to calculate hours based on Clock IN and Clock Out Data
    By rmomin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-25-2022, 10:49 AM
  3. Replies: 1
    Last Post: 07-29-2021, 05:19 PM
  4. Need to Calculate Monthly Hours based on Weekly Data
    By CSweeting2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-11-2017, 09:58 AM
  5. Calculate hours based on checkbox
    By cascencio83 in forum Excel General
    Replies: 5
    Last Post: 01-15-2015, 12:09 AM
  6. [SOLVED] Calculate hours based on 2 columns?
    By Ltat42a in forum Excel General
    Replies: 3
    Last Post: 08-05-2014, 09:03 PM
  7. Calculate based on Business Hours
    By humacdeep in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 10-04-2011, 05:44 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