CommencerCommencez gratuitement

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.

Cet exercice fait partie du cours

<cours>Analyse marketing dans Google Sheets</cours>
Voir le cours

Instructions de l’exercice

  • 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 cell A2 matching the regular expression in cell I2 (don't forget the absolute reference!).
    • In the same cell, use & characters to append an underscore, "_", and the contents from cell B2 to the end of the extracted string.
  • Apply the formula to the remainder of the cells in the column, E3:E29.

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice