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.
| Contact | Ticket | Note | |
|---|---|---|---|
| North Harbor | ORD-NY-204 | ari@north.example | Paid INV-204 receipt |
| South Market | ORD-LA-105 | bea@south.example | Review INV-105 today |
| West Workshop | ORD-AT-306 | cam@west.example | Send INV-306 copy |
| North Studio | ORD-NY-107 | dev@north.example | Pending INV-107 approval |
Hints to get you started
- Find the second hyphen as in the earlier quest.
- Subtract its position from the full text length.
- 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 →