Hi SmartSheet Community,
I'm hoping one of you can help me with this problem- I'm collecting incident reports with a form and would like to report on a dashboard how many incidents came in for this current week, and last week.
I have two checkbox columns in my sheet, one for current week, and one for last week and using the following formulas, was able to check the box dynamically week over week. I then use the summary tab to add these up using countifs and a few different criteria/categories.
Current Week: =IF(AND(YEAR(TODAY()) = YEAR(RecordedDate@row), WEEKNUMBER(TODAY()) = WEEKNUMBER(RecordedDate@row + 1)), 1)
Last Week: =IF(WEEKDAY(RecordedDate@row) > 1, IF(AND(YEAR(TODAY()) = YEAR(RecordedDate@row), WEEKNUMBER(TODAY()) - 1 = WEEKNUMBER(RecordedDate@row + 1)), 1))
The issue that I'm experiencing is with using the week number formula which only captures dates from Mon-Sun but I need to count Sunday-Saturday. I've see a few helpful posts from other talented users but so far have not been able to solve this issue.
Example:
The current week should be 7/17 - 7/23.
Last Week should be 7/10 - 7/16 but only form submissions from 7/11 - 7/17 are flagged- thus the counts are skewed.
I greatly appreciate any help you can share.