+ Reply to Thread
Results 1 to 6 of 6

Counting non empty cells based on a criteria accross colums

  1. #1
    Registered User
    Join Date
    05-15-2012
    Location
    Australia
    MS-Off Ver
    Mac Office 365 (v16)
    Posts
    24

    Counting non empty cells based on a criteria accross colums

    Hi All,

    I've worked this out in the past - but seem to be having a brain fade ;-(

    I have a number of competitors, each will complete a different number of rounds each time they participate

    eg Mark will do 2 rounds this week, only 1 next week etc

    I want to get a total of how many rounds (indicated by a score .. including possibly zero) each person has played.

    Desired results are in yellow highlight

    Hope that makes sense

    Thanks in Advance.

    Mark
    Attached Files Attached Files
    Last edited by mbender; 07-14-2021 at 03:29 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Counting non empty cells based on a criteria accross colums

    Did you get half of your expected answers incorrect?? Mark = 3, surely...

    =SUMPRODUCT(($A$4:$A$8=F4)*($B$4:$D$8>0))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    05-15-2012
    Location
    Australia
    MS-Off Ver
    Mac Office 365 (v16)
    Posts
    24

    Re: Counting non empty cells based on a criteria accross colums

    thanks Glenn

    I've uploaded a revised file

    the zeros count as a score, So Mark should be 5

    so <>"" to replace >0 has me all sorted

    thanks a lot

    Mark

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Counting non empty cells based on a criteria accross colums

    Then use:

    =SUMPRODUCT(($A$4:$A$8=F4)*($B$4:$D$8<>""))

  5. #5
    Registered User
    Join Date
    05-15-2012
    Location
    Australia
    MS-Off Ver
    Mac Office 365 (v16)
    Posts
    24

    Re: Counting non empty cells based on a criteria accross colums

    sorry - posts collided on the way through ;-)

    Have a good one.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Counting non empty cells based on a criteria accross colums

    You're welcome & thanks for the feedback!

+ 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. Formula - Counting a combination based in two colums
    By Jakes1991 in forum Excel General
    Replies: 6
    Last Post: 04-02-2015, 04:50 AM
  2. Replies: 4
    Last Post: 06-13-2014, 07:08 PM
  3. [SOLVED] Counting matching cells in two colums
    By loki316 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-29-2014, 05:22 PM
  4. Counting the number of empty cells based on a condition in a range
    By naga in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-01-2013, 10:01 AM
  5. [SOLVED] Counting cells based on criteria in 2 columns
    By cathb23 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2013, 05:07 PM
  6. Counting cells based on multiple criteria
    By Kayote in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-10-2007, 10:39 AM
  7. counting cells (COUNTIF) based on two or more criteria
    By Tricia S. in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-17-2005, 11:06 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