Change cell formats with find-replace in excel

Posted on April 4th, 2008 in hacks , ideas , Learn Excel , technology - 9 comments

Do you know that you can use excel find – replace dialog to change cell formats?

Often we prepare a report or project plan and our boss or someone else in the team feels that all the red color cells need to change to blue or something similar, worry not, you can use find-replace (ctrl+h) to do this for you.

I have created a small video demo on how to do this, check it out yourself

If you are not able to see the video:

  1. Press Ctrl+h
  2. click on “Format…” button on “find what:” area and specify the source format
  3. click on “Format…” button on “replace with:” area and specify the target format
  4. Select “replace all” or “replace” depending on your need
  5. Smile, you have just automated a mechanical and boring task

Written by Chandoo
Tags: , , , , , , , , , , ,
Home: Chandoo.org Main Page
? Doubt: Ask an Excel Question

9 Responses to “Change cell formats with find-replace in excel”

  1. Hypnos says:

    I see that you've become quite the excel guru.

    Maybe I should start blogging about powerpoint techniques 😛

  2. ajay says:

    thanks for this excel tip.
    looking for some tips on excel

  3. Chandoo says:

    @Hypnos .. hehe... go ahead, enlighten the world with what you know
    @Ajay .. thanks for visiting phd, hope you like the content here 🙂

  4. [...] you know that you can use find / replace to change spreadsheet formatting too [...]

  5. Atul says:

    How do I find and replace a specific character with formatting only on the replaced character? For example:
    ATUL --> replace L with a bold, green G.
    Laugh --> replace L with a bold, green G.

    I amtrying to highlight the change.

  6. TechGuru says:

    There are softwares available which can assist you in Find & replace multiple words in multiple excel files & worksheets like
    http://www.technocomsolutions.com/excel-search-replace-batch.html

  7. Raman says:

    How to find if formatting has changed in given range? is there any event available to check if Formatting has changed (similar to Worksheet Change or Cell Change)?

      

  8. Sridharan says:

    Hi Chandoo,

    I need to delete just a part of the cell value based on the format. For example, in Cell A, the value type is 0100 1200. In this value, actually 0100 was "Strikethrough". Meaning, only 1200 has to be considered.

    In the above case, I need to remove those unwanted information. I.e. all the values with in all the cells where the format for that value (not the entire cell value only that particular value) is "strikethrough".

    Is there any way through VBA ?

    • Hui... says:

      @Sridharan
      This can be done manually or through VBA
      the problem is that the cell will still contain the value 0100 1200
      even though it looks like 0100 1200
      Which is what any cells linked to that cell will see
      Can you explain why you want to do that and not just replace the 0100 with 1200?

      Hui...

Leave a Reply