+ Reply to Thread
Results 1 to 6 of 6

Calculating Average of Time

  1. #1
    Registered User
    Join Date
    02-20-2007
    Posts
    50

    Calculating Average of Time

    Sir,

    I have excel sheet in which I want to calculate the average of the time .kindly help me to calculate the average of each column.

    Regards

  2. #2
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: Calculating Average of Time

    Upload the workbook please?
    Lokesh Kumar
    Stay Hungry.. Stay Foolish..
    _________________________________________________________
    Please Click STAR to Add Reputation if my/someone's answer helped!

  3. #3
    Registered User
    Join Date
    02-20-2007
    Posts
    50

    Calculating Average of Time

    Sir,

    I have attached a workbook .Can you help me to calculate the average of timings of all columns.

    Regards
    Attached Files Attached Files

  4. #4
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: Calculating Average of Time

    Hi,
    I guess that you are familiar with excel so here your data is not compatible with the time format or you have do some calculation to get that.
    The sheet is protected as well.

  5. #5
    Registered User
    Join Date
    02-20-2007
    Posts
    50

    Re: Calculating Average of Time

    sheet is not protected I tried it in different way and then asked for help

  6. #6
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Calculating Average of Time

    Quote Originally Posted by abhijit786 View Post
    I have attached a workbook .Can you help me to calculate the average of timings of all columns.
    The problem is: most of the data are text, and they are in a form that Excel does not recognize as time.


    1. For columns AF, AG and AH, it would be ideal to convert the text to numeric Excel time, which you can format as Custom [hhh]:mm:ss if you want a 3-digit hour with leading zeros.

    To convert column AF, enter the following formula into AN2, copy into AO2 and AP2, then copy AN2:AP2 into AN3:AP159:

    =IF(AF2="","",--(--LEFT(AF2,FIND(":",AF2)-1) & MID(AF2,FIND(":",AF2),6)))

    Then copy AN2:AP159 and paste-value into AF2:AH159, format AF2:AH159 as Custom [hhh]:mm:ss, and delete AN2:AP159.

    Note: That corrects data entries of the form 000:60:xx, changing them to 001:00:xx.

    Then =AVERAGE(AF2:AF159) will work, formatted as Custom [hhh]:mm:ss or [hhh]:mm:ss.000.

    Alternatively, array-enter the following formula (press ctrl+shift+Enter instead of just Enter):
    Please Login or Register  to view this content.

    2. For column AM, put the following formula into AM2, format as Custom [h]:mm:ss, and copy into AM3:AM159:

    =IF(COUNT(H2,I2,E2,F2)<>4,"",H2+I2-E2-F2)

    Then =AVERAGE(AM2:AM159) will return the correct value, formatted as Custom [hhh]:mm:ss or [hhh]:mm:ss.000.

    Note: The formula in AM2 also corrects miscalculations in AM5, AM47, AM71, AM80 and AM118.

+ 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 an Average Wait Time
    By clemattlee1 in forum Excel General
    Replies: 3
    Last Post: 07-11-2014, 09:41 AM
  2. Replies: 3
    Last Post: 06-12-2014, 09:29 AM
  3. Replies: 2
    Last Post: 06-11-2014, 11:39 AM
  4. Calculating average time
    By JanRaven in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-15-2012, 01:08 PM
  5. Converting and calculating average elapsed time
    By jamminalley in forum Excel General
    Replies: 7
    Last Post: 03-12-2012, 10:31 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