I first want to say that this site is awesome. I've already used alot of the information given. Thanks for your time ya'll spend helping others.
With that said, here's my issue and what I want to do. I'm trying to insert two blank rows when a symbol (cusip) changes and then add up two joining columns and have a subtotal as the symbol changes. For example:
Column A | Column B | Column C | Column D | Column E
name | Desc| Symbol | shares | TMV
I'd like the macro to insert two blank rows and then total up column D & E and then it starts over when the symbol changes.
Like:
name | homer | xyz | 10 | 54.50
name | homer | xyz | 9 | 45.00
---blank --- 19 | 99.50
---blank ---
name | marge | 12ju | 50 | 75.00
name | marge | 12ju | 60 | 181.00
name | marge | 12ju | 5 | 15
---blank--- 115 | 271
---blank---
Is this possible? I've used one macro that seperates the symbols but doesn't add up those two columns. I'd like the bold figures to be in the same column tho. For some reason, I couldn't line it up.
Any help would be very much appreciated.
Thanks for taking your time.
bolt
With that said, here's my issue and what I want to do. I'm trying to insert two blank rows when a symbol (cusip) changes and then add up two joining columns and have a subtotal as the symbol changes. For example:
Column A | Column B | Column C | Column D | Column E
name | Desc| Symbol | shares | TMV
I'd like the macro to insert two blank rows and then total up column D & E and then it starts over when the symbol changes.
Like:
name | homer | xyz | 10 | 54.50
name | homer | xyz | 9 | 45.00
---blank --- 19 | 99.50
---blank ---
name | marge | 12ju | 50 | 75.00
name | marge | 12ju | 60 | 181.00
name | marge | 12ju | 5 | 15
---blank--- 115 | 271
---blank---
Is this possible? I've used one macro that seperates the symbols but doesn't add up those two columns. I'd like the bold figures to be in the same column tho. For some reason, I couldn't line it up.
Any help would be very much appreciated.
Thanks for taking your time.
bolt