Hi All,
I have cells that may have #DIV/0!, #VALUE! or #N/A, for example the addresses are:
A2
B2
C3
D4
E2
how to run sumif or sum for these cells, please note that I don't want to run "if" or "iserror" for each cell.
thanks a lot.
Sergey
Hi All,
I have cells that may have #DIV/0!, #VALUE! or #N/A, for example the addresses are:
A2
B2
C3
D4
E2
how to run sumif or sum for these cells, please note that I don't want to run "if" or "iserror" for each cell.
thanks a lot.
Sergey
Last edited by serouja; 10-10-2012 at 06:08 AM.
Probably better to get rid of the errors in the first place by amending the formulae that produce them. In Excel 2007 you can do this:
=IFERROR(your_existing_formula,"")
or you can use 0 instead of the "".
Hope this helps.
Pete
assuming your range is D5:M80 you can use any of the below array formula.
or=SUMPRODUCT(IFERROR(D5:M80,0))
=SUM(IFERROR(D5:M80,0))
Last edited by kvsrinivasamurthy; 10-11-2012 at 02:44 AM.
thanks for both replies, but if possible without IFERROR for each cell or IFERROR in the SUM function, thanks again..
if cells A1 through A6 have these values:
1
2
#DIV/0!
#N/A
#REF!
5
you could use the following CSE formula to get the SUM, under the stipulations presented by you so far:
![]()
Please Login or Register to view this content.
- i.s.z -
CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
All good ideas are courtesy resources from this forum as well as others around the web.
- e.o.m -
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks