Nested IFAND statement syntax

jpearson

New Member
Joined
Feb 28, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
=+IF(AND(I2="closed",J2="closed"),"Properly Closed / Ready for Acctg",IF(AND(I2="closed",J2="Open"),"Properly Processed / Ready for Johnny",IF(AND(I2="Open",J2="Open"),"Properly Processed / Ready for Johnny",IF(AND(I2="Open",J2="#NA"),"No Reciept",IF(AND(I2="Closed",J2="#NA"),"System Issues",IF(AND(I2="Open",J2="closed"),"System Issues / Ready for Acctg",IF(AND(I2="#NA",J2="#NA"),"No PO / No Reciept",0)))))

when my I2 is OPEN and J2 is #N/A I am getting an #N/A instead of No Receipt. Is there a syntax error or something I'm not seeing?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
try using
ISNA(j2) instead of J2="#NA' same for I2
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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