Averages using array.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there,

I am using the following array formula to work out an average of a row of
cells that contain numerical data. i,e not an empty cell and the value isnt 0.

=AVERAGE((IF(E49:IV49<>"",E49:IV49)),AND(IF(E49:IV49<>"0",E49:IV49)))

It works fine for empty cells, but it does not seem to ignore cells that
contain "0" or "0:00" any ideas???
 
=AVERAGE((IF((E49:IV49<>"")*(E49:IV49<>0),E49:IV49)))

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Fantastic,

Thankyou very much.

Bob Phillips said:
=AVERAGE((IF((E49:IV49<>"")*(E49:IV49<>0),E49:IV49)))

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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

Similar Threads


Back
Top