#NA error

M

Mark R

Hi,

i am auto summing on a range of cells. soome of the cells do not have
figures in yet but do have formulas that return #NA at the moment.

How do I ignore those cells until they have data in and only count the cells
with figures

i.e
1
1
#N/A
#N/A
#N/A
#N/A
 
R

Ron Coderre

With these values in A2:A7
1
1
#N/A
#N/A
#N/A
#N/A

If the only errors in the range are #N/A, this formula ignores those returns
the total:

A8: =SUMIF(A2:A7,"<>#N/A")

Does that help?
***********
Regards,
Ron

XL2003, WinXP
 
B

Bob Phillips

=SUM(IF(ISNUMBER(A1:A10),A1:A10))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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

Top