+ Reply to Thread
Results 1 to 3 of 3

Conditional Formating (Not Static) referencing a row Header

  1. #1
    Registered User
    Join Date
    07-18-2012
    Location
    Wethersfield, CT
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question Conditional Formating (Not Static) referencing a row Header

    Hello Everyone,

    I have a table, let's say A1:E10. Column A contains a number. If columns B - E contain a number that is more than 5% of this, I'd like them to be highlighted (I'd like B1 to be compared to A1, and B2 compared to A2, and E1 compared to A1, E2 to A2 ...etc). I was able to use conditional formating, using the greater than feature a put "=a1*.05" and this would work for the first row (row 1). However, when I copy and paste the formating down to, say, row 2 it is still referencing a1. Furthermore, if I change the number in a1 the formating doesn't change. This lead me to discover that purhaps it is using something like a static calculation taking a1*.05 and inserting that number in it's place - meaning it doesn't matter what a1 is going forward, the cells will be colored based on this one time rule. I can get around this by inserting a column that does the "a1*.05" and then the formula is no longer static (but would like to avoid this if possible). Regardless though, when I copy and paste formating (using the little paint brush in the top left) it seems to keep referencing a1!

    I'm admittedly not good with excel, and am hoping this is actually something that is easy to do.

    Help!

    Clayton

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,662

    Re: Conditional Formating (Not Static) referencing a row Header

    It's: =B1>A1*0.05, in Cell B1 and Copied down...
    If you enter: =B1>$A1*0.05, you can drag it across to column E and the B1 will increment to C1 ... . Then drag down
    Last edited by protonLeah; 07-18-2012 at 03:57 PM.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    07-18-2012
    Location
    Wethersfield, CT
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Conditional Formating (Not Static) referencing a row Header

    Perfect! Thanks a Million!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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