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
- 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
Check out the Formula Handbook template!