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

Recover the ticket number

Return the text after the second hyphen in B2. Do not assume the ticket prefix or suffix has a fixed length.

This quest practices Nested text 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 the second hyphen as in the earlier quest.
  2. Subtract its position from the full text length.
  3. Use that difference as the RIGHT character count.
Show the worked solution
=RIGHT(B2,LEN(B2)-FIND("-",B2,FIND("-",B2)+1))

Text extraction based on separator positions adapts to longer prefixes and preserves leading zeroes in ticket numbers.

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 →