Reference formula for returning value based on whether a date is between two dates
I am using a reference sheet to reference the name of the payment period between dates. I used this equation but get #INVALID OPERATION:
=INDEX(COLLECT({Name}, {Start Date}, [Date of Shoot]@row >= @cell, {End Date}, [Date of Shoot]@row, <= @cell), 1)
Answers
-
Lets first try removing the comma from after the second [Date of Shoot]@row.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
@Paul Newcome It works for the first row on my reference sheet but does not work for other dates within the other rows in the reference sheet
-
@Paul Newcome Nevermind, that works. Fixed my issue. Thank you!
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!