#1   Report Post  
Susan Hayes
 
Posts: n/a
Default #NAME?

Hello

I am trying to create a blank in a cell if the following appears: #NAME?

I'm using a program that downloads information into excel, however when a particular cell with a formula doesn't
pickup the information eg. a price or name it returns: #NAME?

Eg. in cells A10 and B10 both show #NAME?

When this happens I would like cell A2 to remain blank, however it does not work. I wrote the following:

If(and(A10="#NAME?",B10="#NAME?"),"","")


Thank you in advance

Susan


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=IF(AND(ISERROR(A10),ISERROR(B10)),"","value")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Susan Hayes" wrote in message
...
Hello

I am trying to create a blank in a cell if the following appears: #NAME?

I'm using a program that downloads information into excel, however when a

particular cell with a formula doesn't
pickup the information eg. a price or name it returns: #NAME?

Eg. in cells A10 and B10 both show #NAME?

When this happens I would like cell A2 to remain blank, however it does

not work. I wrote the following:

If(and(A10="#NAME?",B10="#NAME?"),"","")


Thank you in advance

Susan




  #3   Report Post  
Harlan Grove
 
Posts: n/a
Default

Bob Phillips wrote:
=IF(AND(ISERROR(A10),ISERROR(B10)),"","value")

....

This picks up any error, not #NAME? only. Better to use

=IF(COUNTIF(A10:B10,"#NAME?")=2,"","value")

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"