Make a Dear first name greeting
Turn Ava into Dear Ava, for the first line of a letter or email.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | TRIM(A8)="","" | If the name cell is empty, shows nothing. | Not used for row 8 |
| 2 | "Dear " | Starts with Dear and a space. | "Dear " |
| 3 | TRIM(A8) | Adds the name, without stray spaces. | "Dear Ava" |
| 4 | "," | Adds a comma at the end. | "Dear Ava," |
| 5 | IF( … ) | Makes a greeting only when there is a name. | "Dear Ava," |
Read it left to right. An empty name cell stays empty, with no stray Dear.
=IF(TRIM(A8)="","","Dear "&TRIM(A8)&",")How to use it
Yellow bar at the top? Click Enable Editing.
- See it work. The Example tab shows 20 made-up names with the formula already in.
- Use your own names. Paste the name each person goes by into the green column of the Template tab. Greetings fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
The greeting uses each name exactly as typed. Check it's the name the person likes to be called.
Route: Get names ready for the letter
Microsoft's help: IF function
OTHER ROUTES YOU MIGHT LIKE

Make a Last, F. name label
Ava + Reed → Reed, A.
Get the template →
Hyphenate two last-name columns
Reed + Park → Reed-Park
Get the template →
Put a preferred name in the middle
Ava + Avie + Reed → Ava (Avie) Reed
Get the template →
Fix "Dear ," when a first name is blank
(blank) → Dear colleague,
Take this route →