Assuming the following:
1. The name, date, and hours are in different cells
2. You want to put the hours worked into the intersection in a grid
Here is my sample data:
Code:
name date hrs
mike 08/05/04 8
dave 08/05/04 10
jill 08/05/04 5
mike 08/06/04 8
dave 08/06/04 10
jill 08/06/04 5
mike 08/07/04 8
dave 08/07/04 10
jill 08/07/04 5
mike 08/08/04 8
dave 08/08/04 10
My table resulted in:
Code:
mike dave jill
8/5/2004 8 10 5
8/6/2004 8 10 5
8/7/2004 8 10 5
Using named ranges of Name, Date and Hours the formula I used was (in cell B2):
Code:
=SUMPRODUCT((name=B$1)*(date=$A2)*(hours))
You can copy this formula across and down to fill the table.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.