Hi Everyone,
I maintain a contracts database and need to automate the total qty column. Having a really tough time getting it to automatically show those numbers.
Summary: This data represents one contract (internally it is contract #18, externally, it is contract #21). It is broken down into three sections (two line items each) which need to be confirmed or closed - each section is represented by a reference ID. Reference ID #1 was closed and the remaining two were confirmed. I need to be able to add up the quantities within their corresponding reference ID groups. In other words, total quantity for all Ref ID that is '1' AND 'closed' needs to add it up and show 2.
Originally, I only had to check the external ID column and do a sumif to get the total qty column. Now, I need to check.. external ID, Reference ID, and Contract Status.
Long story short, I need the #s in the total qty column to automatically reflect the below written numbers. Hopefully this explanation wasn't too confusing and any help would be immensely appreciated!
[TABLE="class: grid, width: 581"]
<colgroup><col span="3"><col><col><col></colgroup><tbody>[TR]
[TD="align: right"]Reference Id[/TD]
[TD="align: right"]External ID[/TD]
[TD]Contract Number[/TD]
[TD="align: right"]Internal ID[/TD]
[TD]Contract Status[/TD]
[TD="align: right"]Qty[/TD]
[TD="align: right"]Total Qty[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]21[/TD]
[TD]a-1[/TD]
[TD="align: right"]18[/TD]
[TD]CLOSED[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]21[/TD]
[TD]a-1[/TD]
[TD="align: right"]18[/TD]
[TD]CLOSED[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]21[/TD]
[TD]a-1[/TD]
[TD="align: right"]18[/TD]
[TD]CONFIRMED[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]21[/TD]
[TD]a-1[/TD]
[TD="align: right"]18[/TD]
[TD]CONFIRMED[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD="align: right"]21[/TD]
[TD]a-1[/TD]
[TD="align: right"]18[/TD]
[TD]CONFIRMED[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD="align: right"]21[/TD]
[TD]a-1[/TD]
[TD="align: right"]18[/TD]
[TD]CONFIRMED[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
thank you!
Eli
I maintain a contracts database and need to automate the total qty column. Having a really tough time getting it to automatically show those numbers.
Summary: This data represents one contract (internally it is contract #18, externally, it is contract #21). It is broken down into three sections (two line items each) which need to be confirmed or closed - each section is represented by a reference ID. Reference ID #1 was closed and the remaining two were confirmed. I need to be able to add up the quantities within their corresponding reference ID groups. In other words, total quantity for all Ref ID that is '1' AND 'closed' needs to add it up and show 2.
Originally, I only had to check the external ID column and do a sumif to get the total qty column. Now, I need to check.. external ID, Reference ID, and Contract Status.
Long story short, I need the #s in the total qty column to automatically reflect the below written numbers. Hopefully this explanation wasn't too confusing and any help would be immensely appreciated!
[TABLE="class: grid, width: 581"]
<colgroup><col span="3"><col><col><col></colgroup><tbody>[TR]
[TD="align: right"]Reference Id[/TD]
[TD="align: right"]External ID[/TD]
[TD]Contract Number[/TD]
[TD="align: right"]Internal ID[/TD]
[TD]Contract Status[/TD]
[TD="align: right"]Qty[/TD]
[TD="align: right"]Total Qty[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]21[/TD]
[TD]a-1[/TD]
[TD="align: right"]18[/TD]
[TD]CLOSED[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]21[/TD]
[TD]a-1[/TD]
[TD="align: right"]18[/TD]
[TD]CLOSED[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]21[/TD]
[TD]a-1[/TD]
[TD="align: right"]18[/TD]
[TD]CONFIRMED[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]21[/TD]
[TD]a-1[/TD]
[TD="align: right"]18[/TD]
[TD]CONFIRMED[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD="align: right"]21[/TD]
[TD]a-1[/TD]
[TD="align: right"]18[/TD]
[TD]CONFIRMED[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD="align: right"]21[/TD]
[TD]a-1[/TD]
[TD="align: right"]18[/TD]
[TD]CONFIRMED[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
thank you!
Eli