HOW CAN i PUT AN IF STATEMENT FORMULA ON A CELL WITH DATA VALIDATION
- User
HOW CAN i PUT AN IF STATEMENT FORMULA ON A CELL WITH DATA VALIDATION
- Assistant
- User
=IF(AND('Dashboard data (37000 Capacity '!L2=CREDIT,'Dashboard data (37000 Capacity '!I2="EXTERNALLY INITIATED CREDIT ITEM"),"Domestic electronic funds transfer into account","")
- Assistant
It seems you're trying to create an IF statement with the AND function to check two conditions in Excel. However, there are a few syntax issues in your formula. Here's a corrected version:
=IF(AND('Dashboard data (37000 Capacity '!L2="CREDIT", 'Dashboard data (37000 Capacity '!I2="EXTERNALLY INITIATED CREDIT ITEM"), "Domestic electronic funds transfer into account", "")Here’s an explanation of the changes and how to correct such issues:
- User
=IF(AND(B2="CREDIT",C2 =OR("EXTERNALLY INITIATED CREDIT ITEM","NPP SINGLE CREDIT POSTINGS (SCP)")),"Domestic electronic funds transfer into account","")
- Assistant
It looks like you're trying to use the
IFandANDfunctions to check multiple conditions, and you're incorporatingORto handle multiple possible values for a condition. However, the syntax for usingORwithin anANDstatement needs correction.In Excel, the
ORfunction should be nested properly within theANDfunction. Here’s how you can correct your formula:=IF(AND(B2="CREDIT", OR(C2="EXTERNALLY INITIATED CREDIT ITEM", C2="NPP SINGLE CREDIT POSTINGS (SCP)")), "Domestic electronic funds transfer into account", "")Explanation:
-
AND Function: Used to ensure both conditions need to be true.
-