J
Jim S
What does #DIV/0! mean when it shows up in a cell with a formula?
Jim S said:OK, This is the formula that I have that is pulling data from all
pages of a multipage document and some of the cells in this formula
are at 0 until data is entered and other cells have data, how do I add
the IF option to this formula?
AVERAGE(ESP1!F24+ESP2!F24+LV!F24+LA!F24+RAT!F24+SF1!F24+SF2!F24+SF3!F24+TAOS!F24)/9
--
Jim Salyer
Area Supervisor
Home 505-474-4863
Mobile 505-670-4138
Fax 505-474-4540
OK, This is the formula that I have that is pulling data from all pages of a
multipage document
AVERAGE(ESP1!F24+ESP2!F24+LV!F24+LA!F24+RAT!F24+SF1!F24+
SF2!F24+SF3!F24+TAOS!F24)/9
some of the cells in this formula are at 0 until data
is entered and other cells have data
First of all, you probably want:
AVERAGE(ESP1!F24,ESP2!F24,LV!F24,LA!F24,RAT!F24,SF1!F24,SF2!F24,SF3!
F24,TAOS!F24)
[....]
AVERAGE() probably returned #DIV/0! because AVERAGE() thinks that all
the cells are blank or contain non-numeric values (e.g. text).
=AVERAGE(ESP1!F24+ESP2!F24+LV!F24+LA!F24+RAT!F24+SF1!F24+
SF2!F24+SF3!F24+TAOS!F24)
then if they sum to 0, you will get the #DIV0 error message
=AVERAGE(ESP1!F24+ESP2!F24+LV!F24+LA!F24+RAT!F24+SF1!F24+
SF2!F24+SF3!F24+TAOS!F24)
then if they sum to 0, you will get the #DIV0 error message
Sorry,
I should have said if all cells in the range are blank, and therefore
sum to zero, then you get the #DIV/0 error.
Sorry,
I should have said if all cells in the range are blank, and therefore
sum to zero, then you get the #DIV/0 error.
First of all, you probably want:
AVERAGE(ESP1!F24,ESP2!F24,LV!F24,LA!F24,RAT!F24,SF1!F24,SF2!F24,SF3!
F24,TAOS!F24)
[....]
AVERAGE() probably returned #DIV/0! because AVERAGE() thinks that all
the cells are blank or contain non-numeric values (e.g. text).
Jim S said:Wow what a response, thanks. Let me take the first reference in the formula
and explain, ESP1!F24 is a cell that also has a formula in its own cell that
asks for an average of 4 other cells C24, D24, and E24 on the same
worksheet, one of those cells has data inserted and the others dont but I
still get the #DIV/0! and I wanted this formula to reflect the existing data
from C even though the other cells are still without data, thats the reason
for using the average formula. I had put the /9 because it wasnt giving me
an average but a sum total even though it said average.
--
Jim Salyer
Area Supervisor
Home 505-474-4863
Mobile 505-670-4138
Fax 505-474-4540
Errata....
First of all, you probably want:
AVERAGE(ESP1!F24,ESP2!F24,LV!F24,LA!F24,RAT!F24,SF1!F24,SF2!F24,SF3!
F24,TAOÂS!F24)
[....]
AVERAGE() probably returned #DIV/0! because AVERAGE() thinks that all
the cells are blank or contain non-numeric values (e.g. text).
Oops, my bad! I was thinking of __my__ form of AVERAGE().
AVERAGE(A1+...+A9) works just fine if all cells in the range are blank
(or zero). There is no problem with AVERAGE() if all the arguments
sum to zero. If any cell is non-numeric, the expression will returns
#VALUE!, and so does AVERAGE().