+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting to change colours dependent upon varient?

  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    17

    Conditional formatting to change colours dependent upon varient?

    Progress tracker Example.xlsx

    Hi All

    Please could you help with the following spreadsheet. I am atempting to show the progress made by my students through a colour system that links with a grading system. So when a certain end of year grade is formulated, the said cell will change colour to represent the progress made by the student.



    My grades follow a number & letter (abc) scale, less than 3c the lowest & 8a being the highest (3c,3b,3a,4c,4b,4a,5c,5b etc)


    A one letter movement counts as a rise so 3c to 3b is 1 level rise, 3c to 4c is a 3 level rise.


    I want to indicate the colour of Progress based on the following:



    < 5 levels = less than expected (want the cell to turn RED)
    5-6 levels = expected (want the cell to turn Orange)
    7-8 levels = good (want the cell to turn Blue)
    9+ sub levels = outstanding (want the cell to turn Purple)

    The level of rise is naturally determined by the starting point at all times and so I need the formula to use the 'baseline test' column as it point of reference at all times.


    I think I have explained all of that, you help would be amazing on this issue as it would become an invaluable piece of work for my students.

    Many thanks



    Graeme

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Conditional formatting to change colours dependent upon varient?

    You have (in your example) 3a as a baseline, then 4b is red, 5b orange, 5a blue and 7c purple (looks more like brick red)
    I calculate 4b is red, 5b orange (so far so good), 5a also orange (10-4 = 6) and 7c purple (14-4 =10)

    I used the following conditional formatting equations (in this order so enter in the opposite order and check Stop if true)
    Select range of C4:N7......
    =IF(LEN(C4)>1,INDEX($P$4:$P$23,MATCH(C4,$Q$4:$Q$23,0))-INDEX($P$4:$P$23,MATCH($B4,$Q$4:$Q$23,0))<5) Red
    =IF(LEN(C4)>1,INDEX($P$4:$P$23,MATCH(C4,$Q$4:$Q$23,0))-INDEX($P$4:$P$23,MATCH($B4,$Q$4:$Q$23,0))<7) Orange
    =IF(LEN(C4)>1,INDEX($P$4:$P$23,MATCH(C4,$Q$4:$Q$23,0))-INDEX($P$4:$P$23,MATCH($B4,$Q$4:$Q$23,0))<9) Blue
    =IF(LEN(C4)>1,INDEX($P$4:$P$23,MATCH(C4,$Q$4:$Q$23,0))-INDEX($P$4:$P$23,MATCH($B4,$Q$4:$Q$23,0))>8) Purple

    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    05-09-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Conditional formatting to change colours dependent upon varient?

    Hi ChemistB

    Many many thanks, this is nearly there, the only issue is it appears to colour the cell that is two to the right, instead of colouring the cell that the data was entered into. I cannot figure out why this is happenning, any thoughts?

    Gmmunro

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Conditional formatting to change colours dependent upon varient?

    When I set the conditional formatting, I selected C4:N7. I am guessing you chose E4:N7? Go to Conditional formatting> Manage rules and see if you can change it.

+ 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