Are there any built-in Excel functions that will reverse a string?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
There is no built-in function that I know of, but you can create your own custom function. First - create a new module:
Second - paste the following function in your new module (Reference):
Now you should be able to use the Reverse function in your spreadsheet |
||||
|
|
|
The current accepted answer is a poor way to reverse a string, especially when there is one built into VBA, use the following code instead (should act the same but run a LOT faster):
|
|||
|
|
|
You can go to http://xcell05.free.fr/morefunc/english/index.htm to check out their morefunc package. There is a reversetext function provided. |
|||
|
|