Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Group by SUM
Hi,
I am need some help with this, i am absolutly new to vba. I have a worksheet with two colums as given below Id value 1 10 1 10 1 10 2 10 2 10 3 10 3 10 3 10 I want to SUM the values column based on the Id, that i mean is i want to write a VBA macro that helps me generate an output of the form: Id value 1 10 1 10 1 10 30 2 10 2 10 20 3 10 3 10 3 10 30 Any help is really really appretiated Thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Group by SUM
No need for a macro - Data | Subtotals will do this for you:
for each change in ID, sum value Hope this helps. Pete On Oct 29, 4:48 pm, " wrote: Hi, I am need some help with this, i am absolutly new to vba. I have a worksheet with two colums as given below Id value 1 10 1 10 1 10 2 10 2 10 3 10 3 10 3 10 I want to SUM the values column based on the Id, that i mean is i want to write a VBA macro that helps me generate an output of the form: Id value 1 10 1 10 1 10 30 2 10 2 10 20 3 10 3 10 3 10 30 Any help is really really appretiated Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy Data from One Group of Cells to Another Group | Charts and Charting in Excel | |||
I wish to group my worksheets under group tabs | Excel Worksheet Functions | |||
How can I convert a group of numbers to a group of letters? | Excel Worksheet Functions | |||
Taking age group Ie ages 20-29 and picking out net sales for group | Excel Worksheet Functions | |||
How do I group worksheets (Lotus 123 function is "Sheet>Group Shee | Excel Worksheet Functions |