Aan de slagGa gratis aan de slag

Sum up campaigns with RegEx

One last task has been assigned to you by the digital marketing director. The digital marketing director would like a report of all the campaigns, regardless of source or ad group.

Aggregating campaign totals using regular expressions is so useful because of the variety of sources that campaigns can come from. For example, you may be looking at two different digital marketing firms: one for search engines (Google & Bing), and the other for social media (Facebook). All of this data would be entered by the two different parties into a single table.

In this exercise, we will explore how to get the total cost and cost-per-click (CPC) for each campaign, regardless of source.

Deze oefening maakt deel uit van de cursus

Marketing Analytics in Google Sheets

Cursus bekijken

Oefeninstructies

  • Write the regular expression that will match the campaign and its variants in the cells F3:F6.
  • Find the total for each campaign using SUM(), FILTER(), and REGEXMATCH(), in the range G3:G6.
  • Repeat the last step, but find the average CPC in the range H3:H6.

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen