開始使用免費開始

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.

本練習屬於課程

Google Sheets 的行銷分析

檢視課程

練習說明

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

動手互動練習

將理論付諸實踐,立即體驗我們的互動練習

開始練習