Get startedGet started for free

How much did each source spend?

Now that the IDs are created, you need to pull some data to send to the digital marketing director, except this time you need to rethink the regular expressions you will use to aggregate the metrics.

In this exercise, you will be finding the total cost of all the campaigns with Google as its source. Remember that the FILTER() function, along with regular expressions, will help aggregate the data.

This exercise is part of the course

Marketing Analytics in Google Sheets

View Course

Exercise instructions

  • Add regular expressions in the cell G3 to match any campaign that has the source of Google.
  • Write a filter for the Cost column, with the condition for the filter using the regex in cell G3.
  • Wrap the filter with a SUM() to find the total spent on the source Google.

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise