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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!