Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Calculating Standard Deviation and Mean: Include zeros?

Avatar of Nick Wolf
Nick WolfFlag for United States of America asked on
Math / ScienceMicrosoft Excel
16 Comments1 Solution8803 ViewsLast Modified:
A sample of 30 items were pulled from a universe of 323.
Each of the 30 rows has an "overpayment" amount. Values range from $0 to $7,000.
16 of 30 rows have an overpayment value > zero.
14 of 30 rows have an "overpayment" value = zero.

I need to calculate the Mean and Standard Deviation of the overpayment amount.
Are rows with a value of zero used in this calculation?

[My calculations done two different ways:]

Mean ($65,235.42 / 30 total items including zeros)                  $2,174.51
Mean Overpayment ($65,235.42 / 16 overpayments)                  $4,077.21
Standard Deviation (of 16 overpayments)                  1546.38
Standard Deviation (of all 30 rows including $0 "overpayments")                  2348.83