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
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 464 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 60 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 40 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!