Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
LastChild() function?
Is there a way to display the value of a cell from the last row of children in a given parent row cell?
Comments
-
-
-
Awesome! Thanks. I'll give it a try. Looks promising.
-
Yep. Worked perfectly. Thank you!
-
Glad to hear it.
-
Luke_TK,
First: BRILLIANT. Very impressive.
Second: There's a bug. I fixed it.
In case the sheet goes away (and my examples do), the solution works as so
=INDEX(CHILDREN(Example23), COUNT(CHILDREN(Example23)) + COUNTIF(CHILDREN(Example23), ISBLANK(@cell)), 1)
using the INDEX function and COUNT of the number children.
The bug was that there might be blanks in the children. I added the COUNTIF() portion to account for that.
Third: The First is not sarcasm, despite the bug. I really really like that solution. Bravo Zulu.
Craig
-
Good catch thanks for checking behind me lol I didn't even think about it having the possibility of being blank
-
Luke_TK,
I wasn't checking, I was making sure I understood the concept. But you are welcome.
Craig
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