+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting one column values vs an adjacent column of values

  1. #1
    Forum Contributor
    Join Date
    02-14-2004
    Posts
    131

    Conditional Formatting one column values vs an adjacent column of values

    I'm using Excel 2007. I'm trying to compare the values in a column to an adjacent column of values. For instance I'm comparing my sales price to my competitors and I'd like to have a different color or font if their sales price is less than our sales price. My price is in column O and theirs are in Column R. I can do this conditional formatting with one cell value compared to another but can't expand it to the entire column.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    So you want to compare each value in column O with all values in column R, so that if for eg. O1 is less than any value in column R, then highlight?

    Or did I misunderstand?
    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
    Forum Contributor
    Join Date
    02-14-2004
    Posts
    131
    Sorry about that. No, I want to compare the value in Q12 to O12, Q13 to O13 and so on. and if Q12 is less than O12 make it Red Font with Yellow Fill.

  4. #4
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    hi,

    put this in the conditional format

    =(q2<o12)
    and format as you said
    steve

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Select range from Q12 downwards (if Q12 is the first cell to compare)

    And select Format|Conditional Formatting.

    You can select Cell Value Is >> Less Than >> =O12

    where O12 is top most cell to compare against.

    Click Format and choose your colour from the Pattern tab.

    Click Ok twice to finish.

+ 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