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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top