On Friday, July 13, 2012 1:08:13 PM UTC-4, Alex Plantema wrote:
> You compare dates with project names.
>
Thank you alex. I thought what it means was to find all the column B data between dates in A3 and B3, put the total hours for the project name in B3.
Use the example below:
1. data in Data worksheet.
date, project name, hours spent
--------------------------------
7/9/2012,project 1,1.5
7/9/2012,project 2,1
7/9/2012,project 3,4
7/10/2012,project 4,1.5
7/10/2012,project 2,3
7/10/2012,project 3,2
7/11/2012,project 1,4.5
7/12/2012,project 2,3
7/12/2012,project 3,2
7/12/2012,project 4,2
7/13/2012,project 2,5.5
I'd like to find out total hours worked on each project for the past week. use the example above, I'd like to get the numbers in the hours column like the one below:
date start,date end,project,hours
----------------------------------
7/9/2012,7/13/2012,project 1,6
7/9/2012,7/13/2012,project 2,12.5
7/9/2012,7/13/2012,project 3,8
7/9/2012,7/13/2012,project 4,3.5
Please advise the right formula to get these numbers.
Thanks,