Index/Collect - #incorrect argument set
Hi Can anyone please tell me what is wrong with my syntax? I have done index/collect before and the syntax is the same. The dates are "text" which shouldn't matter. I also tried numbers in place of dates and still get the same. I am baffled....
Answers
-
It seems like you are trying to pull the Employee 1 Janurary numbers. If that is the case you can simply do:
=INDEX(Jan3:Dec7, MATCH(Feb@row, PM3:PM7, 0), MATCH(Mar12, Jan1:Dec1, 0))
The incorrect argument you are getting is because the COLLECT function expects the criteria range to match the layout and size of the range you are collecting from. The INDEX function allows you to separate and work through the columns and rows separately
-
Thanks, I could use the 2 Match idea as well. But I changed the Collect range to match the layout and match of the range i am collecting from. But still getting #incorecct argument set. Is my collect range incorrect?
See attached screen shot.
-
Figured out my issues...I had row and column values in the formula backwards. DUH!
-
I hope you're well and safe!
Excellent! Glad you got it working!
Easy to mix up.
Be safe, and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Please support the Community by marking your post with the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!