Hi,
I have a table with 3 columns as in the below table.
When I run a macro I need to get the sum of units based on the date for the names. See output table for your reference.
Name | Date | Units
AAAA | 1/1/13| 9.0
BBBB | 1/1/13| 8.0
AAAA | 1/1/13| 5.0
AAAA | 2/1/13| 6.0
BBBB | 2/1/13| 4.0
CCCC | 2/1/13| 8.0
AAAA | 3/1/13| 7.0
BBBB | 3/1/13| 3.0
CCCC | 3/1/13| 3.0
CCCC | 3/1/13| 5.0
DDDD | 3/1/13| 2.0
CCCC | 3/1/13| 1.0
OUTPUT:
Name | Date | Units
AAAA | 1/1/13| 14.0
BBBB | 1/1/13| 8.0
AAAA | 2/1/13| 6.0
BBBB | 2/1/13| 4.0
CCCC | 2/1/13| 8.0
AAAA | 3/1/13| 7.0
BBBB | 3/1/13| 3.0
CCCC | 3/1/13| 9.0
DDDD | 3/1/13| 2.0
Please help.
I have a table with 3 columns as in the below table.
When I run a macro I need to get the sum of units based on the date for the names. See output table for your reference.
Name | Date | Units
AAAA | 1/1/13| 9.0
BBBB | 1/1/13| 8.0
AAAA | 1/1/13| 5.0
AAAA | 2/1/13| 6.0
BBBB | 2/1/13| 4.0
CCCC | 2/1/13| 8.0
AAAA | 3/1/13| 7.0
BBBB | 3/1/13| 3.0
CCCC | 3/1/13| 3.0
CCCC | 3/1/13| 5.0
DDDD | 3/1/13| 2.0
CCCC | 3/1/13| 1.0
OUTPUT:
Name | Date | Units
AAAA | 1/1/13| 14.0
BBBB | 1/1/13| 8.0
AAAA | 2/1/13| 6.0
BBBB | 2/1/13| 4.0
CCCC | 2/1/13| 8.0
AAAA | 3/1/13| 7.0
BBBB | 3/1/13| 3.0
CCCC | 3/1/13| 9.0
DDDD | 3/1/13| 2.0
Please help.