Computers & Internet Logo

Related Topics:

Posted on Dec 30, 2007

Excel and the AVERAGE function

How do I tell excel to average a column of numbers AND ignore any zero values?

  • potsandpans Dec 30, 2007

    At first I thought that this solution would work only if SUMMING up numbers and not AVERAGE. I tried average but it didn't work. I then typed the formula exactly as posted (substituting my range) and it worked like a charm. THANK YOU VERY MUCH!!!!

×

1 Answer

Anonymous

Level 1:

An expert who has achieved level 1.

Corporal:

An expert that hasĀ over 10 points.

Problem Solver:

An expert who has answered 5 questions.

  • Contributor 17 Answers
  • Posted on Dec 30, 2007
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

Corporal:

An expert that hasĀ over 10 points.

Problem Solver:

An expert who has answered 5 questions.

Joined: Dec 30, 2007
Answers
17
Questions
0
Helped
3404
Points
38

Here is one way:

In this example, my numbers are in cells a1 through a4. My average is computed with the formula:

=SUM(A1:A4)/COUNTIF(A1:A4,"<>0")

I'm summing the range of numbers and dividing that by the count of nonzero numbers. With this formula, you'll get an error if there are no nonzero numbers.

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

356 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

ADMIN Andrew
ADMIN Andrew

Level 3 Expert

73784 Answers

ADMIN Eric
ADMIN Eric

Level 3 Expert

42225 Answers

Brad Brown

Level 3 Expert

19190 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...