Selectively averaging a column

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
 
K

Ken Wright

=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.
 
Top