+ Reply to Thread
Results 1 to 4 of 4

COUNTIF Formula in a Table

Hybrid View

Denzil_01224 COUNTIF Formula in a Table 02-05-2014, 08:35 AM
benishiryo Re: COUNTIF Formula in a Table 02-05-2014, 08:47 AM
Denzil_01224 Re: COUNTIF Formula in a Table 02-05-2014, 08:56 AM
bebo021999 Re: COUNTIF Formula in a Table 02-05-2014, 08:50 AM
  1. #1
    Registered User
    Join Date
    02-05-2014
    Location
    Aberdeen
    MS-Off Ver
    Excel 2010
    Posts
    2

    COUNTIF Formula in a Table

    I am trying to create a table to track how many times a referee has refereed a certain player.

    In my table i have as follows, see attachement below:

    COUNTIF.png

    The formula that i have used in the table is: =IF($E$5:$E$42=$M$4,COUNTIF($F$5:$I$42,$L$5),0)

    Basically i want to count the match participants against the person who refereed the match. At the moment it won't read right across the line so it isn't tallying up correctly.

    So i need the table to show that Mikey refereed Scotty Swift x amount of times over the course of a year.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Denzil_01224; 02-05-2014 at 08:39 AM. Reason: Added Workbook Attachment

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: COUNTIF Formula in a Table

    welcome to the forum. right choice to upload the sample excel file as well. would be also nice to manually key in the answers you wish to see & explain at least how you got 1 of them. my guess is this in I5:
    =SUMPRODUCT(($A$5:$A$26=I$4)*($B$5:$E$26=$H5))

    copy down & across

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    02-05-2014
    Location
    Aberdeen
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: COUNTIF Formula in a Table

    Quote Originally Posted by benishiryo View Post
    welcome to the forum. right choice to upload the sample excel file as well. would be also nice to manually key in the answers you wish to see & explain at least how you got 1 of them. my guess is this in I5:
    =SUMPRODUCT(($A$5:$A$26=I$4)*($B$5:$E$26=$H5))

    copy down & across
    Thanks for that. It has worked and is adding up across the rows!

    Really appreciate your help.

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

    Re: COUNTIF Formula in a Table

    Maybe in I5:
    =SUMPRODUCT(($A$5:$A$42=I$4)*(($B$5:$B$42=$H5)+($C$5:$C$42=$H5)+($D$5:$D$42=$H5)+($E$5:$E$42=$H5)))
    Quang PT

+ 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. COUNTIF formula changing when adding new data to a table.
    By oldraper in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-16-2013, 10:44 AM
  2. Countif Formula between Values from a Data Table
    By mrvp in forum Excel General
    Replies: 4
    Last Post: 03-06-2012, 07:25 PM
  3. Excel 2007 : Using Countif formula in a Pivot Table
    By karena101 in forum Excel General
    Replies: 2
    Last Post: 06-15-2011, 09:30 AM
  4. Pivot table formula, countif
    By lavi in forum Excel General
    Replies: 0
    Last Post: 10-14-2010, 01:44 PM
  5. Pivot Table Formula-- COUNTIF?
    By svaiskau in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-06-2007, 10:23 AM

Tags for this Thread

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