+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting

  1. #1
    Registered User
    Join Date
    10-28-2012
    Location
    brussels
    MS-Off Ver
    Office 365
    Posts
    42

    Conditional formatting

    Hi,

    I'm trying to achieve the following : i'm holding a quiz with team1 to team 30. In 1 round you have "vraag 1" till "vraag 20".
    A team can get 0, 1 or 2 points per question. What I am trying to do is, when on 1 question (vraag) there is only 1 team with 2 points, this team gets a gold highlight for that question. If only 2 teams have got 2 points, they both
    get a silver highlight. If 3 teams get 2 points, these 3 get a bronze highlight. If no team can get 2 point, the cell with the question number should get red.

    Can anyone plz help me?
    Attached Files Attached Files

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

    Re: Conditional formatting

    Selecting C6:AF25, conditional formatting>new rule> use formula
    =AND(C6=2, COUNTIF($C6:$AF6,2)=1) for gold
    =AND(C6=2, COUNTIF($C6:$AF6,2)=2) for silver
    =AND(C6=2, COUNTIF($C6:$AF6,2)=3) for bronze
    Change comma's to semi colons based on local settings.
    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
    08-17-2012
    Location
    New York, New York
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Conditional formatting

    Please see attached, similar solution to the previous post. If 4 or more teams get 2 points, then no teams get any highlighting.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,617

    Re: Conditional formatting

    Red (Vraag):
    Please Login or Register  to view this content.
    applied to column B6:B25

    Gold: (C6:AF25):
    Please Login or Register  to view this content.
    Silver:
    Please Login or Register  to view this content.
    Bronze:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by protonLeah; 01-11-2016 at 05:10 PM.
    Ben Van Johnson

+ 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: 01-08-2016, 06:44 PM
  2. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  3. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  4. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  5. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  6. Replies: 3
    Last Post: 05-15-2012, 04:13 PM
  7. Replies: 2
    Last Post: 11-02-2007, 12:03 PM

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