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