ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Text
  3. Get Initials From a Name in Excel

Get Initials From a Name in Excel

By ExcelReady Team·Updated November 2, 2026·7 min read

The short answer

To get initials from a name in Excel, take the first letter of the first name and the first letter after the space: =LEFT(A2,1)&MID(A2,FIND(" ",A2)+1,1) turns Maria Lopez into ML. In Microsoft 365 or Excel 2024, =CONCAT(LEFT(TEXTSPLIT(A2," "))) returns the initials of every word, including middle names.

Key takeaways

  • LEFT(A2,1) gives the first initial; MID(A2,FIND(" ",A2)+1,1) gives the letter right after the first space.
  • Join the pieces with & to make the initials, and add "." between them if you want periods.
  • =CONCAT(LEFT(TEXTSPLIT(A2," "))) handles any number of names in Microsoft 365 or Excel 2024.
  • Run TRIM on the names first, because double spaces make the formulas pick the wrong letters.
  • Wrap the formula in UPPER if some names are typed in lowercase.
On this page+
  1. How the initials formula works
  2. How to get initials in Microsoft 365 with TEXTSPLIT
  3. How to get initials with a middle name in older Excel
  4. How to add periods or spaces between initials
  5. Other name formats: first initial plus last name, and Last, First
  6. How to get initials without a formula (Flash Fill)
  7. Why your initials formula gives the wrong result
  8. Practise it

To get initials from a name in Excel, take the first letter of the name and the first letter after the space, then join them: =LEFT(A2,1)&MID(A2,FIND(" ",A2)+1,1) turns Maria Lopez into ML. In Microsoft 365 there is a shorter formula that also handles middle names. This guide is for anyone building staff lists, ID badges, usernames or sign-off columns from a list of full names.

How the initials formula works#

The formula finds two letters and joins them with &. All the examples use names in column A, starting in A2:

AB
1Full nameInitials
2Maria LopezML
3Kwame MensahKM
4Lena FischerLF
5Tomas SilvaTS
6Priya NairPN
Excel formula
=LEFT(A2,1)&MID(A2,FIND(" ",A2)+1,1)
PartWhat it doesResult for Maria Lopez
LEFT(A2,1)Takes 1 character from the startM
FIND(" ",A2)Finds the position of the space6
FIND(" ",A2)+1The position of the next letter7
MID(A2,7,1)Takes 1 character from position 7L
&Joins the two lettersML

Type it in B2, then fill it down to B6 (Windows: Ctrl+D; Mac: ⌘D). The LEFT function guide and the MID function guide explain both functions in more detail, and the lesson on LEFT, RIGHT, MID and LEN lets you practise them on product codes.

How to get initials in Microsoft 365 with TEXTSPLIT#

In Microsoft 365 and Excel 2024, TEXTSPLIT can break a name into words, and LEFT can take the first letter of each:

Excel formula
=CONCAT(LEFT(TEXTSPLIT(A2," ")))

For Maria Lopez, TEXTSPLIT returns the two words Maria and Lopez, LEFT turns them into M and L (when you leave out its second argument, LEFT takes 1 character), and CONCAT joins them into ML. The same formula turns Ana Sofia Reyes into ASR, so it works for any number of names.

A shorter version for exactly two names uses TEXTAFTER: =LEFT(A2)&LEFT(TEXTAFTER(A2," ")). To split names into separate first and last name columns instead, see how to split full names in Excel.

How to get initials with a middle name in older Excel#

Without TEXTSPLIT, add a third piece that starts after the second space. FIND's third argument tells it where to start looking, so FIND(" ",A2,FIND(" ",A2)+1) finds the second space:

Excel formula
=LEFT(A2,1)&MID(A2,FIND(" ",A2)+1,1)&MID(A2,FIND(" ",A2,FIND(" ",A2)+1)+1,1)

For Ana Sofia Reyes, the first space is at position 4 and the second at position 10, so the formula returns ASR. On a two-word name, the second FIND fails and the formula shows #VALUE!. If your list mixes two-part and three-part names, wrap it in IFERROR and fall back to the two-letter version:

