ComeçarComece de graça

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.

Este exercício faz parte do curso

Marketing Analytics in Google Sheets

Ver curso

Instruções do exercício

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

Exercício interativo prático

Transforme a teoria em ação com um de nossos exercícios interativos

Começar o exercício