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
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 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!