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.
Este exercício faz parte do curso
Marketing Analytics in Google Sheets
Instruções do exercício
- 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
.
Exercício interativo prático
Transforme a teoria em ação com um de nossos exercícios interativos
