Aggregate ad group cost-per-click using REGEXMATCH
As a digital marketing professional, you are tasked with determining the effectiveness of the three ad groups - Mugs
, Sweaters
, and Tee Shirts
. You know from experience that average cost-per-click (CPC) is a very good indicator of ad group performance.
Your team decides that they want to keep the new Mugs
ad group no matter what, so you would like to see what the average CPC would be, depending on the ad groups chosen.
This exercise is part of the course
Marketing Analytics in Google Sheets
Exercise instructions
- Add regular expressions in cells
H3
andH4
that will match the respective ad groups listed in cellsG3
andG4
.- Your expressions should match the first or the second ad group.
- Write a filter for the
CPC
column, with the condition for the filter using the regex in cellH3
(combined withREGEXMATCH()
). - Wrap the filter with an
AVERAGE()
to find the average CPC for theMugs
andTee Shirts
ad groups. - Repeat steps 2 and 3 to get the average CPC for the
Mugs
andSweaters
ad groups.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
