+ Reply to Thread
Results 1 to 26 of 26

find and replace not working

  1. #1
    Registered User
    Join Date
    11-14-2007
    Posts
    15

    find and replace not working

    Hi All,

    Sorry for the basic question...
    I'm using Excel 2007 and trying to replace about 2000 commas with full stops. I want to use find and replace but keep getting a message saying that Excel cannot find the data I'm searching for.

    Excel help suggests I haven't clicked on "find" before clicking "replace" but I did.
    I've tried highlighting the column in which I want to make the replacements, but same message.
    Also tried highlighting nothing, same message.
    Tried copying and pasting the whole thing into a new file, but same message.

    What am I doing wrong?!

    TIA

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,428
    Check the Options on the Find/Replace dialog.

    make sure 'Match entire cell contents' is not enabled
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    11-14-2007
    Posts
    15
    Just checked it - it isn't. There is also no other formatting specified.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,428
    can you post small example

  5. #5
    Registered User
    Join Date
    11-14-2007
    Posts
    15
    Thanks Andy, do you mean a screenshot? I've attached my last attempt. Column B has currency in euro format ie "1.000,00" and I need to change it to "1000.00". Am trying to change the "." to a space, then change the comma to a point, then change the space to a comma. Phew.

    Here, column B is highlighted before doing the find.
    Attached Images Attached Images

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,428
    No I meant a workbook so we could see what was actually in the cells.

    Nut using your picture can you confirm that the cell B2 contains 1.901,23
    and that the decimal place and or comma are not part of the number format.

  7. #7
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    I noticed you use Look in.. Formulas
    Is this correct?

  8. #8
    Registered User
    Join Date
    11-14-2007
    Posts
    15
    Andy, I've attached a sanitized version to omit sensitive data, have just tried the same thing with this version and it still has the problem.
    (I am nearly certain it will be user error. )
    The file has been saved as .xls and as .xlsx, same problem in each. I attach the .xls version.

    arthurbr, sorry I'm not sure what you mean? Can't see a "look" funcion or option within the "find"?
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    11-14-2007
    Posts
    15
    forgot - column B is formatted to be currency, yes, but even when it isn't the problem persists (same throughout rest of workbook in its complete form, including text).

  10. #10
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475
    Worked fine for me,
    I hit Ctrl & H
    Find ,
    replace nothing
    Then hit replace all, I did not use the options window.
    Once the action was completed, 1000's separators appeared, you can get rid of those by just formatting the cells.

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,428
    Actually the screen shot was useful!

    You have formatting set. Notice the 2 boxes that say Preview. This means you have some format set that does not match.

    I had no trouble do the required change until I added Bold font to the find parameter. This then raised the error warning you described.

    Either remove the format part or check that the cells match specification.

  12. #12
    Registered User
    Join Date
    11-14-2007
    Posts
    15
    Really??
    Have just tried it again on a text column in the original sheet, and I still get the error. Also tried it in the sanitized version, and I still get the error.
    Does this mean I have a setting somewhere that is causing the problem?

  13. #13
    Registered User
    Join Date
    11-14-2007
    Posts
    15
    (crossed posts with Andy)

    Andy, I just tried on the original and checked the formatting matched what I was searching for. It did - and still I have the error.
    agh!

  14. #14
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,428
    As with the others your test file worked.

    I assume if you remove the formatting part it works for you?
    If so we need to know what formats you applied

  15. #15
    Registered User
    Join Date
    11-14-2007
    Posts
    15
    There is a "paid in/paid out" column which has blue and red font colouring accordingly. I did a find/replace there earlier (which worked) which is possibly why the options setting is still showing on the find/replace dialogue box?

    The test I just did was to go to another column with the default formatting and to search for the word "Completed" which is clearly visible in many of the cells. (screenshot attached). Although the "options" are minimised, they are all set to default. Is there anything else I can provide?
    Attached Images Attached Images

  16. #16
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,428
    Not sure what to suggest next as F/R is working for us when testing.

    Can you share a cut down version of the real file offline?
    andy AT andypope DOT info

  17. #17
    Registered User
    Join Date
    11-14-2007
    Posts
    15
    I'm going to close down, reopen, double check and try it again first! If it's working for you it must be something in my settings or something I'm doing, so will go through everything locally first. If I still get the error then yes please, I'll send through a version! (if I find the prob obviously I'll come back and update too)

    thanks very much so far!

  18. #18
    Registered User
    Join Date
    11-14-2007
    Posts
    15
    I closed everything and shut down Excel.
    I restarted it and opened a spreadsheet I know was OK last time I used it, and yes it was still OK with the find/replace.
    So I opened this one again...and this time it works perfectly well.

    I don't get it, however I accept I must have unwittingly changed a setting that affected the search and therefore "resetting" Excel has done the trick.

    Thanks very much for all your help and time, it's hugely appreciated

  19. #19
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,428
    that's life! glad you are sorted now.

  20. #20
    Registered User
    Join Date
    04-25-2013
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: find and replace not working

    Fast forward to 2013. My "find" has suddenly stopped finding. I've messed with Options and Formatting to no avail. And I can't get my screenshot to show here. Dang! Next to "find what?" the next box WAS reading "PREVIEW* and now has "no format set" and no option to change it. I have meessed with this for too long today. Any suggestion???

  21. #21
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: find and replace not working

    dskeens,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  22. #22
    Registered User
    Join Date
    01-09-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: find and replace not working

    I have a problem with the find & replace feature as well. It does not work all the time. I cannot provide screenshots either, as the information I work with is confidential. What I can say is the feature is finnicky and works about 2/3 of the time! I don't know why this is either. Sometimes I have just seen the name I'm searching for, and I open the "find" feature and search for it, and Excel will claim is not in the spreadsheet. Then I scroll to the name and type it into the "find" feature again, and suddenly, Excel recognizes that yes, it actually does have that name in the list!!!! It is a persnickety thing, and I don't know why Excel has this bug. I'm pretty sure I'm not doing anything wrong. As I said, Excel will claim that it cannot find the name, but I KNOW it's there. I just don't know where in the list. It's frustrating as the "find" feature only works some of the time.

  23. #23
    Registered User
    Join Date
    03-11-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: find and replace not working

    if your find does not work what may be the issue is you have the find format feature on
    to turn it off:

    = cntrl F
    = expand the options
    = click Format button
    = Find Format box will open up. go to each tab and click the Clear button at the bottom right
    = click ok

    use the find box again and see if it works. If not then i dunno what could be wrong
    but it worked for me

  24. #24
    Registered User
    Join Date
    02-01-2011
    Location
    California, Sacramento
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: find and replace not working

    I know this is a really old post but after a google search, Andy Popes suggestion of checking that
    the match all contents was not checked fixed my problem. Couldn't find a solution prior.

    Thanks so much,

    BigDawg15

  25. #25
    Registered User
    Join Date
    03-31-2019
    Location
    Minneapolis, Minnesota
    MS-Off Ver
    365
    Posts
    1

    Re: find and replace not working

    The solution in my case (after trying all sorts of ideas) was to click "Find what" -- "Format" drop down button and select "Clear Replace Format", and to do the same for "Replace with". Even though my cells were formatted as General and I had specified to find General, Find didn't work.

  26. #26
    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
    52,926

    Re: find and replace not working

    Thanks for sharing, Yamamoto
    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

+ 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. Multiple Find and Replace to replace a list of strings
    By WalterP34 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-11-2011, 07:41 PM
  2. Find Multiplex Text Values And Replace
    By RICKSTER1905 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-07-2008, 02:25 AM
  3. Replies: 7
    Last Post: 03-03-2008, 11:48 AM
  4. Find & Replace
    By francois.timms in forum Excel General
    Replies: 2
    Last Post: 11-30-2007, 06:21 AM
  5. Find and Replace difficulties
    By pinny in forum Excel General
    Replies: 3
    Last Post: 01-05-2007, 09:05 AM

Tags for this Thread

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