Nesting Formulas
Thanks in advance for any help!
Doing a gantt with dependencies turned off and want my % complete column to calculate the percentage along with an IF statement so that start dates in the future return a 0% complete answer and finish dates in the past return a 100% complete answer.
I know how to do each of them individually but I don't know how to put them together.
The IF statement I'm using is =IF([Start Date]@row > TODAY(), "0", IF([End Date]@row < TODAY(), "100%"))
The regular percentage calculation I'm using is =(TODAY() - [Start Date]@row) / ([End Date]@row - [Start Date]@row)
How do I nest them?
Answers
-
Hi @Darcy Canaday,
Is this what you're after?
=IF([Start Date]@row > TODAY(), 0, IF([End Date]@row < TODAY(), 1, (TODAY() - [Start Date]@row) / ([End Date]@row - [Start Date]@row)))
This will return a decimal if not 0/1, but you can change your column to display percentage and this will show as between 0 and 100%.
Example:
Hope this helps - if you've any questions then just ask! 🙂
-
Yes @Nick Korna , thank you! I also found someone in our office who is an Excel wizard and came to the same solution about 20 min ago and it works perfectly! Thank you for taking the time!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!