Modify the campaign ID to include source
In this exercise, you will build the second, and final, part of the ID.
This section of the ID will indicate the source by prepending the first three letters of the source to the campaign-ad group IDs created in the previous lesson.
Diese Übung ist Teil des Kurses
Marketing Analytics in Google Sheets
Anleitung zur Übung
- Add a regular expression in cell
I2
that will extract the first three characters of a string. - In cell
E2
:- Use
REGEXEXTRACT()
to extract the characters from the string in cellA2
matching the regular expression in cellI2
(don't forget the absolute reference!). - In the same cell, use
&
characters to append an underscore,"_"
, and the contents from cellB2
to the end of the extracted string.
- Use
- Apply the formula to the remainder of the cells in the column,
E3:E29
.
Interaktive Übung
Setze die Theorie in einer unserer interaktiven Übungen in die Praxis um
