How do I calculate "weighted average" for times in an excel column?

Carrie Ward 40 Reputation points
2025-08-07T18:06:42.58+00:00

I have one column of averaged times that need to have the "weighted average" for this same column at the bottom where answer displays in this one cell

User's image

Microsoft 365 and Office | Excel | For business | Windows
{count} votes

7 answers

Sort by: Most helpful
  1. Barry Schwarz 3,836 Reputation points
    2025-08-09T05:33:22.01+00:00

    The weight for each row is simply the second column divided by the first. You could enter the following formula in C1

    =IF(B1=0,1,B1/A1)
    

    and copy it down to the last row of data.

    I have never seen anyone ask for the average of the weights which is completely different than the weighted average of the data.. In any case the formula

    =AVERAGE(C1:C20)
    

    will compute the arithmetic mean of the 20 weights.

    0 comments No comments

  2. Jay Tr 1,065 Reputation points Microsoft External Staff Moderator
    2025-08-12T22:56:21.5733333+00:00

    Hi @Carrie Ward,
    Thank you for the update. Here is the updated version of calculating weighted average:

    1. Convert Time to Total Seconds

    Assuming your ASA Weight values are in column B starting from cell B2, enter the following formula in column C to convert each time to seconds:

    =MINUTE(B2)*60 + SECOND(B2)
    

    Copy this formula down for all rows containing ASA Weight values.

    1. Calculate the Average in Seconds

    In a separate cell (e.g., C17), use the following formula to calculate the average:

    =AVERAGE(C2:C16)
    
    1. Convert the Average Back to Minutes and Seconds

    To display the average in a readable format (e.g., 8m 20s), use this formula in another cell (e.g., D17):

    =INT(C17/60) & "m " & MOD(C17,60) & "s" 
    

    If your time values are not recognized as time format (e.g., entered as text like "02:14" or "2;14"), you may need to first convert them to proper time format using Excel's TIME function or by replacing semicolons with colons.

    This is the final result: 

     User's image

    If you have any further questions and concerns, please let me know. looking forward to your response.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.     

    image


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.