VLookup in 2 different sheets based on a property code

Hi,
I am running a Vlookup on one sheet from 2 different reference sheets depending on the property code. If the data is missing in those sheets it should return a NO. I have done this formula but I am still getting an #unparseable error...
=IF(ISERROR(VLOOKUP([Position ID - DO NOT LEAVE BLANK]@row, {IF(Property@row="SDI", {FS SDI - Labour Manning List 2024 Bu Range 1}, IF(Property@row="SEY", {SEY Manning Budget 2024 Range 1}, ""))}, 8, false)), "NO", VLOOKUP([Position ID - DO NOT LEAVE BLANK]@row, {IF(Property@row="SDI", {FS SDI- Labour Manning List 2024 Bu Range 1}, IF(Property@row="SEY",{SEY Manning Budget 2024 Range 1}, ""))}, 8, false))
Answers
-
Lets start with removing the {curly brackets} from around each IF statement. Those are only used to indicate a {Cross Sheet Reference}.
-
Thanks so much @Paul Newcome !! It works now. What a great feeling when you press enter and the formula works π
Help Article Resources
Categories
Check out the Formula Handbook template!