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.
[TABLE="width: 268"]
<tbody>[TR]
[TD][/TD]
[TD="align: right"]1/1/2018[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]1/2/2018[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]1/3/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 7, align: center"]January[/TD]
[/TR]
[TR]
[TD]jobNum[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]361421011[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]785221014[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4933[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4019[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
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).
[TABLE="width: 249"]
<tbody>[TR]
[TD]Job[/TD]
[TD][/TD]
[TD][/TD]
[TD]Date[/TD]
[TD][/TD]
[TD]Invoice[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Hours[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4019[/TD]
[TD][/TD]
[TD][/TD]
[TD]01/01/18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3.00[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4019[/TD]
[TD][/TD]
[TD][/TD]
[TD]01/01/18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]5.00[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4019[/TD]
[TD][/TD]
[TD][/TD]
[TD]01/03/18[/TD]
[TD][/TD]
[TD="align: center"]U[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]4.00[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]597631589[/TD]
[TD][/TD]
[TD][/TD]
[TD]01/04/18[/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]7.00[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
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?
[TABLE="width: 268"]
<tbody>[TR]
[TD][/TD]
[TD="align: right"]1/1/2018[/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD]1/2/2018[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]1/3/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 7, align: center"]January[/TD]
[/TR]
[TR]
[TD]jobNum[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD]361421011[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]785221014[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4933[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4019[/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"] 4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have two sheets. My first sheet has job numbers and dates like below.
[TABLE="width: 268"]
<tbody>[TR]
[TD][/TD]
[TD="align: right"]1/1/2018[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]1/2/2018[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]1/3/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 7, align: center"]January[/TD]
[/TR]
[TR]
[TD]jobNum[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]361421011[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]785221014[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4933[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4019[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
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).
[TABLE="width: 249"]
<tbody>[TR]
[TD]Job[/TD]
[TD][/TD]
[TD][/TD]
[TD]Date[/TD]
[TD][/TD]
[TD]Invoice[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Hours[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4019[/TD]
[TD][/TD]
[TD][/TD]
[TD]01/01/18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3.00[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4019[/TD]
[TD][/TD]
[TD][/TD]
[TD]01/01/18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]5.00[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4019[/TD]
[TD][/TD]
[TD][/TD]
[TD]01/03/18[/TD]
[TD][/TD]
[TD="align: center"]U[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]4.00[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]597631589[/TD]
[TD][/TD]
[TD][/TD]
[TD]01/04/18[/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]7.00[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
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?
[TABLE="width: 268"]
<tbody>[TR]
[TD][/TD]
[TD="align: right"]1/1/2018[/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD]1/2/2018[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]1/3/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 7, align: center"]January[/TD]
[/TR]
[TR]
[TD]jobNum[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD]361421011[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]785221014[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4933[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3067X4019[/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"] 4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]