The worksheet is here: https://dl.dropbox.com/u/3327208/Excel/PAERTO.xlsm
This is what I am trying to do, I am trying to “count” how many late jobs fall between a set of dates. As far as I remember, Sumproduct() is meant to do that, with some calculations of course thrown in.
I am using it like this: =SUMPRODUCT((H23:H29>='Raw Data'!K2)*(H23:H29<='Raw Data'!K3))
This formula should calculate the time between today, and a prior, and come back with a response. There should be 1. At least when this was posted. If not, then by tomorrow there will be none. And it should fall with a few others into the Within two Weeks range.
If someone could help me, it be greatly appreciated, because as far as I can tell this is not working the way it should… I am using Excel 2010 btw.
I made changes to your workbook which can be downloaded here:
https://dl.dropbox.com/u/19599049/PAERTO_v2.xlsm
Because you are using Excel 2010 you can use the sumifs function which may be easier for you to work with and edit.
Added formulas in green cells (F5:F7)
Within a week: between day in ‘Raw data’ K2 and 7 days after
Within two weeks: between day in ‘Raw data’ K2 and 14 days after
Over two weeks: greater than 15 days after date from K2.