+ Reply to Thread
Results 1 to 2 of 2

Conditional format: compare 2 columns with grades [a,b,c], change colour based on >,<, =

  1. #1
    Registered User
    Join Date
    08-16-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    13

    Angry Conditional format: compare 2 columns with grades [a,b,c], change colour based on >,<, =

    I'd like to compare the contents of column K (student result) with column A (student target), grade set: C, D, E, F, G, U.

    If column K=A, fill cell colour yellow
    If column K<A, fill cell colour red
    If column K>A, fill cell colour green
    If column K=null/empty, no colour fill.

    I can manage this fine comparing one cell with another but when I attempt to change the range over 100 cells, it doesn't work as expected. Any help much appreciated, I'm guessing its $ absolute cell ref brain block?

    Please find attached.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Conditional format: compare 2 columns with grades [a,b,c], change colour based on >,<,

    your range does not match the formula
    so you are 1 row out

    range = k3
    but formula is k4
    needs to start at the same range ie k3

    also you need a isblank ()
    and then use a stop if true - see attached
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 04-11-2016, 09:48 AM
  2. Conditional Format colour change when at 80% of target
    By FORDY550 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-20-2014, 05:42 AM
  3. [SOLVED] Compare two columns with data, if match or not found then change the colour of cells
    By Sachy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-15-2013, 03:58 AM
  4. Conditional format formula need to change font colour
    By Si902 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-24-2010, 09:57 AM
  5. Replies: 5
    Last Post: 10-03-2009, 04:31 PM
  6. Change colour based on columns filled
    By lmw in forum Excel General
    Replies: 11
    Last Post: 09-08-2008, 04:57 PM
  7. [SOLVED] Conditional Format ... Compare Columns?
    By Ken in forum Excel General
    Replies: 5
    Last Post: 03-25-2005, 06:07 AM

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