Hello, I'm hoping to get help with a formula that will calculate days since a last event.
Best Answer
-
Hi @vmontoya,
You possibly would want to do this with either cross sheet references or sheet summaries rather than by line (largely to prevent duplication of results).
Formula wise, something like this (for a sheet summary on days since Near Miss):
=TODAY() - MAX(COLLECT([Date of incident]:[Date of incident], Classification:Classification, "Near Miss"))
Example output:
If you want to, you can add additional criteria (e.g. by Production area), but if you have a large number of such areas I would probably do this as a separate sheet so you can have the areas listed and then a reference for the column rather than needing to rejig the formula constantly.
Hope this helps, but if you've any problems/questions, just post! 🙂
Answers
-
Hi @vmontoya,
You possibly would want to do this with either cross sheet references or sheet summaries rather than by line (largely to prevent duplication of results).
Formula wise, something like this (for a sheet summary on days since Near Miss):
=TODAY() - MAX(COLLECT([Date of incident]:[Date of incident], Classification:Classification, "Near Miss"))
Example output:
If you want to, you can add additional criteria (e.g. by Production area), but if you have a large number of such areas I would probably do this as a separate sheet so you can have the areas listed and then a reference for the column rather than needing to rejig the formula constantly.
Hope this helps, but if you've any problems/questions, just post! 🙂
-
Thank you, Nick!!
-
No problem, happy to help.
I've had to build something similar to this in the past, so if you have any other questions just ask! 🙂
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!