Exercises
/
Text functions
/

FIND, MID, SUBSTITUTE and TEXT

FIND, MID, SUBSTITUTE and TEXT

Split a full name into first and last name, get a domain from an email, turn text into numbers, build report labels with TEXTJOIN and TEXT.

  1. Column A holds “Last First” names, and the last names have different lengths. In cell B2, extract the last name — the part before the space. The formula must work on every row.
  2. In cell C2, extract the first name — the part after the space. Use MID and FIND.
  3. In cell E2, extract the domain from the email in D2 — the part after “@”: mail.uz.
  4. The SMS service accepts phone numbers without dashes. In cell B2, remove every “-” from A2: +998901234567.
  5. Prices were copied from a website as “1 250 000 UZS” — that is text, and SUM can’t add it. In cell B2, turn A2 into a real number: 1250000.
  6. In cell C2, list the people on duty from A2:A6 in one line separated by a comma and space: “Aziz, Dilnoza, Jasur, Malika”. A4 is empty — there must be no extra comma.
  7. In cell B11, build a label for the report header: “Total: 1,250,000 UZS” — the amount comes from B7 and is shown with a thousands separator.
  8. In cell B12, show plan completion as a percentage: “Plan completed: 83%”. The percentage comes from B9.