R
rej
I have a report that has the following columns:
customer: order#: date: shipper#: item#: qty: amount
abc co. 8597 12/5/06 01-13665 210056 3000 $3,000.00
12/14/06 01-15588 210056 2000 $2,000.00
12/25/06 01-88991 210056 1000 $1,000.00
8739 12/5/06 01-13788 209570 500 $1,000.00
12/12/06 01-14341 209570 200 $800.00
given the above information,
1). how can I sum quantities per item and sum the amount per item.
2). after adding them at the bottom per each item, how can I do a grand
total of the amount per customer. PLEASE SEE BELOW WHAT I MEANT:
Customer: order#: date: shipper#: item#: qty: amount:
abc co. 8597 12/5/06 01-13665 210056 3000 $3,000.00
12/14/06 01-15588 210056 2000 $2,000.00
12/25/06 01-88991 210056 1000
$1,000.00
_____ _________
6000 $6,000.00
8739 12/5/06 01-13788 209570 500
$1,000.00
12/12/06 01-14341 209570 200
$800.00
____ ________
700 $1,800.00
Total for Customer ABC CO. 6700 $7,800.00
customer: order#: date: shipper#: item#: qty: amount
abc co. 8597 12/5/06 01-13665 210056 3000 $3,000.00
12/14/06 01-15588 210056 2000 $2,000.00
12/25/06 01-88991 210056 1000 $1,000.00
8739 12/5/06 01-13788 209570 500 $1,000.00
12/12/06 01-14341 209570 200 $800.00
given the above information,
1). how can I sum quantities per item and sum the amount per item.
2). after adding them at the bottom per each item, how can I do a grand
total of the amount per customer. PLEASE SEE BELOW WHAT I MEANT:
Customer: order#: date: shipper#: item#: qty: amount:
abc co. 8597 12/5/06 01-13665 210056 3000 $3,000.00
12/14/06 01-15588 210056 2000 $2,000.00
12/25/06 01-88991 210056 1000
$1,000.00
_____ _________
6000 $6,000.00
8739 12/5/06 01-13788 209570 500
$1,000.00
12/12/06 01-14341 209570 200
$800.00
____ ________
700 $1,800.00
Total for Customer ABC CO. 6700 $7,800.00