only average cells w/numbers?

  • Thread starter Thread starter metab65
  • Start date Start date
M

metab65

I have a column (L) that my data begins in Row 9 and ends in Row 55.
Need to have average of the numbers in those cells (L9-L55).

However, some cells contain #VALUE, because information for the row ha
not been entered.

In L56, I'd like to have the average of only those cells L9-L55 tha
contain a number.

Thank you.
MAG
 
Hi
one way:
=SUMPRODUCT(--(ISNUMBER(L9:L55)),L9:L55)/SUMPRODUCT(--(ISNUMBER(L9:L55)
))
 
Hi MAGS!

In your column L try to return the values to 0 instead of #value an
then in your cell L56 use this formula :
=SUM(L9:L55)/COUNTIF(L9:L55,">0")

Hope it will help you !

Gaftali
 
One more way:

=AVERAGE(IF(ISNUMBER(L9:l55),l9:l55))

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)
 
Dave,
I've been struggling w/this problem for 2 weeks now and yours is th
only formula that worked!
You are my hero!!!

MAG
 

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

Back
Top