LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Marketing Analytics in Google Sheets

Kurs anzeigen

Anleitung zur Übung

  • 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.

Interaktive Übung

Setze die Theorie in einer unserer interaktiven Übungen in die Praxis um

Übung starten