I'm collecting data on number of inspections conducted each day, and would like to calculate summaries for each week and month. I've figured out the month formula, but struggling with how to do this for each week. I think I need to create a formula that specifies the date range for each week (though if this could be more automated that would be great). Here's what I've come up with and its returning a value of 0, which is not correct. Any input is appreciated. Thank you.
Formula to calculate number of inspections conducted for first month of January:
=SUMIF(Date:Date, AND(@cell < DATE(2018, 1, 8), @cell > DATE(2018, 1, 1), [Number of Inspections]:[Number of Inspections]))