Excel formula
=IFERROR(LEFT(A2,1)&MID(A2,FIND(" ",A2)+1,1)&MID(A2,FIND(" ",A2,FIND(" ",A2)+1)+1,1),LEFT(A2,1)&MID(A2,FIND(" ",A2)+1,1))

How to add periods or spaces between initials#

Join extra text between the letters with &. For M.L.:

Excel formula
=LEFT(A2,1)&"."&MID(A2,FIND(" ",A2)+1,1)&"."

In Microsoft 365, TEXTJOIN puts a separator between any number of initials, and the final &"." adds the last one:

Excel formula
=TEXTJOIN(".",TRUE,LEFT(TEXTSPLIT(A2," ")))&"."

This turns Ana Sofia Reyes into A.S.R. The lesson on joining text with &, CONCAT and TEXTJOIN covers these joining tools step by step.

Other name formats: first initial plus last name, and Last, First#

Two related formats come up often in staff lists and usernames.

First initial and last name (M. Lopez): take the first letter, add a period and a space, then everything after the space:

Excel formula
=LEFT(A2,1)&". "&MID(A2,FIND(" ",A2)+1,100)

The 100 just means "the rest of the text". For a username such as mlopez, drop the period and space and wrap it in LOWER: =LOWER(LEFT(A2,1)&MID(A2,FIND(" ",A2)+1,100)). The guide to creating email addresses from names builds on this.

Last, First order (Lopez, Maria): the first name comes after the comma and space, so swap the pieces:

Excel formula
=MID(A2,FIND(" ",A2)+1,1)&LEFT(A2,1)

This returns ML, with the first-name initial first.

How to get initials without a formula (Flash Fill)#

Flash Fill copies a pattern you type, so it can make initials with no formula at all. It's handy for a one-off list.

  1. In B2, type the initials for the first name by hand: ML.
  2. Click B3 and choose Data > Flash Fill (on Windows you can also press Ctrl+E).
  3. Excel fills the rest of the column: KM, LF, TS and PN.

Check the results before you rely on them. Flash Fill guesses the pattern from your example, so a name with a middle name or a title can come out differently. If it guesses wrong, type a second example in B3 and run it again.

The bigger limit is that Flash Fill results are plain text, not formulas. If a name in column A changes, or you add new names, the initials don't update; you have to run Flash Fill again. For a list that keeps changing, the formulas above are the safer choice.

Why your initials formula gives the wrong result#

Most problems come from the data, not the formula. Check these:

  1. Extra spaces. A leading space makes LEFT return a space, and a double space makes MID pick the second space instead of a letter. Clean the names with =TRIM(A2) first, or put TRIM inside the formula.
  2. Only one name. FIND can't find a space and returns #VALUE!. Use IFERROR with LEFT(A2,1) as the fallback.
  3. Lowercase names. "james o'neil" gives jo. Wrap the formula in UPPER to get JO.
  4. Titles and suffixes. "Dr. Maria Lopez" gives DM. Remove titles first with SUBSTITUTE or Find and Replace.
  5. Hyphenated names. "Anne-Marie Dubois" gives AD, since there's no space inside Anne-Marie. Check these by hand if the second letter matters.

The same text tools help with other clean-up jobs, such as extracting the domain from an email or extracting numbers from text.

Practise it#

Try the exercise on this page: it builds the two-letter initials formula from LEFT, MID and FIND. Then practise LEFT, RIGHT, MID and LEN in a live spreadsheet and practise joining text with & and TEXTJOIN. Each formula is checked as soon as you press Enter.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

In B2, get Maria Lopez's initials from A2: take the first letter with LEFT, then join the letter after the space with MID and FIND.

fx
ABCD
1
Full name
Initials
2
Maria Lopez
3
Kwame Mensah
4
Lena Fischer
5
Tomas Silva
6
Priya Nair
7
8
9

Tip: FIND(" ",A2) gives the position of the space. Add 1 to start MID on the next letter, and take 1 character.

