+ Reply to Thread
Results 1 to 7 of 7

Can't Highlight Cells Appearing >=3x While Meeting Other Criteria

  1. #1
    Registered User
    Join Date
    01-22-2021
    Location
    USA
    MS-Off Ver
    2010
    Posts
    3

    Can't Highlight Cells Appearing >=3x While Meeting Other Criteria

    I have a sheet with multiple columns that I track certain information for my club. I want to highlight cells in column B if those values in column B appear three or more times AND meet criteria in columns H and I.

    I have attached my worksheet for reference.

    For example, I would like to highlight cells or Dogs (column B) if they appear in that column (column B) three or more times AND meet the criteria of "Open" in column H and "Shooting Dog" in column I.

    I am having so much trouble with something I feel is so easy.

    Thanks in advance!
    Attached Files Attached Files
    Last edited by KY Grouse Hunter; 01-22-2021 at 04:12 PM.

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Can't Highlight Cells Appearing >=3x While Meeting Other Criteria

    I adjusted your column references to include those columns that contain the words OPEN, and SHOOTING DOG.

    Try this in CF starting in B2 and copy down:
    Please Login or Register  to view this content.
    Format as desired. If it works for you, mark as solved.

    Pete

  3. #3
    Registered User
    Join Date
    01-22-2021
    Location
    USA
    MS-Off Ver
    2010
    Posts
    3

    Re: Can't Highlight Cells Appearing >=3x While Meeting Other Criteria

    Thanks PeteABC123! That worked!

    On another note, are you able to extract a unique list of those values based on the same criteria?

    Thanks in advance!

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,659

    Re: Can't Highlight Cells Appearing >=3x While Meeting Other Criteria

    List of >3 times appearance:
    L2 then drag down
    Please Login or Register  to view this content.
    In case of list of unique dogs with "Shooting dogs" and "open", regardless time of appearance
    K2:
    Please Login or Register  to view this content.
    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Attached Files Attached Files
    Quang PT

  5. #5
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104
    Quote Originally Posted by KY Grouse Hunter View Post
    Thanks PeteABC123! That worked!

    On another note, are you able to extract a unique list of those values based on the same criteria?

    Thanks in advance!
    Which values? (I'll try but it might be beyond my pay grade.)

    Pete

  6. #6
    Registered User
    Join Date
    01-22-2021
    Location
    USA
    MS-Off Ver
    2010
    Posts
    3

    Re: Can't Highlight Cells Appearing >=3x While Meeting Other Criteria

    I am trying to extract a list of the unique dog names (column B) that have competed/appeared in 3 or more events meeting the "Open" restriction" (column F) and "Shooting Dog" classification (column G).

    Thanks!

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    19,043

    Re: Can't Highlight Cells Appearing >=3x While Meeting Other Criteria

    Hello KY Grouse Hunter and Welcome to Excel Forum.
    This proposal employs a helper column (I) which may be moved and/or hidden for aesthetic purposes.
    The helper column is populated using: =IF(AND(F2="Open",G2="Shooting Dog"),COUNTIFS(B$2:B2,B2,F$2:F2,"Open",G$2:G2,"Shooting Dog"),0)
    The distinct list is populated using: =IFERROR(INDEX(B$2:B$158,AGGREGATE(15,6,(ROW(B$2:B$158)-ROW(B$1))/(I$2:I$158=3),ROWS(A$1:A1))),"")
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Count Data Meeting Criteria Across Columns Meeting Criteria
    By idelta in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-06-2015, 03:53 PM
  2. [SOLVED] SUMPRODUCT for cells meeting the criteria
    By alice2011 in forum Excel General
    Replies: 0
    Last Post: 06-18-2015, 04:04 PM
  3. [SOLVED] How to highlight consecutive dates meeting multiple criteria
    By divi123 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-17-2014, 08:04 AM
  4. Sum cells in a row meeting criteria
    By Murrayk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-24-2012, 01:51 AM
  5. Counting Cells meeting certain criteria
    By Ozwilly in forum Excel General
    Replies: 5
    Last Post: 10-29-2011, 03:30 AM
  6. Replies: 1
    Last Post: 04-19-2011, 06:08 PM
  7. Replies: 2
    Last Post: 06-24-2010, 04:53 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