The tablw below shows what I'm working with. The number of data rows will be dynamic from day to day, but the overall structure of the sheet should look the same.
How do I code:
1) The subtotals so they work whether I have 1 row of data or hundreds? The output will always be two rows below the last line of data.
2) How do I count the number of rows of data and display under the subtotal (i.e. on this sheet there were 5 rows). This will count all rows, not just those with unique data.
Thx in advance...you guys are GOOOOOD at this stuff! ****!
How do I code:
1) The subtotals so they work whether I have 1 row of data or hundreds? The output will always be two rows below the last line of data.
2) How do I count the number of rows of data and display under the subtotal (i.e. on this sheet there were 5 rows). This will count all rows, not just those with unique data.
Thx in advance...you guys are GOOOOOD at this stuff! ****!
Daily Trade Summary Macro ver 3.1.xls | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | 9/28/2002 | |||||||||||
2 | ||||||||||||
3 | A/CNAME | A/C# | B/S | SYM | SHS | PRICE | DATE | ORDER# | PCs | LostPCs | ||
4 | SMITH | SELL | ABC | 6,000 | 9/27/2002 | 1234 | $300.00 | $0.00 | ||||
5 | SMITH | SELL | DEF | 12,000 | 9/27/2002 | 1235 | $600.00 | $0.00 | ||||
6 | SMITH | SELL | HIJ | 500 | 9/27/2002 | 1236 | $0.00 | $25.00 | ||||
7 | SMITH | SELL | KLM | 200 | 9/27/2002 | 1237 | $0.00 | $10.00 | ||||
8 | SMITH | SELL | NOP | 10,500 | 9/27/2002 | 1238 | $525.00 | $0.00 | ||||
9 | ||||||||||||
10 | 29,200 | $1,425.00 | $35.00 | |||||||||
11 | 5 | 5 | 5 | |||||||||
data (16) |