markster
Well-known Member
- Joined
- May 23, 2002
- Messages
- 579
- Office Version
- 365
- Platform
- Windows
- MacOS
Hi everyone,
Just need a bit of help with a formula.
Basically, what I'm trying to write a formula on Sheet 1 that says if Cell A2 = Cell B2 on Sheet 2, AND, Cell m2 = Cell L2 on Sheet 2, apply my look up formula but if it they don't match, don't run the VLOOKUP just return "No". So I started the formula like this
IF(AND(A2=Sheet2!B2,M2=Sheet2!L2,(VLOOKUP etc, etc.), "No"
I just get a formula error - the lookup on it's own work fine it's when I try to add the IF(AND) can anyone help?
Just need a bit of help with a formula.
Basically, what I'm trying to write a formula on Sheet 1 that says if Cell A2 = Cell B2 on Sheet 2, AND, Cell m2 = Cell L2 on Sheet 2, apply my look up formula but if it they don't match, don't run the VLOOKUP just return "No". So I started the formula like this
IF(AND(A2=Sheet2!B2,M2=Sheet2!L2,(VLOOKUP etc, etc.), "No"
I just get a formula error - the lookup on it's own work fine it's when I try to add the IF(AND) can anyone help?