IF statement VLOOKUP reference to other sheets
Hello,
I am looking to create a VLOOKUP reference to other sheets based on a date column. I think I am pretty close but still getting #INVALID OPERATION
=IF([Date Agreed]@row = >31 / 11 / 2023, (VLOOKUP(Neutral@row, {2022/23 Mediator List Range 1}, 6, false)), (VLOOKUP(Neutral@row, {Copy of 2022/23 Mediator List Range 1}, 6, false)))
I can't see any problems with either the IF statement or the VLOOKUP!
Help please!
Karen
Best Answer
-
There is a slight issue: November only has 30 days in it so 31/11/2023 isn't a valid date! Try amending to
=IF([Date Agreed]@row >= DATE(2023, 11, 30), (VLOOKUP(Neutral@row, {2022/23 Mediator List Range 1}, 6, false)), (VLOOKUP(Neutral@row, {Copy of 2022/23 Mediator List Range 1}, 6, false)))
This should get rid of the invalid operation - if there are any problems due to the VLOOKUPS etc. then just post!
Answers
-
There is a slight issue: November only has 30 days in it so 31/11/2023 isn't a valid date! Try amending to
=IF([Date Agreed]@row >= DATE(2023, 11, 30), (VLOOKUP(Neutral@row, {2022/23 Mediator List Range 1}, 6, false)), (VLOOKUP(Neutral@row, {Copy of 2022/23 Mediator List Range 1}, 6, false)))
This should get rid of the invalid operation - if there are any problems due to the VLOOKUPS etc. then just post!
-
You are an angel! I feel very silly now! Thank you so much
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!