#NAME? Error

Chris72

Board Regular
Joined
Jun 11, 2007
Messages
115
Hi,

I have the following as part of a larger nested IF statement:

IF(AND(GU31='Drop Downs'!E5,OR(GZ31=A2,NOT(LEN(SUBSTITUTE(GZ31," ",""))=11),NOT(ISNUMBER(SUBSTITUTE(GZ31," ","")+0)))),A8&" - "&GZ27&" - MUST BE 11 DIGITS",

Where:
GU31='Drop Downs'!E5 -> GU31="Yes"
GZ31=A2 -> GZ31="No Input"

GZ31 can be either A2 or a Number... when seperated from the nested IF as above the formula works perfectly... but when added to the Nested If statement it returns #NAME?

Is there a solution?

Chris...
 
Last edited:

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
I would suggest posting the formula that Does Not work, not a part of it that does...
 
Upvote 0
Johno,

Thank you... I did an Error Check and the ERROR kept pointing at that particular line of the equation so I kept referring to it again and again... When I started to break down the equation line by line without using Error checking I found the bracket missing error.

Thank you

Chris...
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,541
Members
449,089
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top