MrSqueal
New Member
- Joined
- Oct 5, 2023
- Messages
- 3
- Office Version
- 2021
- 2019
- Platform
- Windows
- MacOS
- Mobile
G'day,
I'm having trouble with a logical argument using Vlookup where it is incorrectly resolving some of the arguments:
The intent of this formula is that it is checking 3 separate sheets for the individual item in cell "A91" and its state either "NEW","PROG","COMP" or "MCP" and setting the cell of this worksheet to be the same. Unfortunately, it is somehow resolving an item that is set to "COMP" on worksheet "ME MASTER MWP" to "MCP" - It seems to be working in some instances but not in others. For the purposes of this worksheet I really only want to know if the item which is listed on one of the 3 other sheets is "MCP" or not. I have tried a simpler variation but it was resolving as #N/A. At first I thought this was working until I started to interrogate the data and realised it was giving the incorrect result.
Any ideas?
Thanks in advance.
Ryan
I'm having trouble with a logical argument using Vlookup where it is incorrectly resolving some of the arguments:
Excel Formula:
=IF(VLOOKUP(A97,'ME MASTER MWP'!$B$12:$F$306,5)="NEW","NEW",IF(VLOOKUP(A97,'ME MASTER MWP'!$B$12:$F$306,5)="PROG","PROG",IF(VLOOKUP(A97,'ME MASTER MWP'!$B$12:$F$306,5)="COMP","COMP",IF(VLOOKUP(A97,'ME MASTER MWP'!$B$12:$F$306,5)="MCP","MCP",IF(VLOOKUP(A97,'WEE MASTER MWP'!$B$12:$F$143,5)="NEW","NEW",IF(VLOOKUP(A97,'WEE MASTER MWP'!$B$12:$F$143,5)="PROG","PROG",IF(VLOOKUP(A97,'WEE MASTER MWP'!$B$12:$F$143,5)="COMP","COMP",IF(VLOOKUP(A97,'WEE MASTER MWP'!$B$12:$F$143,5)="MCP","MCP",IF(VLOOKUP(A97,'EXEC MASTER MWP'!$B$12:$F$28,5)="NEW","NEW",IF(VLOOKUP(A97,'EXEC MASTER MWP'!$B$12:$F$28,5)="PROG","PROG",IF(VLOOKUP(A97,'EXEC MASTER MWP'!$B$12:$F$28,5)="COMP","COMP",IF(VLOOKUP(A97,'EXEC MASTER MWP'!$B$12:$F$28,5)="MCP","MCP","NULL"))))))))))))
The intent of this formula is that it is checking 3 separate sheets for the individual item in cell "A91" and its state either "NEW","PROG","COMP" or "MCP" and setting the cell of this worksheet to be the same. Unfortunately, it is somehow resolving an item that is set to "COMP" on worksheet "ME MASTER MWP" to "MCP" - It seems to be working in some instances but not in others. For the purposes of this worksheet I really only want to know if the item which is listed on one of the 3 other sheets is "MCP" or not. I have tried a simpler variation but it was resolving as #N/A. At first I thought this was working until I started to interrogate the data and realised it was giving the incorrect result.
Any ideas?
Thanks in advance.
Ryan