Avatar of Bill Golden
Bill Golden
Flag for United States of America asked on

PROBLEMS WITH AVERAGEIF FUNCTION IN EXCEL 2003

Earlier I posted a problem of having 10 cells with numeric values and needed an average given that not all cells may have values.

If received a solution that goes like this...

="The average of the "& COUNTIF(A1:A10,"> 0") & " years is $ " & AVERAGEIF(A1:A10,">0")

I was unable to get it to work and a reply brought no response.

In testing, I brought the formula down to its simplest use...

=AVERAGEIF(A1:A10,">0")

But all I get is a #NAME? response.  

Does AVERAGEIF work in Excel 2003?  If not, is there a workaround?
Microsoft ExcelOffice ProductivitySpreadsheets

Avatar of undefined
Last Comment
Bill Golden

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Joe Howard

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Rgonzo1971

Hi,

if you don't want an array formula, pls try
=SUMIF(A1:A10;">0")/COUNTIF(A1:A10;">0")

Open in new window

Regards
Bill Golden

ASKER
Thank you.  I had come to a total halt.  Please read next question I will be posting shortly.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23