#UNPARSEABLE error on my date using parent/child relationship
What is wrong with my formula for parent/child relation?
=IF((COUNT(CHILDREN(Start Date@row))) > 0, INDEX(CHILDREN(Start Date@row), 1), "")
All other columns are working fine except for my dates.
Best Answer
-
@Leighmercado you definitely have to have the brackets if you include the column name. Invalid column value is because you are putting a date in a non date column.
To get around this error, you can add a "" to the end of the formula, like this:
=IF(COUNT(CHILDREN([Start Date]@row)) > 0, INDEX(CHILDREN([Start Date]@row), 1), "")+""
You could also reduce your formula to this:
=IFERROR(INDEX(CHILDREN([Start Date]@row), 1), "") + ""
Answers
-
see below
-
@Leighmercado You need brackets around start date:
=IF(COUNT(CHILDREN([Start Date]@row)) > 0, INDEX(CHILDREN([Start Date]@row), 1), "")
If it's in the same column, you don't even need start date at all, like this
=IF(COUNT(CHILDREN()) > 0, INDEX(CHILDREN(), 1), "")
-
@Samuel Mueller I tried both - with the bracket and without - now getting #INVALID COLUMN VALUE error
-
@Leighmercado you definitely have to have the brackets if you include the column name. Invalid column value is because you are putting a date in a non date column.
To get around this error, you can add a "" to the end of the formula, like this:
=IF(COUNT(CHILDREN([Start Date]@row)) > 0, INDEX(CHILDREN([Start Date]@row), 1), "")+""
You could also reduce your formula to this:
=IFERROR(INDEX(CHILDREN([Start Date]@row), 1), "") + ""
-
Thank you @Samuel Mueller! it worked!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!