unknownymous
Board Regular
- Joined
- Sep 19, 2017
- Messages
- 249
- Office Version
- 2016
- Platform
- Windows
Hi Gurus,
Good day!
I just want to consult if there's a VBA way to combine the data (get the sum) of specific accounts?
For example I have long list of data but need to combine the total data for Math & Science. Note that there are negative numbers sometimes and Reference 01 is the main account.
Initial Data:
Output Data: Since Reference No 1 is the main account, this is the surviving account after merging. The name will be renamed as Math & Science after combining the data. Afterwards, this row will be highlighted in yellow cell for easy tracking of this account.
Appreciate the help.
Thanks!
Good day!
I just want to consult if there's a VBA way to combine the data (get the sum) of specific accounts?
For example I have long list of data but need to combine the total data for Math & Science. Note that there are negative numbers sometimes and Reference 01 is the main account.
Initial Data:
Reference | Name | Data 1 | Data 2 | Data 3 | Data 4 | Data 5 | Data 6 |
01 | Math | 100 | 75 | 60 | 90 | 95 | -100 |
02 | Science | 80 | 75 | 80 | 90 | -85 | 80 |
Output Data: Since Reference No 1 is the main account, this is the surviving account after merging. The name will be renamed as Math & Science after combining the data. Afterwards, this row will be highlighted in yellow cell for easy tracking of this account.
Reference | Name | Data 1 | Data 2 | Data 3 | Data 4 | Data 5 | Data 6 |
01 | Math & Science | 180 | 150 | 140 | 180 | 10 | -20 |
Appreciate the help.
Thanks!