#NUM! Error for named formula

D

Don

I am doing a very simple named formula that doesn't work (#NUM! error). Here
are the details:

I have two column ranges named CoL_A,and Col_B (sheet1!$A:$A, sheet1!$B:$B).

Col_A and Col_B have small random numbers in each row.

I have a formula named TOT that is simply defined as =Col_A+Col_B.

When I put =tot in column C I get a #NUM! error (any row).

If I put =Col_A+Col_B in column C it works fine (any row).

What am I doing wrong, It's driving me crazy.

I'm using Excel 2003 and Excel 2000 on two different computers, same error
in each one.

Don
 
D

Dave Peterson

How about:
=sum(col_A,col_B)

I bet that there is something non-numeric in one of those ranges.

But it's a good thing you got the error.

if you had used:
=a1:a10+b1:b10

You may not expect to see what's returned!
 
D

Don

I tried =a1:a10+b1:b10 in cell c3 and got the sum of a2 and b2 which sounds
right.

I tried =sum(col_A,col_B) and got the sum of column a plus the sum of column
b. which also sounds right.

I still get #NUM! when I use =tot.
 
C

Charles Williams

XL doesn't like using entire columns in Named Formulae: works fine if
you use $A$1:$A$65000 etc

regards
Charles
 
D

Don

Yup, that did it.

Thanks very much. I guess it's a bug.

I also noticed that sometimes if there is a non-numeric number anywhere in
the columns it causes a #NUM! error. I think Dave Peterson mentioned that
issue.

Thanks again.
 

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