I am not sure exactly of the syntax I should be looking for in these forums. I am new to VB, so flame on, I dont mean to be lame.
I want to take the data, as seen below, and combine all the like Bar MArk's, into one line, and add up the QTY, FT & IN columns. The Bar Size column will not be added up. I would also like to get rid of the zeros. I will be doing this hundreds of times a month, so any help is GREATLY appreciated.
I have the following table:
QTY BAR SIZE FT IN BAR MARK
4 -- 3 10 RCBC1
4 -- 3 10 RCBC1
4 -- 3 10 RCBC1
2 6 7 3 MK646
2 6 7 3 MK646
2 6 7 3 MK646
3 6 4 5 MK642
3 6 4 5 MK642
3 6 4 5 MK642
1 6 4 6 MK641
1 6 4 6 MK641
1 6 4 6 MK641
8 6 2 1 MK631
8 6 2 1 MK631
8 6 2 1 MK631
25 4 6 9 MK405
25 4 6 9 MK405
25 4 6 9 MK405
46 4 2 6 MK404
46 4 2 6 MK404
46 4 2 6 MK404
46 4 7 9 MK402
46 4 7 9 MK402
46 4 7 9 MK402
4 11 49 2 114902
4 11 49 2 114902
4 11 49 2 114902
2 8 14 3 81403
2 8 14 3 81403
2 8 14 3 81403
6 8 5 2 80502
6 8 5 2 80502
6 8 5 2 80502
16 4 2 9 40209
16 4 2 9 40209
16 4 2 9 40209
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
Here is an example of the outcome I would like:
4 -- 3 10 RCBC1
4 -- 3 10 RCBC1
4 -- 3 10 RCBC1
would turn into this:
12 0 9 30 RCBC1
And so on...and deleteing the ZEROS at the bottom..
Is this possible?