Count and compare date columns in 'form' based worksheet
I would like to know how I can count number of activities (rows) which are completed ('finish' date column) at or before 'planned finish' date. In the same formula it should only be counted when 'complete' column is ticked off and empty cells should not be counted.
Note that this is a 'form based' worksheet, meaning rows are added each day by employees using a 'form', hence adding a support column is not an option (as it is not possible to pre-define a formula in a form).
I have already tried 'COUNTIFS' formula incl 'IFERROR' and '@CELL', however I'm stuck when it comes to compare dates in two whole columns ([finish]:[finish] <= [planned finish]:[planned finish]). Please provide your thoughts on how I may proceed.
In advance, thanks!
Comments
-
An additional helper column is possible even if forms are used for submission. As long as the two previous rows have the formula in them, it will autofill to new rows as they are added whether they be added to the top or bottom of the sheet.
You could add in a helper checkbox column and use a formula to tick the box based on your criteria then count the ticked boxes.
-
Thanks Paul, that was new to me! I have previously discussed with Smartsheet support adding pre-defined formulas into a form (for solving similar cases like the one presented above). The reply has always been that I can't, so I was surprised that this workaround was never presented as it works perfectly well! However, this solution solves the current case and is also of great help in other 'form-based' sheets that I have.
Cheers!
-
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
- 141 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!