Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88054

How to line up duplicated values on same row?

$
0
0

for example,

2018        totalsale    2019        totalsale
brand a     2,000        brand b     10,000
brand b     3,000        brand d     5,000
brand c     4,000        brand a     2,500
brand e     3,000        brand f     3,000

desired result

2018        totalsale    2019        totalsale
brand a     2,000        brand a     2,500
brand b     3,000        brand b     10,000
brand c     4,000        
                         brand d     5,000
brand e     3,000
                         brand f     3,000

I tried to use append and merge in power query like this video suggests https://www.youtube.com/watch?v=v2OaYuxlm54, but the totalsale didn't follow.

Are there simpler ways to achieve this goal like excel formula and something else? Thank you for all answers.


Viewing all articles
Browse latest Browse all 88054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>