Originally Posted by
mikerickson
If you have your text in A1
In B1, put
=RIGHT($A$1,1)
In B2, put
=B1&IF(ROW()<=LEN($A$1),MID($A$1,LEN($A$1)-ROW()+1,1),"")
and fill down.
Then in any cell,
=INDEX(B:B,LEN(A1),1)
will be the reverse of A1
Cell B(Len(A1)) will also have the reverse of A1.
eg. if A1="abc" then B3="cba" and INDEX(B:B,LEN(A1),1) = "cba"
LATER edit:
Another approach.
In B1, put
=B2&IF(ROWS($A1:$A$20)>LEN($A$1),"",MID($A$1,LEN($A$1)-(20-ROWS($A$1:A1)),1))
and fill down.
B1 will contain the reverse of A1, but only if the formula has been filled down 20 rows.
Bookmarks