+ Reply to Thread
Results 1 to 4 of 4

conditional formatting on a cell range

  1. #1
    Registered User
    Join Date
    04-28-2006
    Posts
    3

    Question conditional formatting on a cell range

    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!

  2. #2
    kassie
    Guest

    RE: conditional formatting on a cell range

    You 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.
    "mdchachi" wrote:

    >
    > 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: http://www.excelforum.com/member.php...o&userid=33953
    > View this thread: http://www.excelforum.com/showthread...hreadid=537280
    >
    >


  3. #3
    Dave Peterson
    Guest

    Re: conditional formatting on a cell range

    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:
    >
    > 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: http://www.excelforum.com/member.php...o&userid=33953
    > View this thread: http://www.excelforum.com/showthread...hreadid=537280


    --

    Dave Peterson

  4. #4
    Registered User
    Join Date
    04-28-2006
    Posts
    3
    Ah, I knew there must be an easier way. Thanks to both of you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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