I am working with a large amount of data that needs to be combined by RA# and then sub totaled by material number.
<colgroup><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
After the macro is run the result should match the table below.
<colgroup><col><col><col><col span="2"></colgroup><tbody>
</tbody>
RA # | Store # | Material | Customer Material | Order qty | UoM | Return Plant | Box Plant | Production plant |
60178173 | 7247 | 38125ESS | 14746640086 | 1 | EA | V796 | D796 | PCON |
60178173 | 7247 | 38125ESS | 14746640086 | 1 | EA | V796 | D796 | PCON |
60178173 | 7247 | 38125ESS | 14746640086 | 1 | EA | V796 | D796 | PCON |
60178173 | 7247 | 05846AQU | 14746558466 | 1 | EA | V796 | D796 | PCON |
60178173 | 7247 | 05846AQU | 14746558466 | 1 | EA | V796 | D796 | PCON |
60171864 | 7247 | 26342BIO | 17541621557 | 1 | EA | V796 | D796 | PCON |
60171864 | 7247 | 26342BIO | 17541621557 | 1 | EA | V796 | D796 | PCON |
60171864 | 7247 | 26342BIO | 17541621557 | 1 | EA | V796 | D796 | PCON |
<colgroup><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
After the macro is run the result should match the table below.
Store | Material | Order qty | UoM | RA # |
7247 | 38125ESS | 3 | EA | 60178173 |
7247 | 05846AQU | 2 | EA | 60178173 |
7247 | 26342BIO | 3 | EA | 60171864 |
<colgroup><col><col><col><col span="2"></colgroup><tbody>
</tbody>