Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Sum of all numbers from one column that match text from multiple rows in another column

$
0
0

I have some data from analytics that I need to combine somehow and trying to find the best way of doing this. I have data similar to the following:

URLSessions
/59
/?variable=12
/?variable=237
/?variable=31
/another-page/21
/another-page/?variable=x1

I want to be able to find a way to first remove any UTM data (ie anything after the question mark) then add up the total sessions from each page. Here, the result I want is this:

URLSessions
/99
/another-page/22

I want this formula to be automatic in the way that it read all URLs in Column A until it reaches the end.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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