+ Reply to Thread
Results 1 to 7 of 7

Conditional Format Formula to cover a range of 18 columns to highlight cells

  1. #1
    Registered User
    Join Date
    05-12-2013
    Location
    Beaver, Pa
    MS-Off Ver
    Excel 2007
    Posts
    25

    Conditional Format Formula to cover a range of 18 columns to highlight cells

    I have a range of 18 columns that I went to format to highlight cells that are greater than the row of numbers that are at the header of each columns. I can do each column separately, but it requires 18 separate entries. ie all cells in column D reference the number in D4, all cells in column E reference the number in E4 and so on for 18 columns.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Conditional Format Formula to cover a range of 18 columns to highlight cells

    in d5 formula is =COUNTIF(D5,D$4) copy format across and down
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    05-12-2013
    Location
    Beaver, Pa
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Conditional Format Formula to cover a range of 18 columns to highlight cells

    Thanks martin, but I have formulas in the range to compute the values of the cells in question. I'm looking for a formula to put in the Conditional Formatting Area to look at the values in each column, compare them to the value in the header row and then highlight the cells that are greater than the values of the header. Ca this be done?

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Conditional Format Formula to cover a range of 18 columns to highlight cells

    thats a cf formula copy the format
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-12-2013
    Location
    Beaver, Pa
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Conditional Format Formula to cover a range of 18 columns to highlight cells

    Thanks Again Martin, but I'm looking for values that are greater than The Header Row. I think I have it now by just using D5>D$4. Thanks for the help!

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Conditional Format Formula to cover a range of 18 columns to highlight cells

    =COUNTIF(D5,D$4) was a wrong for your example sorry and it could have just been D5=D$4 as you pointed out with your correct example. overkill i must think simpler sometimes!

  7. #7
    Registered User
    Join Date
    05-12-2013
    Location
    Beaver, Pa
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Conditional Format Formula to cover a range of 18 columns to highlight cells

    No Problem Martin. I am very new to Excel...about 5 weeks. Writing a skins sheet for golf. This forum has helped immensely. I try to figure stuff out on my own, but after beating my head against the keyboard for a few hours, I ask for help. Your tip put me on the right track. I, too was making it way too complicated.

    T

+ 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