ngkatsaras
IS-IT--Management
[tt]
I have a "shipment completion report" as follows:
Order # Qty Ordered Qty Shipped %complete
100 20 18 90.00%
101 10 7 70.00%
102 10 4 40.00%
103 20 14 70.00%
------------ ----------- ---------
60 43 71.67%
How can I group based upon %complete? As follows:
Order # Qty Ordered Qty Shipped %complete
102 10 4 40.00%
Count of orders 40% = 1
101 10 7 70.00%
103 20 14 70.00%
Count of orders 70% = 2
100 20 18 90.00%
Count of orders 90% = 1
The next thing I need is to count the orders that fall within a certain percentage of completion:
75-100% = 1
50-74% = 3
<50 = 1
Actually if I could group based upon the above criterial that would be ideal. I just need three groups and a count of the orders in each group.
The orders shown above are actually groups, the detail of each group is shown below:
Order # Item Qty Ordered Qty Shipped %complete
100 20 18 90.00%
Pencil 5 5 100.00%
Pen 10 10 100.00%
Eraser 5 3 60.00%
101 10 7 70.00%
Pencil 5 5 100.00%
Pen 5 2 40.00%
So what I need to do is group based upon either subtotals or running totals, actually the percentage of one subtotal divided by another subtotal and the groups need to be within a range of numbers.
I really appreciate any help.
Sincerely,
NK
[/tt]
I have a "shipment completion report" as follows:
Order # Qty Ordered Qty Shipped %complete
100 20 18 90.00%
101 10 7 70.00%
102 10 4 40.00%
103 20 14 70.00%
------------ ----------- ---------
60 43 71.67%
How can I group based upon %complete? As follows:
Order # Qty Ordered Qty Shipped %complete
102 10 4 40.00%
Count of orders 40% = 1
101 10 7 70.00%
103 20 14 70.00%
Count of orders 70% = 2
100 20 18 90.00%
Count of orders 90% = 1
The next thing I need is to count the orders that fall within a certain percentage of completion:
75-100% = 1
50-74% = 3
<50 = 1
Actually if I could group based upon the above criterial that would be ideal. I just need three groups and a count of the orders in each group.
The orders shown above are actually groups, the detail of each group is shown below:
Order # Item Qty Ordered Qty Shipped %complete
100 20 18 90.00%
Pencil 5 5 100.00%
Pen 10 10 100.00%
Eraser 5 3 60.00%
101 10 7 70.00%
Pencil 5 5 100.00%
Pen 5 2 40.00%
So what I need to do is group based upon either subtotals or running totals, actually the percentage of one subtotal divided by another subtotal and the groups need to be within a range of numbers.
I really appreciate any help.
Sincerely,
NK
[/tt]