cellcraftEnter the quest map →
← Browse the curriculum
TEXT SEARCH & EXTRACTION · ORIGINAL EXERCISE

Extract the messenger

Return the username before @ in email C2. Do not hardcode the username length.

This quest practices Variable-width extraction using a fictional business dataset. Read the sheet below, then enter the interactive quest to write and check your formula.

ContactTicketEmailNote
North HarborORD-NY-204ari@north.examplePaid INV-204 receipt
South MarketORD-LA-105bea@south.exampleReview INV-105 today
West WorkshopORD-AT-306cam@west.exampleSend INV-306 copy
North StudioORD-NY-107dev@north.examplePending INV-107 approval
Play this quest · +70 XP →

Hints to get you started

  1. Find where @ begins.
  2. The username ends one character earlier.
  3. Use that position minus 1 as the LEFT length.
Show the worked solution
=LEFT(C2,FIND("@",C2)-1)

Combining FIND and LEFT handles usernames of different lengths.

Make the skill stick

After solving the task, explain what each reference does and why the formula answers the business question. Try the workbook download inside the quest to practice in your own spreadsheet app.

Explore the rest of this region →