+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting - quick way to apply to multiple cells?

  1. #1
    Registered User
    Join Date
    10-17-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Conditional formatting - quick way to apply to multiple cells?

    Hi,

    Is there a quick way to apply the same general rule to multiple cells (such as in a table) without having to manually input the condition each time?

    Say I have the rule that when the cell B1 is less than A1 it is highlighted red. I want to apply this to the subsequent rows of the table, B2 < A2, B3 <A3 etc. When I click the bottom right hand corner of the first cell (B1) and then drag it down it copies the conditional formtting rule but it references A1 every time. How I can quickly make it reference the adjacent cell? So far I have manually changed each row.

    Thanks for any info.
    Last edited by Ads.; 10-17-2011 at 11:01 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Conditional formatting - quick way to apply to multiple cells?

    Make sure that your rule doesn't make row 1 in A1 absolute. I.e there are not $ in front of the 1.

    Also, you just need to change the applies to range when Managing the Rule. Change it to the range it applies to.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-17-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Conditional formatting - quick way to apply to multiple cells?

    I tried doing that entering a range of cells and removing the $, e.g. A1:A5 in the condition, but it keeps coming up with an error saying I need to reference a single cell.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Conditional formatting - quick way to apply to multiple cells?

    The actual conditional formula should be for the top-left most cell only, then you add a range to the applies to field, and it will automatically adjust the cell references relatively.

    So if you want to highlight B1 use Rule Cell Value Is >> Less than >> =A1

    or use formula =B1<A1

    and apply to B1:Bx

    If you still have trouble getting it.. upload a sample workbook.

  5. #5
    Registered User
    Join Date
    10-17-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Conditional formatting - quick way to apply to multiple cells?

    Ah yes, I see now. Thanks.

+ 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