dassassin7
New Member
- Joined
- Mar 4, 2014
- Messages
- 4
Hi, I'm trying to nest an OR statement within an IF statement, with varying luck.
-----------
The following example works:
=IF(OR(H2="Apple",H2="ApplComputer",H2="APPLE CANADA DIV",H2="IPHONE",H2="MACBOOK"),"Apple”,"Other")
While the below example does not and instead returns a #NAME? error:
=IF(OR(H2="Sony",H2=“SONY Home ENTERTAINMENT DIV”),"Sony”,”Other”)
-----------
I'm really not seeing the reason for an error here because the structure and syntax used is consistent in both examples. Can't imagine caps/no caps combination has any impact...
Any help would be greatly appreciated!
Thanks,
D
-----------
The following example works:
=IF(OR(H2="Apple",H2="ApplComputer",H2="APPLE CANADA DIV",H2="IPHONE",H2="MACBOOK"),"Apple”,"Other")
While the below example does not and instead returns a #NAME? error:
=IF(OR(H2="Sony",H2=“SONY Home ENTERTAINMENT DIV”),"Sony”,”Other”)
-----------
I'm really not seeing the reason for an error here because the structure and syntax used is consistent in both examples. Can't imagine caps/no caps combination has any impact...
Any help would be greatly appreciated!

Thanks,
D