I have been going nuts trying to figure out what formula to use for this.
I have a spread sheet with data entered something like this
SHEET2
A B C
[TABLE="width: 192"]
<tbody>[TR]
[TD="width: 64"]first[/TD]
[TD="width: 64"]last[/TD]
[TD="width: 64"]hours[/TD]
[/TR]
[TR]
[TD]frank[/TD]
[TD]smith[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ed[/TD]
[TD]sham[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sara[/TD]
[TD]dart[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]mel[/TD]
[TD]bent[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hank[/TD]
[TD]bruce[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
and another sheet that I want to be able to paste a report in that when its in there would something look like this
SHEET2
A B C D E F
[TABLE="width: 448"]
<tbody>[TR]
[TD="width: 64"]first[/TD]
[TD="width: 64"]last[/TD]
[TD="width: 64"]program[/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"]hours[/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD]frank[/TD]
[TD]smith[/TD]
[TD]hill[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]20[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ed[/TD]
[TD]sham[/TD]
[TD]maple[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sara[/TD]
[TD]dart[/TD]
[TD]crest[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]20[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]mel[/TD]
[TD]bent[/TD]
[TD]hill[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hank[/TD]
[TD]bruce[/TD]
[TD]maple[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]40[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ed[/TD]
[TD]sham[/TD]
[TD]crest[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have been trying to find a formula that I can put in sheet1 under the C column that will match the first and last names from each sheet and produce the sum of hours in the C column. therefor if a name is mentioned more than once in SHEET2 then both values for hours will be added and represented as a sum in SHEET1 across from their name. I apologize if I am in the wrong section as I have never posted and will be able to clarify anything if necessary I just am in need of this formula to complement other data in SHEET1 that is not listed.
I have a spread sheet with data entered something like this
SHEET2
A B C
[TABLE="width: 192"]
<tbody>[TR]
[TD="width: 64"]first[/TD]
[TD="width: 64"]last[/TD]
[TD="width: 64"]hours[/TD]
[/TR]
[TR]
[TD]frank[/TD]
[TD]smith[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ed[/TD]
[TD]sham[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sara[/TD]
[TD]dart[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]mel[/TD]
[TD]bent[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hank[/TD]
[TD]bruce[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
and another sheet that I want to be able to paste a report in that when its in there would something look like this
SHEET2
A B C D E F
[TABLE="width: 448"]
<tbody>[TR]
[TD="width: 64"]first[/TD]
[TD="width: 64"]last[/TD]
[TD="width: 64"]program[/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"]hours[/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD]frank[/TD]
[TD]smith[/TD]
[TD]hill[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]20[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ed[/TD]
[TD]sham[/TD]
[TD]maple[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sara[/TD]
[TD]dart[/TD]
[TD]crest[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]20[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]mel[/TD]
[TD]bent[/TD]
[TD]hill[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hank[/TD]
[TD]bruce[/TD]
[TD]maple[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]40[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ed[/TD]
[TD]sham[/TD]
[TD]crest[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have been trying to find a formula that I can put in sheet1 under the C column that will match the first and last names from each sheet and produce the sum of hours in the C column. therefor if a name is mentioned more than once in SHEET2 then both values for hours will be added and represented as a sum in SHEET1 across from their name. I apologize if I am in the wrong section as I have never posted and will be able to clarify anything if necessary I just am in need of this formula to complement other data in SHEET1 that is not listed.