Date using index/collect if between X and Y on another sheet
Hello, Community! I'm trying to pull in the Return_Date value from the Dates sheet where the Earnings End Date on the Additional Pay sheet is between the Start and End date ranges on the Dates sheet but am getting an #INCORRECT ARGUMENT SET error and not sure why. Any thoughts or alternatives? Thanks, all!
Answers
-
Looks like your COLLECT criterion and ranges and flip-flopped. Should be
=INDEX(COLLECT({Return_Date}, {Start}, <= [Earnings End Date @row], {End}, >= [Earnings End Date]@row),1)
Jason Tarpinian - Sevan Technology
Smartsheet Aligned Partner
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!