andyfox1979
New Member
- Joined
- Dec 5, 2012
- Messages
- 32
I'd like to be able to sumif based on a certain criteria (vendor code in my case, here being ACM) plus the week number. In a seperate cell i'd like to sumif by this same criteria plus the entire month. See below:
[TABLE="width: 772"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Vendor[/TD]
[TD]Date[/TD]
[TD]WeekNum[/TD]
[TD]Invoice #[/TD]
[TD]PO #[/TD]
[TD]Amt[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/5/2012[/TD]
[TD]1[/TD]
[TD]3042788[/TD]
[TD][/TD]
[TD]$146.41[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/5/2012[/TD]
[TD]1[/TD]
[TD]3042789[/TD]
[TD][/TD]
[TD]$64.29[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/5/2012[/TD]
[TD]1[/TD]
[TD]3042790[/TD]
[TD][/TD]
[TD]$159.34[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/5/2012[/TD]
[TD]1[/TD]
[TD]3042791[/TD]
[TD][/TD]
[TD]$80.67[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/5/2012[/TD]
[TD]1[/TD]
[TD]3042792[/TD]
[TD][/TD]
[TD]$141.95[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/6/2012[/TD]
[TD]1[/TD]
[TD]3043512[/TD]
[TD][/TD]
[TD]$17.36[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/13/2012[/TD]
[TD]2[/TD]
[TD]3047698[/TD]
[TD][/TD]
[TD]$52.31[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/13/2012[/TD]
[TD]2[/TD]
[TD]3047699[/TD]
[TD][/TD]
[TD]$38.55[/TD]
[/TR]
</tbody>[/TABLE]
This is what my output page looks like:
[TABLE="width: 444"]
<colgroup><col><col><col><col span="2"></colgroup><tbody>[TR]
[TD]Vendor[/TD]
[TD]Total[/TD]
[TD] December[/TD]
[TD] Week1 [/TD]
[TD]Week2[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD="align: right"]$13,284.00[/TD]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance! I'm a bit frustrato.
[TABLE="width: 772"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Vendor[/TD]
[TD]Date[/TD]
[TD]WeekNum[/TD]
[TD]Invoice #[/TD]
[TD]PO #[/TD]
[TD]Amt[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/5/2012[/TD]
[TD]1[/TD]
[TD]3042788[/TD]
[TD][/TD]
[TD]$146.41[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/5/2012[/TD]
[TD]1[/TD]
[TD]3042789[/TD]
[TD][/TD]
[TD]$64.29[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/5/2012[/TD]
[TD]1[/TD]
[TD]3042790[/TD]
[TD][/TD]
[TD]$159.34[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/5/2012[/TD]
[TD]1[/TD]
[TD]3042791[/TD]
[TD][/TD]
[TD]$80.67[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/5/2012[/TD]
[TD]1[/TD]
[TD]3042792[/TD]
[TD][/TD]
[TD]$141.95[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/6/2012[/TD]
[TD]1[/TD]
[TD]3043512[/TD]
[TD][/TD]
[TD]$17.36[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/13/2012[/TD]
[TD]2[/TD]
[TD]3047698[/TD]
[TD][/TD]
[TD]$52.31[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD]1/13/2012[/TD]
[TD]2[/TD]
[TD]3047699[/TD]
[TD][/TD]
[TD]$38.55[/TD]
[/TR]
</tbody>[/TABLE]
This is what my output page looks like:
[TABLE="width: 444"]
<colgroup><col><col><col><col span="2"></colgroup><tbody>[TR]
[TD]Vendor[/TD]
[TD]Total[/TD]
[TD] December[/TD]
[TD] Week1 [/TD]
[TD]Week2[/TD]
[/TR]
[TR]
[TD]ACM[/TD]
[TD="align: right"]$13,284.00[/TD]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance! I'm a bit frustrato.