Problem with average

M

Moperk23

I have 3 sections in this spreadsheet. Leads, Sales and Success Rate.
Success rate = Sales/Leads. The data is for Jan-Dec. When someone has zero
leads and zero sales I end up with a /0 error.

The problem is as I average the success rates together if there is an error
in a cell it doesnt count that cell. So if Jan is 50%, Feb is 0% and March
gives an error, the average is 25%. But it should be (.5 +0+0)/3 How do I
make the error cell equal to zero for average to be correct?

I am already using a condition function to make the error cell read as 0%
for the average purpose it treats it as an error. Please help
 
G

Gary''s Student

This is one case in which you can have your choise. Say we have cells in
column C like:

=A1/B1
=A2/B2
=A3/B3

and we have another cell with =AVERAGE(C:C)

clearly if B3 is zero, C3 will show and error and AVERAGE() is impacted.


If we want to exclude errors, then in C3:
=IF(ISERROR(A3/B3),"",A3/B3)

If we want to include errors as zero, then in C3:
=IF(ISERROR(A3/B3),0,A3/B3)
 
F

Fleone

Moperk23,
Let's assume that column A is Leads, Column B is Sales, and Column C is
Success Rate. Place this formula in Column C and it will resolve your problem.
=IF(A1=0,0,B1/A1)
This says "If Leads are zero, then show a 0, otherwise divide sales by leads
and show the result"
Now with a zero in place of your div/0 error, your average will work.
 

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

Calculate Average for same period last year 3
Average Function 5
Average using Sumproduct or .... 7
Sumproduct...Average 2
Average problem 1
variable average 3
AVERAGE function 2
Need "Div/0" Average Relief ... 4

Top