ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   #NAME? (https://www.excelbanter.com/excel-worksheet-functions/22731-re-name.html)

Susan Hayes

#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



Bob Phillips

=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





Harlan Grove

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")



All times are GMT +1. The time now is 06:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com