If IsNumber or IsNumeric

K

Kitty

I'm not an excel formula pro and am struggling. Can anyone help?
I've got a column of data, say C1:C10. The contents of ea. cell in
this column are derived from a formula in another workbook. The C
cells can be populated with either a number or #N/A N.A.

I'm trying to create a formula that results in the new cell showing the
number if the C cell holds a number, but also shows a 0 if the C cell
shows #N/A N.A.

Here's what I've got (and I've tried both isnumber and isnumeric).
=IF(IsNumber C1:c10, C1:c10, 0).

I'm sure this is pretty simple but I can't make it work. Thanks for
any ideas.
 
C

Conan Kelly

Kitty,

if you look up the ISERR or ISERROR functions in Help, that should help you out. Using one of these functions in your IF function
should do what you need it to.

I hope this helps,

Conan
 
J

Jake Marx

Hi Kitty,

As Conan said, you can use ISERROR to determine if the value is #N/A. There
is a more specific worksheet function named ISNA that will do it as well:

=IF(ISNA(C1), 0, C1)

I would suggest use ISNA since you're looking for that specific error.

--
Regards,

Jake Marx
www.longhead.com


[please keep replies in the newsgroup - email address unmonitored]
 

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