INDEX/COLLECT Giving #INVALID VALUE
I have a sheet set up with a form for employees to enter their name, hours, and week ending date on a weekly basis. In order to create a dashboard chart to compare all employee's hours week-to-week, I've set up a separate sheet to reference the entry sheet with the week ending dates as the primary column and employee names as column headers. To pull the hours into the new sheet I've created the following formula:
=INDEX(COLLECT({Actual Utilization - Weekly Utilization}, {Actual Utilization - Name}, "Employee Name", {Actual Utilization - Week Ending}, [Week Ending]@row), 1)
In theory this should pull the hours from the row where the given employee name and week ending match the respective values in the source sheet, however it is giving an #INVAID VALUE error. Can anyone see what I'm doing wrong?
EDIT: Solved it, week ending dates needed to both be Date column types. Silly mistake.
Best Answer
-
Dates must be in a column that is set as a date type column. It cannot be the primary.
Melissa Boehl
Smartsheet Architect | TurningPoint Energy
Answers
-
Dates must be in a column that is set as a date type column. It cannot be the primary.
Melissa Boehl
Smartsheet Architect | TurningPoint Energy
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!