+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting

  1. #1
    Registered User
    Join Date
    10-07-2011
    Location
    US
    MS-Off Ver
    Excel 200
    Posts
    1

    Conditional Formatting

    I'm tyring to use conditional formatting to compare several rows in one column to the associated rows in another column and indicate column a better than, equal to or worse than column b. Can this be done without entering conditional formatting in each row of the first column?

    Each time I try to format the entire column to another entire column I get an error.

    I'm new at conditional formatting, apologies in advance for my cluelessness!

  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

    If you select the whole column and then use a formula to determine which cells to format and then enter a formula like:

    =AND(A1<>"",$B1<>"",A1>$B1)

    this assumes your selection is from A1 down and/or over.

    It will highlight current cell if it is not blank and corresponding B cell is not blank and is greater than corresponding B cell. Note the $ before the B "freezes" that column for comparison to any other selected column.
    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.

+ 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