Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 352
  • Last Modified:

Math - Calcualte Weighted Average

Hello Experts,

Math Question -  I need to calculate Weighted Average for the data shown below:

Employee                No of Days Worked                 Coils/Day Produced
Employee1                             13                                                  12.9
Employee2                           13                                                  11.1
Employee3                           13                                                  11.8
Employee4                           10                                                    7.5
Employee5                            10                                                   14.9
Employee6                         10                                                   10.5
Employee7                             9                                                   15.2
Employee8                        9                                                   11.9
Employee9                           9                                                   13.1
Employee10                          9                                                   14
Employee11                         9                                                  14.8
Employee12                          9                                                  14.3
Employee13                        8                                                  16.3
Employee14                    8                                                  15.3
Employee15                       8                                                  15.6
Employee16                      8                                                 12.9


I want to calculate weighted average for coils/day based on employee who worked more number of days...


any idea?

Thanks
0
mani_sai
Asked:
mani_sai
1 Solution
 
tmx84Commented:
Not sure if i follow your question, your not just wanting 13/12.9 for employee one correct? Are you wanting a weighted average for x amount of employees, or x amount of employees that worked the same amount of days? etc?
0
 
barry houdiniCommented:
Assuming days in B2:B17 and Coils/Day in C2:C17 use this version

=SUMPRODUCT(B2:B17,C2:C17)/SUM(C2:C17)

That will give you the average coils per day with SUMPRODUCT giving the total coils, divided by the sum of column C which is total days

regards, barry
0
 
mani_saiAuthor Commented:
I want weighted average for all the employee in the list..

weight is based on employee who worked more no of days...
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
aburrCommented:
The coils per day is in itself a type of weighted average.
If that is not what you want, please expand on what you want the final statistic to represent.
0
 
barry houdiniCommented:
Sorry, my description was right but formula wrong, should be dividing by sum of days, i.e. column B

=SUMPRODUCT(B2:B17,C2:C17)/SUM(B2:B17)

see attached

regards, barry
Average.xlsx
0
 
mani_saiAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now