Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default expanding custom formatting without removing existing cell formatting?

We had to do this quickly yesterday (XL2003), and ended up doing it manually
(ugh) but I have to believe there is a better way...

Starting with a worksheet that has cells color-coded manually (each cell
background color) as either light blue, dark blue, or green

Then added a conditional format in one cell (to test and make sure it was
working properly) with three conditions, which either leave the cell the
original color (light blue, dark blue, green) or changes it (three
conditions) to yellow, orange, or red based on the contents of that cell and
other cells. The conditional formatting uses relative and fixed cell
references (for example, in cell D17 one condition was =AND($B17 = $A$1, D17
< "M")

I then wanted to copy the conditional formatting /only/ to the rest of the
cells in the target range, so that the relative cell reference (D17) will
update to whatever cell the conditional formula is pasted to (e.g. paste in
E17 it becomes =AND($B17 = $A$1, E17 < "M").

However, when I copy/paste special/format, it also copies the original cell
color.

In the end, to get the work done, we manually re-colored the grid after
pasting the conditional formatting in all cells. I've got to believe there
is some way (without a bunch of VBA) to expand conditional formatting to a
range of cells without also copying the underlying cell color, but while we
were trying to find a way yesterday I wasn't able to find anything...

Many thanks,
Keith


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default expanding custom formatting without removing existing cell formatting?

Select *all* the cells that you wish to conditionally format after you're
finished manually coloring them.

THEN ... create your formats, aiming cell references to the cell in focus of
the selection (first cell).

Careful with your absolute and relative references.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Keith" wrote in message
...
We had to do this quickly yesterday (XL2003), and ended up doing it manually
(ugh) but I have to believe there is a better way...

Starting with a worksheet that has cells color-coded manually (each cell
background color) as either light blue, dark blue, or green

Then added a conditional format in one cell (to test and make sure it was
working properly) with three conditions, which either leave the cell the
original color (light blue, dark blue, green) or changes it (three
conditions) to yellow, orange, or red based on the contents of that cell and
other cells. The conditional formatting uses relative and fixed cell
references (for example, in cell D17 one condition was =AND($B17 = $A$1, D17
< "M")

I then wanted to copy the conditional formatting /only/ to the rest of the
cells in the target range, so that the relative cell reference (D17) will
update to whatever cell the conditional formula is pasted to (e.g. paste in
E17 it becomes =AND($B17 = $A$1, E17 < "M").

However, when I copy/paste special/format, it also copies the original cell
color.

In the end, to get the work done, we manually re-colored the grid after
pasting the conditional formatting in all cells. I've got to believe there
is some way (without a bunch of VBA) to expand conditional formatting to a
range of cells without also copying the underlying cell color, but while we
were trying to find a way yesterday I wasn't able to find anything...

Many thanks,
Keith



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default expanding custom formatting without removing existing cell formatting?

Sounds good- I tried creating a reference that included the full range
(crazy, yes) so for example if I selected C17:M142, I was testing variations
of
=AND($B17:$M17 = $A$1, C17:M142 < "M")
Clearly, that doesn't work ;-)

I'll try your suggestion the next time we need to update that workbook.
Thank you,
Keith

"RagDyeR" wrote in message
...
Select *all* the cells that you wish to conditionally format after you're
finished manually coloring them.

THEN ... create your formats, aiming cell references to the cell in focus
of
the selection (first cell).

Careful with your absolute and relative references.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Keith" wrote in message
...
We had to do this quickly yesterday (XL2003), and ended up doing it
manually
(ugh) but I have to believe there is a better way...

Starting with a worksheet that has cells color-coded manually (each cell
background color) as either light blue, dark blue, or green

Then added a conditional format in one cell (to test and make sure it was
working properly) with three conditions, which either leave the cell the
original color (light blue, dark blue, green) or changes it (three
conditions) to yellow, orange, or red based on the contents of that cell
and
other cells. The conditional formatting uses relative and fixed cell
references (for example, in cell D17 one condition was =AND($B17 = $A$1,
D17
< "M")

I then wanted to copy the conditional formatting /only/ to the rest of the
cells in the target range, so that the relative cell reference (D17) will
update to whatever cell the conditional formula is pasted to (e.g. paste
in
E17 it becomes =AND($B17 = $A$1, E17 < "M").

However, when I copy/paste special/format, it also copies the original
cell
color.

In the end, to get the work done, we manually re-colored the grid after
pasting the conditional formatting in all cells. I've got to believe there
is some way (without a bunch of VBA) to expand conditional formatting to a
range of cells without also copying the underlying cell color, but while
we
were trying to find a way yesterday I wasn't able to find anything...

Many thanks,
Keith





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default expanding custom formatting without removing existing cell formatting?

Just make sure you reference *only* to the first cell in focus.

Appreciate the feed-back.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"Keith" wrote in message
...
Sounds good- I tried creating a reference that included the full range
(crazy, yes) so for example if I selected C17:M142, I was testing variations
of
=AND($B17:$M17 = $A$1, C17:M142 < "M")
Clearly, that doesn't work ;-)

I'll try your suggestion the next time we need to update that workbook.
Thank you,
Keith

"RagDyeR" wrote in message
...
Select *all* the cells that you wish to conditionally format after you're
finished manually coloring them.

THEN ... create your formats, aiming cell references to the cell in focus
of
the selection (first cell).

Careful with your absolute and relative references.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Keith" wrote in message
...
We had to do this quickly yesterday (XL2003), and ended up doing it
manually
(ugh) but I have to believe there is a better way...

Starting with a worksheet that has cells color-coded manually (each cell
background color) as either light blue, dark blue, or green

Then added a conditional format in one cell (to test and make sure it was
working properly) with three conditions, which either leave the cell the
original color (light blue, dark blue, green) or changes it (three
conditions) to yellow, orange, or red based on the contents of that cell
and
other cells. The conditional formatting uses relative and fixed cell
references (for example, in cell D17 one condition was =AND($B17 = $A$1,
D17
< "M")

I then wanted to copy the conditional formatting /only/ to the rest of the
cells in the target range, so that the relative cell reference (D17) will
update to whatever cell the conditional formula is pasted to (e.g. paste
in
E17 it becomes =AND($B17 = $A$1, E17 < "M").

However, when I copy/paste special/format, it also copies the original
cell
color.

In the end, to get the work done, we manually re-colored the grid after
pasting the conditional formatting in all cells. I've got to believe there
is some way (without a bunch of VBA) to expand conditional formatting to a
range of cells without also copying the underlying cell color, but while
we
were trying to find a way yesterday I wasn't able to find anything...

Many thanks,
Keith






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell References [email protected] Excel Discussion (Misc queries) 2 November 15th 06 11:37 PM
Custom Cell Formatting tom Excel Worksheet Functions 4 October 29th 06 01:57 AM
Cell Custom Formatting drawlings Excel Worksheet Functions 1 August 2nd 06 12:39 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM


All times are GMT +1. The time now is 11:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"