scorpiotail
Board Regular
- Joined
- Oct 21, 2015
- Messages
- 60
Hello again,
I am trying to using harmonic mean on a range that has missing data or zeros. Basically, weekly sales numbers that have yet to be entered for the year that I do on a weekly basis. I have many different formulas set in place already that work great, but I need to find the best way to get a "true" average while taking out the outliers like unusually high sales numbers not typical for that person. That is why I [want to] use HARMEAN. It hates negatives and zeros though...that's the problem.
Here's a few methods I have done so far with no success, producing #NUM, #N/A errors, etc:
{=IF($B$1:$B$52<=0,HARMEAN(IF($B$1:$B$52,"<>0",$B$1:$B$52)))} --arrayed and which produces "FALSE"
{=HARMEAN(IF(B1:B52, "<>0", B1:B52)} --arrayed and produces #NUM error
I have tried a few other methods, but it's driving me nutso.. ..this all started when I thought I could simply figure out how to predict what the next sales week was going to look like for that agent. I'm so close.... Thanks for any insight this community can give!
I am trying to using harmonic mean on a range that has missing data or zeros. Basically, weekly sales numbers that have yet to be entered for the year that I do on a weekly basis. I have many different formulas set in place already that work great, but I need to find the best way to get a "true" average while taking out the outliers like unusually high sales numbers not typical for that person. That is why I [want to] use HARMEAN. It hates negatives and zeros though...that's the problem.
Here's a few methods I have done so far with no success, producing #NUM, #N/A errors, etc:
{=IF($B$1:$B$52<=0,HARMEAN(IF($B$1:$B$52,"<>0",$B$1:$B$52)))} --arrayed and which produces "FALSE"
{=HARMEAN(IF(B1:B52, "<>0", B1:B52)} --arrayed and produces #NUM error
I have tried a few other methods, but it's driving me nutso.. ..this all started when I thought I could simply figure out how to predict what the next sales week was going to look like for that agent. I'm so close.... Thanks for any insight this community can give!