Selectively averaging a column

  • Thread starter Thread starter RandyB
  • Start date Start date
R

RandyB

I have a column mostly of numbers (some text), and I want to average th
positive numbers separately from the negative numbers. An
suggestions? Thanks
 
=AVERAGE(IF(A1:A100>0,A1:A100)) array entered using CTRL+SHIFT+ENTER

and

=AVERAGE(IF(A1:A100<0,A1:A100)) array entered using CTRL+SHIFT+ENTER

This excludes 0s so you may want to adjust if you need to include them.
 
Back
Top