Is there a formlula to replace cell shade color with another color

N

Newsgal

Is there a Find and Replace type of formula where which will find cells with
a formatted with one pattern color and replace them with a new pattern color.?
 
G

Gord Dibben

One method.........................

Select all cells.

Edit>Find>Format>Format>Pattern.........pick the pattern and "find all"

After the finding and with the "found" dialog still open hit CTRL + a to
select the founds.

Format to new pattern.


Gord Dibben MS Excel MVP
 
A

Ashish Mathur

Hi,

This will work as long as those cells are colored manually as against
colored via conditional formatting

1. Select the range which has the colors to be replaced;
2. Click on Ctrl+F > Options > Format > Choose format from cell
3. Select any one cell which has the format
4. Click on Find All and then press Ctrl+A
5. This will select all the cells which have that format
6. Now press Ctrl+1 and choose the desired format

Hope this helps.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 
R

Rick Rothstein

You can't do that with a formula, but you can do it with Excel's Replace
functionality. Click Edit/Replace on the menu bar or, alternately, press
Ctrl+H to bring up the Replace dialog box. Click the "Options>>" button to
display all the available option if they are not already displayed. Leave
the "Find what" and "Replace with" fields empty. Click the Format button to
the right of the "Find what" field, click the Patterns tab and select the
color you want to replace. Next, click the Format button to the right of the
"Replace with" field, click the Patterns tab and select the color you want
to replace it with. Finish off by clicking "Replace All" button. The above
procedure will perform the replacement throughout the active worksheet... if
you want to restrict the color replacements to a certain area of the active
worksheet, select a range that encompasses those cells first, then follow
the above procedure.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top