Excel has no REVERSE function, but you can flip a string end-to-end — useful for some parsing tricks and IDs — with a short TEXTJOIN + MID + SEQUENCE formula in Excel 365.
The example
Each string flipped end to end.
| A | B | |
|---|---|---|
| 1 | Text | Reversed |
| 2 | Excel | lecxE |
| 3 | 12345 | 54321 |
The formula
The reversed string:
How it works
It rebuilds the string from the back:
SEQUENCE(LEN(A2), 1, LEN(A2), -1)makes a list of positions counting down from the last character to the first.MID(A2, …, 1)pulls the single character at each of those positions — so the last letter first, and so on.TEXTJOIN("", 1, …)concatenates them with no separator, producing the reversed string.- It works on any length and any characters — letters, digits, symbols.
No 365? Reversing text has no clean legacy formula — the common routes are a short LAMBDA/VBA function or Power Query’s Text.Reverse. Most real tasks (extract last word, last name) are better solved with TEXTAFTER/RIGHT than by reversing.
Try it: interactive demo
Type text; see it reversed.
Variations
Reverse the order of words
“a b c” → “c b a” with TEXTSPLIT + SORTBY:
Reverse via LAMBDA name
Wrap the formula as a named REVERSE function (Name Manager) for reuse.
Check for a palindrome
Compare to the reverse:
Pitfalls & errors
SEQUENCE is Excel 365 only. The whole approach relies on it — there’s no tidy formula in 2021 or earlier.
You rarely actually need to reverse. For “get the last X,” RIGHT, TEXTAFTER, or the last-word formula are simpler and clearer.
Performance on huge strings. It builds a character-by-character array — fine for normal text, heavy for very long strings in bulk.
Practice workbook
Frequently asked questions
How do I reverse text in Excel?
Is there a REVERSE function in Excel?
How do I reverse text without Excel 365?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class