Results 1 to 4 of 4

Reverse text in a cell

Threaded View

  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    Brno
    MS-Off Ver
    Excel 2010
    Posts
    70

    Reverse text in a cell

    Hi,

    I'm trying to come up with formula (no VBA), which takes text from let's say cell A1 and displays it in cell B2 in reverse order (for instance aad1 in A2 will be displayed as 1daa in B2).

    I know the formula for numbers, but struggling with formula for text. So far I came up with (assuming text in cell A2 is "aab") =MID(A2,LEN(A2)+1-ROW(INDIRECT("1:"&LEN(A2))),1) - when I select it and press F9 I get: ={"b";"a";"a"}, however, after confirming the formula with CSE I only get first letter b. So what I'm trying to do is to "tell" excel to convert {"b";"a";"a"} to baa, but with no success so far.

    I also would like to avoid type of formula below where I add characters together (this one works for 3 characters).

    =MID(A2,LEN(A2)+1-ROW(INDIRECT("1:"&LEN(A2))),1)&MID(A2,LEN(A2)+1-ROW(INDIRECT("1:"&LEN(A2)))-1,1)&MID(A2,LEN(A2)+1-ROW(INDIRECT("1:"&LEN(A2)))-2,1)

    Any help would be gratefully appreciated.

    Thanks

    Pepe
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Reverse Number in Text Excel
    By Hani2002 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-08-2014, 09:18 AM
  2. [SOLVED] How to Reverse Contents in an Excel cell (Text or a Number)
    By CeeGee in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2014, 07:40 AM
  3. Reverse Data In A Cell / Reverse Cell Contents
    By nostawydoc in forum Excel General
    Replies: 5
    Last Post: 12-18-2009, 05:20 PM
  4. [SOLVED] reverse text
    By Peterke in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-24-2006, 11:25 AM
  5. reverse text
    By tom mcdonald in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-01-2005, 09:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1