Level 1 Net Days

Hi what column formula can I use in days to sell that calculates the number of days between start date and date marked sold that calculates only on the level 1 main level. I do not need it to calculate the children.
Answers
-
=IF(COUNT(ANCESTORS([Primary Column]@row)=0, NETDAYS([Start Date]@row,[End Date]@row),"")
Whenever I use parent/children layout, I include a Hierarchy column that includes that =COUNT(ANCESTORS(Primary)) as a column formula, so that I can use it for multiple things - references to other formulas, conditional formatting, etc. I swear, the formula is one of my best friends. :) Note that you're counting how many indent levels above the current one there are - so the top level is 0, not 1.
Good luck!
If this answer resolves your question, please help the Community by marking it as an accepted answer. I'd also be grateful for your response - "Insightful"or "Awesome" reactions are much appreciated. Thanks!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!