Correct formula to return symbol from another sheet based on 2 criteria
Hi,
I am trying to capture a monthly snapshot of project health. I created an automation to copy rows to a "Helper Sheet" 1x per month and record the snapshot date. I even translated the snapshot date to a numbered month to try to make the formula easier (no luck).
I created "Monthly Snapshot" sheet where I am trying to write a formula to pull the status from the helper sheet based on the date & project id. I am either getting an incorrect argument or unparseable error.
Formula and screenshots below.
Helper sheet:
Monthly Snapshot sheet:
Formula:
=IFERROR(INDEX(COLLECT({Schedule Health}, {Project ID}, [Project ID]@row, {Snapshot Month}, 8))))
I've tried a few variations but am having no luck. Help!
Best Answer
-
Hello Christine B.,
I set up a sheet to mock yours. I wasn't sure if this is what you needed but I have:
Helper Sheet:Schedule Health is of type Symbols. In the Monthly Snapshot sheet, I have:
In the Schedule Health is of type symbols as well and has the below formula:
=INDEX(COLLECT({Health}, {ID}, [Project ID]@row, {Month}, 8), 1)
{Health} = the Schedule Health from the Helper Sheet
{ID} = the project ID from the Helper Sheet
{Month} = the month of Snapshot from the Helper sheetRemember that an INDEX needs the row_index to complete the formula
I have both columns [Schedule Health] and [Scheduled Health] of the same type and the formula works. Let me know if this works for you.
Answers
-
Hello Christine B.,
I set up a sheet to mock yours. I wasn't sure if this is what you needed but I have:
Helper Sheet:Schedule Health is of type Symbols. In the Monthly Snapshot sheet, I have:
In the Schedule Health is of type symbols as well and has the below formula:
=INDEX(COLLECT({Health}, {ID}, [Project ID]@row, {Month}, 8), 1)
{Health} = the Schedule Health from the Helper Sheet
{ID} = the project ID from the Helper Sheet
{Month} = the month of Snapshot from the Helper sheetRemember that an INDEX needs the row_index to complete the formula
I have both columns [Schedule Health] and [Scheduled Health] of the same type and the formula works. Let me know if this works for you. -
That worked @RDRGSJ00 Thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!