+ Reply to Thread
Results 1 to 3 of 3

Formula or VBA Code to calculate the total and average time

  1. #1
    Registered User
    Join Date
    01-29-2013
    Location
    VietNam
    MS-Off Ver
    Excel 2003
    Posts
    46

    Formula or VBA Code to calculate the total and average time

    Hello members!
    Can someone help me calculate the total and average time in months
    Results as attachments
    Thank you!
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,749

    Re: Formula or VBA Code to calculate the total and average time

    Your notation of using H.m for time is unconventional and makes calculations very difficult. You should either use fractional hours (1.5 = 1 and a half hours) or use h:m (1:30 = 1 and a half hours). I have converted your numbers to the latter.

    By the way your slashes and X's in the blank cells can be done much more easily by setting borders, instead of using drawing elements. I did B42:B43 as an example.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    01-29-2013
    Location
    VietNam
    MS-Off Ver
    Excel 2003
    Posts
    46

    Re: Formula or VBA Code to calculate the total and average time

    Quote Originally Posted by 6StringJazzer View Post
    Your notation of using H.m for time is unconventional and makes calculations very difficult. You should either use fractional hours (1.5 = 1 and a half hours) or use h:m (1:30 = 1 and a half hours). I have converted your numbers to the latter.

    By the way your slashes and X's in the blank cells can be done much more easily by setting borders, instead of using drawing elements. I did B42:B43 as an example.
    Thank you very much!
    One method is simple but effective.

+ 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. Excel formula to calculate Average and Maximum between a time frame
    By prakee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-29-2014, 12:48 PM
  2. formula in Excel to calculate rolling daily average of sales total by date
    By Geekgurl in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-17-2014, 05:30 PM
  3. Replies: 3
    Last Post: 12-19-2013, 06:49 AM
  4. Replies: 9
    Last Post: 06-14-2011, 09:27 AM
  5. Formula for obtaining the total running time from the time code
    By hbsunshine in forum Excel - New Users/Basics
    Replies: 11
    Last Post: 03-06-2011, 05:26 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