Reverse data!

VIANEY

New Member
Joined
Nov 9, 2012
Messages
2
I HAVE A FILE CONTAINING OVER 2MILLION ACCOUNT NUMBERS.
I NEED THESE ACCOUNT NUMBERS TO READ BACKWARDS IN
A SEPARATE COLUMN.

FOR EXAMPLE:

A1 DATA : 1234
SHOULD READ IN B1 AS
4321

I'VE TRIED USING =TEXTREVERSE(A1)
BUT IT IS NOT WORKING
:mad: COULD SOMEONE PLEASE HELP ME:confused:
WHAT AM I MISSING
:confused:

THANK YOU IN ADVANCE FOR ANYONE WHO CAN HELP ME!
:biggrin:
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
I haven't heard of that function, but you could create a UDF for this purpose.
So if you are in 2010, this will need to be an *xlsm file to use this solution.

- Hit Alt+F11
- In VBA, hit Insert>Module
- enter this code:
Function ReverseText(Text) As String

Dim TextLeng, i As Long
TextLeng = Len(Text)

For i = TextLeng To 1 Step -1
ReverseText = ReverseText & Mid(Text, i, 1)
Next i

End Function

Now you can use this as a function. As in:
=ReverseText(A1)
 
Upvote 0

Forum statistics

Threads
1,216,113
Messages
6,128,905
Members
449,478
Latest member
Davenil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top