#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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
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,918
Messages
6,122,252
Members
449,075
Latest member
staticfluids

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