Formula to populate a cell based on another cell's formula criteria
Hi Again,
I have a formula in row 1 of column Project Status that identifies the last value in the column that has any status except Not Started:
=INDEX(COLLECT([Project Status]:[Project Status], [Project Status]:[Project Status], <>"Not Started"), COUNTIF([Project Status]:[Project Status], <>"Not Started"))
In the example below, it identifies row 9 as having that value (On Target) and places it in row 1 of the Project Status column.
I populated the Trend, Next Steps and Impediments columns with values and want a formula that takes the values from the same row 9 and puts them into row 1.
I tried the following formula but the cells remain blank instead of emulating the values in row 9.
=INDEX([Trend]:[Trend], MATCH([Project Status]1, [Project Status]:[Project Status], 0))
I think I need to have the formula above refer to the logic of the first formula but I'm unsure of the syntax.
Please advise!
Best Answers
-
Hey @jromano
Try this
=INDEX(COLLECT(Trend:Trend, [Project Status]:[Project Status], [Project Status]1), COUNTIFS([Project Status]:[Project Status], [Project Status]1))
Will this work for you?
Kelly -
Wow! This is perfect! Thank you!
Interestingly I had to tweak it for the Next Steps and Impediments column to put [ ] around Next Steps and Impediments for it to work.
Answers
-
Hey @jromano
Try this
=INDEX(COLLECT(Trend:Trend, [Project Status]:[Project Status], [Project Status]1), COUNTIFS([Project Status]:[Project Status], [Project Status]1))
Will this work for you?
Kelly -
Wow! This is perfect! Thank you!
Interestingly I had to tweak it for the Next Steps and Impediments column to put [ ] around Next Steps and Impediments for it to work.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!