1
Get the First Name
Free
A2 holds a full name. Write a formula in B2 that returns the first name (everything before the space).
Show the solution
Use =LEFT(A2,FIND(" ",A2)-1)
Right — FIND gives the position of the space, and LEFT takes everything before it.
Expected result in B2: Sarah
Try it in the live spreadsheet →
2
Get the Last Name With RIGHT
Free
A2 holds a full name. Write a formula in C2 that returns the last name (everything after the space) using RIGHT, LEN and FIND.
Show the solution
Use =RIGHT(A2,LEN(A2)-FIND(" ",A2))
Good — the total length minus the position of the space is the number of characters in the last name.
Expected result in C2: Lim
Try it in the live spreadsheet →
3
Get the Last Name With MID
Free
A2 holds a full name. Write a formula in C2 that uses MID to return everything after the space.
| A | B | C |
|---|
| 1 | Full name | | |
|---|
| 2 | Daniel Wong | | ? |
|---|
Show the solution
Use =MID(A2,FIND(" ",A2)+1,100)
Right — start one character after the space and ask for more characters than you'll ever need.
Expected result in C2: Wong
Try it in the live spreadsheet →
4
Text Before a Comma
A2 holds a name written as 'Last, First'. Write a formula in B2 that returns the last name (everything before the comma).
| A | B |
|---|
| 1 | Name (Last, First) | |
|---|
| 2 | Tan, Mei Ling | ? |
|---|
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →
5
Text After a Comma
A2 holds a name written as 'Last, First'. Write a formula in C2 that returns the first name (everything after the comma and the space that follows it).
| A | B | C |
|---|
| 1 | Name (Last, First) | | |
|---|
| 2 | Tan, Mei Ling | | ? |
|---|
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →
6
Username From an Email Address
A2 holds an email address. Write a formula in B2 that returns the part before the @ sign.
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →
7
Domain From an Email Address
A2 holds an email address. Write a formula in C2 that returns the domain (everything after the @ sign).
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →
8
Build Initials
A2 holds a first and last name. Write a formula in B2 that returns the initials, e.g. 'SL'.
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →
9
Flip 'Last, First' to 'First Last'
A2 holds a name written as 'Last, First'. Write a formula in B2 that returns it as 'First Last'.
| A | B |
|---|
| 1 | Name (Last, First) | |
|---|
| 2 | Lim, Sarah | ? |
|---|
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →
10
Clean the Name, Then Take the First Part
A2 holds a name with extra spaces and no capitals. Write a formula in B2 that returns the first name in proper case.
| A | B |
|---|
| 1 | Full name (as typed) | |
|---|
| 2 | ahmad ismail | ? |
|---|
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →