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

Google Sheets - SUMIF Contains

$
0
0

how are you doing?

I need to aggregate the total amount of money spent in campaigns that are divided in different sub campaigns. Just like this

Column A

Campaign - 1 - A

Campaign - 1 - B

Campaign - 1 - C

Campaign - 2 - A

Campaign - 2 - B

Campaign - 2 - C

And so on and so forth for a total of around 100 campaigns.

In column B I have the amount of money spent by each individual campaign.

I'd like to have something like this:

Campaign - 1

Campaign - 2

Campaign - 3

And in Column B the sum of each campaign's individual imports.

I am juggling with Unique, REGEXMATCH; REGEXEXTRACT and both SUM and SUMIF functions, but I can't get them to work.

Can anyone help me?

EDIT: https://docs.google.com/spreadsheets/d/1xUkrdkN-Gw1r-uTb0qzT7z0hY8hWRXiNISijss4fxpQ/edit?usp=sharing

Here goes a sample Spreadsheet I have just created. I need to get that kind of sum, considering that every week we have new campaigns that are added automatically in the "Base Data" tab.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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