Practise this in a lesson

LessonLEFT, RIGHT, MID and LENSplit product codes and IDs into their parts by taking characters from the start, end or middle of the text.LessonJoining text: &, CONCAT and TEXTJOINBuild full names, addresses and tag lists by joining text with &, CONCAT and TEXTJOIN.Function guideLEFTPull the first characters from a cell with Excel's LEFT: prefixes, initials and first names. Examples, pitfalls and live practice.Function guideMIDPull characters from any position with Excel's MID. Extract IDs, email domains and text between brackets with FIND. Examples and live practice.

Frequently asked questions

What is the formula to get initials in Excel?

+

For a first and last name in A2, use =LEFT(A2,1)&MID(A2,FIND(" ",A2)+1,1). LEFT takes the first letter, FIND locates the space, and MID takes the letter after it.

How do I get initials from a full name with a middle name?

+

In Microsoft 365 or Excel 2024, use =CONCAT(LEFT(TEXTSPLIT(A2," "))), which takes the first letter of every word. In older Excel, add a third MID that starts after the second space.

How do I add periods between initials?

+

Join a period after each letter: =LEFT(A2,1)&"."&MID(A2,FIND(" ",A2)+1,1)&"." turns Maria Lopez into M.L. In Microsoft 365, =TEXTJOIN(".",TRUE,LEFT(TEXTSPLIT(A2," ")))&"." works for any number of names.

Why does my initials formula return #VALUE!?

+

FIND can't find a space, usually because the cell holds only one name or is empty. Wrap the formula in IFERROR, for example =IFERROR(LEFT(A2,1)&MID(A2,FIND(" ",A2)+1,1),LEFT(A2,1)).

Can Flash Fill get initials in Excel?

+

Yes. Type the initials for the first name in the next column, then use Data > Flash Fill. It works well for a one-off list but doesn't update when names change.

Sources

  • LEFT, LEFTB functions - Microsoft Support
  • MID, MIDB functions - Microsoft Support
  • TEXTSPLIT function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How the initials formula works
  2. How to get initials in Microsoft 365 with TEXTSPLIT
  3. How to get initials with a middle name in older Excel
  4. How to add periods or spaces between initials
  5. Other name formats: first initial plus last name, and Last, First
  6. How to get initials without a formula (Flash Fill)
  7. Why your initials formula gives the wrong result
  8. Practise it

Keep reading

Text· 7 min read

Create Email Addresses From Names in Excel

To create an email address from a name in Excel, join the first name, a dot, the last name and the domain with &, then wrap it in LOWER: =LOWER(A2&"."&B2&"@example.com"). Add TRIM to remove stray spaces, and SUBSTITUTE to drop spaces or apostrophes inside names. Fill the formula down to build the whole list.

Text· 7 min read

Extract the Domain or Username From an Email in Excel

To extract the domain from an email address, take everything after the @ sign. In Microsoft 365, use =TEXTAFTER(A2,"@"). In any version, use =MID(A2,FIND("@",A2)+1,LEN(A2)). For the username, take everything before the @: =TEXTBEFORE(A2,"@") or =LEFT(A2,FIND("@",A2)-1). Wrap either in IFERROR for cells without an @.

Text· 7 min read

How to Split First and Last Names in Excel

To split a full name in Excel, use =TEXTBEFORE(A2," ") for the first name and =TEXTAFTER(A2," ",-1) for the last name, which also handles middle names. In Excel 2021 and older, use =LEFT(A2,FIND(" ",A2)-1) for the first name. For a one-off job, Data > Text to Columns or Flash Fill splits names without formulas.

More on text

  • How to Add or Keep Leading Zeros in Excel
  • LEFT, RIGHT and MID in Excel: Pull Out Part of a Cell
  • Line Breaks in Excel: In a Cell and in a Formula
  • MID Function in Excel: Pull Text From the Middle
  • How to Remove Characters From Text in Excel
  • Remove the First or Last Characters in Excel
All text articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free