+ Reply to Thread
Results 1 to 7 of 7

Comparing grades and using conditional formatting

  1. #1
    Registered User
    Join Date
    05-23-2011
    Location
    Bukingham
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question Comparing grades and using conditional formatting

    Hi, I have what I thought was a simple problem but can't figure out how to do it! Sorry I'm a bit of a noob...

    Basically, I have student data: their grade, and their target grade. I would like to traffic light their grade so if they are above target, their "grade" cell contains their grade and is highlighted green. Similarly on target, orange and below target, red.

    I realised I would have to convert grades to numbers so have done so with a lookup table. I have also easily traffic lighted (traffic lit?) the number difference between the the two grades. What I really want though is the GRADE (column C) to automatically be traffic lit depending on its relationship to the target but this doesn't seem straightforward - I can't even just copy "G" and paste special formatting in "C"...

    I have attached a basic version of the spreadsheet, any help would be appreciated.

    Cheers

    Simon
    Attached Files Attached Files

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Comparing grades and using conditional formatting

    I can't figure out how to do what you are asking, but if you change the text font color of column G to white, you can make the column look like it only has the traffic lights. Then if you put it next to column C, you can make it look like what you are asking for. The header is formatted as center across selection. See example.
    Attached Files Attached Files
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Registered User
    Join Date
    05-23-2011
    Location
    Bukingham
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Comparing grades and using conditional formatting

    Thanks, that looks good!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    32,236

    Re: Comparing grades and using conditional formatting

    There's an option on the CF Traffic Lights to only display the icon.

    Regards
    Trevor Shuttleworth - Excel Aid

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Comparing grades and using conditional formatting

    Good call TMShucks, that's my "new thing I learned for the day".

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    32,236

    Re: Comparing grades and using conditional formatting

    @davegugg: and one of mine ;-)

    Thanks for the rep.
    Last edited by TMS; 05-23-2011 at 05:45 PM.

  7. #7
    Registered User
    Join Date
    05-23-2011
    Location
    Bukingham
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Comparing grades and using conditional formatting

    thanks man that looks even sweeter still!

+ 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