IF(AND( statement error in Validation List?

rguliuzza

New Member
Joined
Mar 12, 2012
Messages
37
Hello Group,

I am perplexed by this issue and cannot identify the cause. I have written some logic regarding the content of two cells, (D61 and D62). The following logic works without error:

=IF(AND(D$61="Jacket",AA62=2),Cooling_PE, IF(D$61="Electric_Blanket",Common!$A$13,Common!$A$13))

Where "Common" is a TAB where I keep all the Formula Name groups.

I then insert a second IF(AND( statement in the middle and get the error: "A named range you specified cannot be found"

=IF(AND(D$61="Jacket",AA62=2),Cooling_PE, IF(AND(D$61=”Jacket”,AA62<>2),Cooling_Source,IF(D$61="Electric_Blanket",Common!$A$13,Common!$A$13)))

All my Formula Names are identified - (Cooling_PE and Cooling_Source)

Is there something I am missing in creating this logical statement?

Thank you in advance for your replies.

With best regards,
Rick
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Did you use the Name Manager to see if Cooling_Source has a Refers to: error?
 
Upvote 0
Hi Joe,

Yes I did. What was interesting, if I type the formula in it seems to work; however, if I copy and paste it in, it fails. I have checked for leading and trailing spaces and found none. I am not sure why this occurs.

I must have Excel Gnomes.

Thank you.

With best regards,
Rick
 
Upvote 0
Makes me think your source for obtaining the copy is suspect - maybe has some non-printing characters or ...?
 
Upvote 0

Forum statistics

Threads
1,215,475
Messages
6,125,028
Members
449,205
Latest member
Eggy66

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