Excel Macro to manipulate Sums? - Microsoft Community


hi folks,

i'm returning data looks following , want able sum customer id different , ignore second value if id same.  the id's dont matter , stripped out of final result set figured needed accomplish i'm looking for.  but open suggestions...

this...

name rid value did value
customer 1 135234 2298 337304 1690
customer 1 135234 2298 337305 83
customer 2 135253 1000 337229 702
customer 3 135246 7077 337294 4690
customer 3 135246 7077 337296 4564
customer 4 135258 9301 337259 3429
customer 4 135258 9301 337260 627
customer 4 135258 9301 337261 3020

i this...

name rid value did value
customer 1 135234 2298 337304 1733
customer 2 135253 1000 337229 702
customer 3 135246 7077 337294 9254
customer 4 135258 9301 337259 7076

thanks in advance.

referring screenshot below:

1) copy a1:e1 i1

2) copy b2:b9 j2

3) j2:j9 selected use data | data tools | remove duplicates to list of unique rid numbers

4) enter formulas show i2, k2, l2, m2; drag each down far needed

best wishes



Office / Excel / Microsoft Office Programming / Office 2016



Comments

Popular posts from this blog

Getting ErrorCode: 120018 when trying to access Microsoft account - Microsoft Community

The message was sent to a distribution list ‎(DL)‎ - Microsoft Community

Activation Error 0x8004FE93 - Microsoft Community