Helper columns vs #UNPARSEABLE error
Best Answer
-
Ok. Here is a little tip for when you want to consolidate...
Take the formula in the column you want to remove and copy everything except for the initial =.
Then go to the formula you are building into, highlight the full cell reference, then paste.
So if your columns are [Master Formula], [Children Column], and [Parent Column]...
[Master Formula]: =IF(OR([Children Column]@row = 0, [Parent Column]@row > 0), 1, 0)
[Children Column]: =COUNT(CHILDREN())
[Parent Column]: =COUNT(PARENT())
So you are going to take the formula from [Children Column] (excluding the initial =) and drop it into the [Master Formula where it says [Children Column]@row.
=IF(OR(COUNT(CHILDREN()) = 0, [Parent Column]@row > 0), 1, 0)
And then the same for [Parent Column]@row...
=IF(OR(COUNT(CHILDREN()) = 0, COUNT(PARENT()) > 0), 1, 0)
And there is your consolidated formula...
Answers
-
What formulas are you using in the parent and children columns?
-
Children Column
=COUNT(CHILDREN())
Parent Column
=COUNT(PARENT())
-
Ok. Here is a little tip for when you want to consolidate...
Take the formula in the column you want to remove and copy everything except for the initial =.
Then go to the formula you are building into, highlight the full cell reference, then paste.
So if your columns are [Master Formula], [Children Column], and [Parent Column]...
[Master Formula]: =IF(OR([Children Column]@row = 0, [Parent Column]@row > 0), 1, 0)
[Children Column]: =COUNT(CHILDREN())
[Parent Column]: =COUNT(PARENT())
So you are going to take the formula from [Children Column] (excluding the initial =) and drop it into the [Master Formula where it says [Children Column]@row.
=IF(OR(COUNT(CHILDREN()) = 0, [Parent Column]@row > 0), 1, 0)
And then the same for [Parent Column]@row...
=IF(OR(COUNT(CHILDREN()) = 0, COUNT(PARENT()) > 0), 1, 0)
And there is your consolidated formula...
-
Thanks. That worked.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 455 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!