Am I correct that you want to sum all the values for the new hires, by week?
I'll assume the work week is Mon-Fri, and your weeks start on either Sunday or
Monday (it won't matter which as long as you don't hire anybody on Sunday).
The WEEKNUM function will calculate a week-number for each hire-date. You
would need to put that in an additional column.
I'll assume your control sheet has the name is in column A, hiredate is in
column B, values in column C. You'll put the week number in column D via this
formula: =WEEKNUM(B2).
Then, for your SUMIF formulas, let's say you have a week-ending date in K1.
=SUMIF($D$2:$D$100,WEEKNUM($K$1),$C$2:$C$100)
With this approach, you don't even need the list of week-ending dates on the
2nd sheet.
If this won't work for you, you could modify the table on the 2nd sheet to
include the START date of the week. Assuming you now have ending dates in
column A, You could do that by inserting a new column A, then put the formula
=B2-6 in A2 and copy it down. That will give you week start in A and week end
in B.
On the first sheet, the formula to get the week number becomes
=MATCH(B2,Sheet2!$A$2:$A$53)
In the SUMIF formulas, you replace WEEKNUM(K1) with a MATCH formula:
=SUMIF($D$2:$D$100,MATCH($K$1,Sheet2!$A$2:$A$53),$C$2:$C$53)
I have a control sheet with hire dates and values for these hires. I have
another worksheet with week ending dates on it. I need to find a way to link
these values into the weeks ending, based on the start date. I know how to use
the sum if formula but I dont know how to do it with dates. Since 6/1 and 6/6
will go in the same cell. I need to have my system automated so this is really
important. Thanks.