+ Reply to Thread
Results 1 to 7 of 7

Remove unwanted characters in a cell

  1. #1
    Registered User
    Join Date
    12-19-2014
    Location
    Wisconsin
    MS-Off Ver
    MS Office 2010
    Posts
    2

    Remove unwanted characters in a cell

    Hello all -

    I have a spreadsheet that was downloaded from a library software program. The cells have =++ Mot, =+ Roy, (random info in them). I need to cells to state just the letters and need to remove the characters that precede them. I've tried using the 'clean' formula and when I do this, the value that it returns is the cell number.

    Does anybody have any suggestions? any help is appreciated.

    Thanks!

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Remove unwanted characters in a cell

    Can you post a representative sample of the sort of things that yoiu have to deal with? Are there NO letters in the "random" bits?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Remove unwanted characters in a cell

    Attach a sample worksheet that can be reviewed and analyzed. It is difficult to offer a solution based upon the information provided.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Remove unwanted characters in a cell

    If unwanted characters always before text try this array formula

    =RIGHT(A1,LEN(A1)-(MIN(IFERROR(FIND(CHAR(ROW(A$65:A$122)),A1),""))-1))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    Row\Col
    A
    B
    1
    ++ Mot Mot
    2
    -57Pete Pete
    3
    ++%+Steven Steven
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Registered User
    Join Date
    12-19-2014
    Location
    Wisconsin
    MS-Off Ver
    MS Office 2010
    Posts
    2

    Re: Remove unwanted characters in a cell

    Here is a sample.
    Attached Files Attached Files

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Remove unwanted characters in a cell

    Format column A as text, then Ctrl+F type in = in Find, click on Replace button and click on Replace All. Then you can use formula.

    or you can simply repeat the process by removing other characters.

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Remove unwanted characters in a cell

    Another way to achieve this is using a macro. Click on the yellow button to run the macro to see if this helps.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula to remove unwanted data & rearrange last name & first name in a cell
    By rbecker69 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2013, 03:12 AM
  2. Replies: 3
    Last Post: 04-29-2013, 06:39 AM
  3. Remove unwanted characters from a list that contains certain words
    By ercarrera in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-19-2013, 05:20 PM
  4. Formula to remove unwanted characters
    By adam2308 in forum Excel General
    Replies: 4
    Last Post: 01-17-2013, 04:38 AM
  5. Replies: 8
    Last Post: 12-17-2012, 05:30 AM

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