my setup
[TABLE="width: 451"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]month[/TD]
[TD]employee[/TD]
[TD]consecutive days[/TD]
[TD][/TD]
[TD]sue consecutive total[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]sue [/TD]
[TD]10[/TD]
[TD][/TD]
[TD]61[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]dave [/TD]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]jenny[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]sue [/TD]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]sue [/TD]
[TD]14[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]jenny[/TD]
[TD]15[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]dave [/TD]
[TD]9[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]sue [/TD]
[TD]17[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]dave [/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]sue [/TD]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]jenny[/TD]
[TD]20[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]dave [/TD]
[TD]24[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
month and employee column is on sheet "month"
consecutive days is on another sheet
"consec days"
the months on "month" sheet are relevant to the "consec sheet"
i am looking for a formula that will add the entries for sue on "consec days" sheet.
which would be....
month 1, 4, 5, 8, 10 on sheet "consec days"
which would equal 10+13+14+17+7 =61
[TABLE="width: 451"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]month[/TD]
[TD]employee[/TD]
[TD]consecutive days[/TD]
[TD][/TD]
[TD]sue consecutive total[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]sue [/TD]
[TD]10[/TD]
[TD][/TD]
[TD]61[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]dave [/TD]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]jenny[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]sue [/TD]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]sue [/TD]
[TD]14[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]jenny[/TD]
[TD]15[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]dave [/TD]
[TD]9[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]sue [/TD]
[TD]17[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]dave [/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]sue [/TD]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]jenny[/TD]
[TD]20[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]dave [/TD]
[TD]24[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
month and employee column is on sheet "month"
consecutive days is on another sheet
"consec days"
the months on "month" sheet are relevant to the "consec sheet"
i am looking for a formula that will add the entries for sue on "consec days" sheet.
which would be....
month 1, 4, 5, 8, 10 on sheet "consec days"
which would equal 10+13+14+17+7 =61