+ Reply to Thread
Results 1 to 12 of 12

"-" won't be replaced by ""

  1. #1
    Registered User
    Join Date
    02-18-2013
    Location
    Great Southern Land
    MS-Off Ver
    Excel 2007
    Posts
    11

    "-" won't be replaced by ""

    Hi guys,

    figures scraped from the web look something like - C1=2-4-11 C2=2-7-13 C3=1-5-11. When I select column C and go Replace "-" with "" I get an error telling me that Microsoft Office cannot find any data to replace..... I'm sure I've done this before, but can't find the workbook that I had.

    Any ideas?
    Thanks,
    Den

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: "-" won't be replaced by ""

    Please attach a sample workbook if possible


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    02-18-2013
    Location
    Great Southern Land
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: "-" won't be replaced by ""

    I hope I did it correctly
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: "-" won't be replaced by ""

    Hi and welcome to the forum

    When I enter that data into a workbook, I have to enter it formatted as text, otherwise it sees the data as dates. As dates, - does not exist in the cell, and if I enter it as text, find/replace worked just fine?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    09-11-2009
    Location
    Paris
    MS-Off Ver
    Excel 2003
    Posts
    102

    Re: "-" won't be replaced by ""

    Hi,
    see attached picture for your reference,
    Capture.JPG

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: "-" won't be replaced by ""

    Find and Replace is working fine for me in your attached file

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: "-" won't be replaced by ""

    It worked fine for me as well, using your file

  8. #8
    Registered User
    Join Date
    02-18-2013
    Location
    Great Southern Land
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: "-" won't be replaced by ""

    Now I'm totally confused - it's working for me again too.... Trying to figure what I did wrong

    Thanks, all
    Den

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: "-" won't be replaced by ""

    Thats OK, we have all been there, let us know how you make out?

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: "-" won't be replaced by ""

    Quote Originally Posted by Denno View Post
    Now I'm totally confused - it's working for me again too.... Trying to figure what I did wrong
    May be my assumption is you might have selected some other cells while doing Find & Replace, so the task is getting applied on those selected cells alone, I believe

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: "-" won't be replaced by ""

    Good point Six, I have done that before too, and thought...what the heck, I can SEE the thnk I want changed...only to find I had a range selected elsewhere lol

  12. #12
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: "-" won't be replaced by ""

    @ FDibbins,

    Me too did it sometimes unknowingly

+ 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