+ Reply to Thread
Results 1 to 5 of 5

Remove specific text from only certain cells

Hybrid View

  1. #1
    Registered User
    Join Date
    02-06-2009
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Remove specific text from only certain cells

    Hi thank you very much,

    As you can see in column B there is some irrelevant data. How can i remove this?

    Many thanks

    Ashley
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264

    Re: Remove specific text from only certain cells

    Hi Ashley

    try this formula in C2 copied down:

    =SUBSTITUTE(SUBSTITUTE(B2,"&",""),"nbsp;","")

    Richard
    Richard Schollar
    Microsoft MVP - Excel

  3. #3
    Registered User
    Join Date
    02-06-2009
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Remove specific text from only certain cells

    AH! I had never used substitute before.
    Your solution is nearly perfect however the where &amp was present that was removed and not changed to & (probably due to my poor explanation).

    This solution solves that issue as well.

    =SUBSTITUTE(SUBSTITUTE((SUBSTITUTE(B8,"&","&")),"&",""),"nbsp;","")

    Thank You!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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