close

Hi.
I'm applying conditional formatting to a column (B) based on another
column (A). Data exists in both columns. Here is how I'm doing it
now.

1) copy all data in B to another column C
2) select cell B1 and apply CF referencing $A1
3) drag cell B1 and copy down to bottom of column (about 2000 values)
in order to automatically increment cell reference to reference
adjacent cell (B1 to A1, B2 to A2, etc). But all values are now the
same as A1.
4) copy column C into column B, copying only values such that the CFs
are preserved and values are restored.
5) delete column C

I'm sure there's a better way. Could you tell me what it is?

Thank you!--
mdchachi
------------------------------------------------------------------------
mdchachi's Profile: www.excelforum.com/member.php...oamp;userid=33953
View this thread: www.excelforum.com/showthread...hreadid=537280You don't have to mave dta around. Do Conditional Formatting in say A1. Now
click on the Format Painter icon (The paintbrush), click and hold the mouse
button on the first cell you want to copy to, drag to the last cell and
release. Conditional formatting is applied to the range.
quot;mdchachiquot; wrote:

gt;
gt; Hi.
gt; I'm applying conditional formatting to a column (B) based on another
gt; column (A). Data exists in both columns. Here is how I'm doing it
gt; now.
gt;
gt; 1) copy all data in B to another column C
gt; 2) select cell B1 and apply CF referencing $A1
gt; 3) drag cell B1 and copy down to bottom of column (about 2000 values)
gt; in order to automatically increment cell reference to reference
gt; adjacent cell (B1 to A1, B2 to A2, etc). But all values are now the
gt; same as A1.
gt; 4) copy column C into column B, copying only values such that the CFs
gt; are preserved and values are restored.
gt; 5) delete column C
gt;
gt; I'm sure there's a better way. Could you tell me what it is?
gt;
gt; Thank you!
gt;
gt;
gt; --
gt; mdchachi
gt; ------------------------------------------------------------------------
gt; mdchachi's Profile: www.excelforum.com/member.php...oamp;userid=33953
gt; View this thread: www.excelforum.com/showthread...hreadid=537280
gt;
gt;

You can also select your range in column B and write the formula for the
activecell.

Excel will adjust the formula for the other cells in the selected area.

mdchachi wrote:
gt;
gt; Hi.
gt; I'm applying conditional formatting to a column (B) based on another
gt; column (A). Data exists in both columns. Here is how I'm doing it
gt; now.
gt;
gt; 1) copy all data in B to another column C
gt; 2) select cell B1 and apply CF referencing $A1
gt; 3) drag cell B1 and copy down to bottom of column (about 2000 values)
gt; in order to automatically increment cell reference to reference
gt; adjacent cell (B1 to A1, B2 to A2, etc). But all values are now the
gt; same as A1.
gt; 4) copy column C into column B, copying only values such that the CFs
gt; are preserved and values are restored.
gt; 5) delete column C
gt;
gt; I'm sure there's a better way. Could you tell me what it is?
gt;
gt; Thank you!
gt;
gt; --
gt; mdchachi
gt; ------------------------------------------------------------------------
gt; mdchachi's Profile: www.excelforum.com/member.php...oamp;userid=33953
gt; View this thread: www.excelforum.com/showthread...hreadid=537280

--

Dave Peterson


Ah, I knew there must be an easier way. Thanks to both of you.--
mdchachi
------------------------------------------------------------------------
mdchachi's Profile: www.excelforum.com/member.php...oamp;userid=33953
View this thread: www.excelforum.com/showthread...hreadid=537280

全站熱搜
創作者介紹
創作者 software 的頭像
software

software

software 發表在 痞客邦 留言(0) 人氣()