Formula adding previous days
My goal is to have a summary sheet that shows by day how many tasks each worker completed and how many they did not. The intake sheet is set up for them to enter the date when they input data so if they are on vacation or just don't do it, no date is present.
This is my summary sheet to add up done and undone checkboxes from above. There is a date and column 2 is Tasks Checked and column 3 is Tasks Unchecked.
The formula in each cell is as follows:
=INDEX({Person AM Completed Tasks}, MATCH(Date@row, {Date})) + INDEX({Person2 AM Competed Tasks}, MATCH(Date@row, {Date 2}))
The problem with this is that on the first screenshot you can see that "Person" did not enter anything on 10/22 to 10/29 (neither did Person2), but the total completed tasks stays as the same number. Why?
What can I do so if a date is missing from the collection sheet, the formula will make tasks completed as 0 and not a running total? It should be what was entered for the specific date and if that date does not exist on Person AM Completed Tasks, it should count as 0.
Thank you!!
Answers
-
I would suggest a helper column on the source sheet with a formula that will count how many boxes are checked on each row.
Then on your metrics sheet you can use a SUMIFS to pull the new helper column based on person and date range/criteria sets.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!