+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting? if 3 teams head to head? Need highlight it

  1. #1
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Conditional formatting? if 3 teams head to head? Need highlight it

    Hi All.

    Got stuck with this one?

    I have table from 1 to 8 groups?

    In Group A Columns B5:L13, I have 3 teams on same points, LD, W and beat head to head?

    If 3 team are on the same Points, LD, W and beat head to head? highlight yellow 1 come up M6:M8 come from dummy table sheet.

    How to highlight in conditional formatting in red columns AF5:AL28 as you see in the file of rows 9,13 and 21?
    Attached Files Attached Files
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  2. #2
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Conditional formatting? if 3 teams head to head? Need highlight it

    Anyone know how to do it?

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Conditional formatting? if 3 teams head to head? Need highlight it

    Try this formula in M5:

    =IF(COUNTIFS($G$5:$G$13,G5,$H$5:$H$13,H5,$I$5:$I$13,I5,$K$5:$K$13,K5,$L$5:$L$13,L5,$L$5:$L$13,">0")=3,1,"")

    Formula for CF in AH5:AL28

    =IF(COUNTIF($M$5:$M$13,"1")=3,COUNTIF(OFFSET($C$4,MATCH(1,$M$5:$M$13,0),,3,1),$AH5)+COUNTIF(OFFSET($C$4,MATCH(1,$M$5:$M$13,0),,3,1),$AL5),0)=2

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Conditional formatting? if 3 teams head to head? Need highlight it

    In 'Applies to' test box do this
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Select 'New Rule' ---> 'Use a formula to determine which cells to format' ---> in 'Format values where this formula is true'
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  5. #5
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Conditional formatting? if 3 teams head to head? Need highlight it

    Hi

    FlameRetired
    Thank you for formula, only work C6:C8?
    Does not C5:C13?


    Phuocam
    Thank you for formula,
    I didn't need M5 formula as I already got automatic formula from Dummy sheet! Reason very difficult when head to head if work from table?

    CF AH5:AL28? Work in Group A!

    I try for group B, C and D? and it work by change number
    M5:M13 to Z5:Z13 and C4 to P4 for group B
    M5:M13 to M16:M24 and C4 to C15 for group C
    M5:M13 to Z16:Z24 and C4 to P15 for group D

    Thank you and all the best!
    Will click solved once I completely other file by this weekend, if no problem?
    Last edited by micope21; 05-09-2016 at 05:23 AM.

+ 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. League Table Based on Head to Head results
    By darkblueblood in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2023, 07:10 AM
  2. [SOLVED] How to insert a previous Head to head matches ?
    By malveiro in forum Excel General
    Replies: 7
    Last Post: 05-14-2015, 08:34 AM
  3. Breaking ties in a head to head contest
    By cklemme in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-28-2014, 01:06 AM
  4. How to account for head to head matchup in Excel with other tie breakers
    By Biogeek1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-26-2013, 05:18 PM
  5. Head to Head (Tiebreakers) in Champions League
    By jovisb1993 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-26-2013, 06:50 PM
  6. Calculate average of last two outcomes of last two head-to-head clashes
    By wishkey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-07-2013, 08:17 AM
  7. Ranking a league table by head to head results
    By pajc72 in forum Excel General
    Replies: 1
    Last Post: 09-02-2011, 07:02 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