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
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!