How can I reverse a text string in Google Sheets? 2

How can I reverse a text string in Google Sheets?

To reverse a text string in Google Sheets, you can use the “REVERSE” function. This function takes a string as its argument and returns the reverse of that string. To use this function, simply select a cell where you want the reversed string to be displayed and enter “=REVERSE(cell)” in the formula bar, replacing “cell” with the cell containing the original string. This will automatically reverse the text string and display it in the selected cell. This function is useful for rearranging data or for creating mirror images of text.

Reverse a Text String in Google Sheets


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.

Cite this article

stats writer (2024). How can I reverse a text string in Google Sheets?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-reverse-a-text-string-in-google-sheets/

stats writer. "How can I reverse a text string in Google Sheets?." PSYCHOLOGICAL SCALES, 27 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-reverse-a-text-string-in-google-sheets/.

stats writer. "How can I reverse a text string in Google Sheets?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-reverse-a-text-string-in-google-sheets/.

stats writer (2024) 'How can I reverse a text string in Google Sheets?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-reverse-a-text-string-in-google-sheets/.

[1] stats writer, "How can I reverse a text string in Google Sheets?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How can I reverse a text string in Google Sheets?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)

Comments are closed.

Slide Up
x
PDF
Scroll to Top