I'm very new to VLookup so I'm not sure if this is the best way to go about this.
I have two sheets. My first sheet has job numbers and dates like below.
<tbody>
</tbody>
My second sheet has more job numbers, the date they were done, hours for each person on the job and whether the job was invoiced (marked with a U).
<tbody>
</tbody>
My Goal is to find any job numbers on the first sheet, that are also on the second sheet, then to sum up all of the hours on a particular day. For example job number 3067X4019 had hours on 1/1/18 of 3 and 5, so the total on Sheet one would sum up to 8. Then there were 4 more hours on 1/3/18 so the end result for sheet one would look something like the below table. I would assume you do some combination of vlookup and sum but I have no idea how to account for the dates. Can someone please help?
<tbody>
</tbody>
I have two sheets. My first sheet has job numbers and dates like below.
1/1/2018 | 1/2/2018 | 1/3/2018 | |||||
January | |||||||
jobNum | 1 | 2 | 3 | ||||
361421011 | |||||||
785221014 | |||||||
3067X4933 | |||||||
3067X4019 |
<tbody>
</tbody>
My second sheet has more job numbers, the date they were done, hours for each person on the job and whether the job was invoiced (marked with a U).
Job | Date | Invoice | Hours | ||||||||
3067X4019 | 01/01/18 | 3.00 | |||||||||
3067X4019 | 01/01/18 | 5.00 | |||||||||
3067X4019 | 01/03/18 | U | 4.00 | ||||||||
597631589 | 01/04/18 | 7.00 |
<tbody>
</tbody>
My Goal is to find any job numbers on the first sheet, that are also on the second sheet, then to sum up all of the hours on a particular day. For example job number 3067X4019 had hours on 1/1/18 of 3 and 5, so the total on Sheet one would sum up to 8. Then there were 4 more hours on 1/3/18 so the end result for sheet one would look something like the below table. I would assume you do some combination of vlookup and sum but I have no idea how to account for the dates. Can someone please help?
1/1/2018 | 1/2/2018 | 1/3/2018 | |||||
January | |||||||
jobNum | 1 | 2 | 3 | ||||
361421011 | |||||||
785221014 | |||||||
3067X4933 | |||||||
3067X4019 | 8 | 4 | |||||
<tbody>
</tbody>