Find
Hello everyone,
I'm afraid this is a very basic question: How do I find the start/end date (or generally any other value from a row) of the main task in my sheet? By "main task" I mean the tasks that governs all others tasks, where ANCESTORS would equal zero, but that's not neccessarily in row 1.
So far I have tried to use INDEX and COLLECT where ANCESTOR=0 will determine which tasks is the main taks. I get various error messages... Please help, thanks!
Answers
-
You will need a column with a basic formula to output the ancestor count onto each row:
=COUNT(ANCESTORS())
Then you can use something like this...
=INDEX([Start Date]:[Start Date], MATCH(0, Ancestors:Ancestors, 0))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Hi Paul,
thanks for your quick response! Upon using =INDEX(Start:Start, MATCH(0, Ancestors:Ancestors,0)) I am now getting an "invalid column value" error back. Any ideas?
-
The formula above would need to go into a date type column as it is pulling a date value.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!