15.3 C
London
Tuesday, June 17, 2025
HomeSoftware TutorialsGoogle SheetsHow to Reverse a Text String in Google Sheets

How to Reverse a Text String in Google Sheets

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

You can use the following basic syntax to reverse a text string in Google Sheets:

=JOIN("",ArrayFormula(MID(A2,LEN(A2)-SEQUENCE(1,LEN(A2))+1,1)))

This particular formula will reverse the text string located in cell A2.

The following example shows how to use this formula in practice.

Example: Reverse a Text String in Google Sheets

Suppose we have the following list of text strings in Google Sheets:

We can type the following formula into cell B2 to reverse the text string in cell A2:

=JOIN("",ArrayFormula(MID(A2,LEN(A2)-SEQUENCE(1,LEN(A2))+1,1)))

The following screenshot shows how to use this formula in practice:

Notice that the first text string of Elephant has been reversed to tnahpelE.

We can then drag and fill this formula down to each remaining cell in column B:

Google Sheets reverse string

Notice that column B contains the exact reverse of each text string in column A.

Also notice that this formula is able to handle text strings with multiple words and spaces.

Additional Resources

The following tutorials explain how to perform other common tasks in Google Sheets:

Google Sheets: Use VLOOKUP with Multiple Criteria
Google Sheets: How to Perform a Reverse VLOOKUP
Google Sheets: How to Filter with Multiple Conditions

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories