+ Reply to Thread
Results 1 to 2 of 2

Is there an excel function that can filter out repeated entries in a data set tally?

  1. #1
    Registered User
    Join Date
    07-08-2022
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    1

    Unhappy Is there an excel function that can filter out repeated entries in a data set tally?

    I have a data set of players and their corresponding jersey numbers. My actual data set is larger but this sample should suffice for all intents and purposes. This data set includes the various specialties that the player has. There are categories that each specialty (sport) falls into. Albeit the formatting, I was able to get some valuable help earlier this week which helped me in arriving at a total tally for a numeric category in a cell with other numbers and commas.

    The function that helped me was as follows:

    =SUM(--(FILTERXML("<t><s>"&TEXTJOIN("</s><s>",TRUE,SUBSTITUTE($D$3:$D$16,",","</s><s>"))&"</s></t>","//s[.=" & K3 & "]")<>""))

    However, in the data I have now, there are situations where one player will play two games which both fall into the same category (i.e., player 10 plays Soccer and Baseball and they both are sports that require a ball). What I want, is to be able to find the # of players that play a single sport that falls into one of the many categories. For example, I would like to find the number of players that play a single sport that requires a ball. So if a player plays two sports that require a ball, the tally should only count this player once. Is there a function that can allow me to avoid double counting of players across a designated category? I have also attached a screenshot of my excel worksheet below.


    Player Tally Screenshot.png
    Attached Files Attached Files

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,408

    Re: Is there an excel function that can filter out repeated entries in a data set tally?

    What is your own expected result? Can you put the result in the attachment?

    Cell L3 formula can be shorter , Drag down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by wk9128; 07-08-2022 at 08:12 PM.

+ 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. Tally Entries with the data of Excel sheet
    By R Bramhendra in forum Excel General
    Replies: 2
    Last Post: 12-03-2021, 06:05 AM
  2. data validation-entries are repeated
    By mduke in forum Excel General
    Replies: 3
    Last Post: 01-16-2009, 11:03 AM
  3. [SOLVED] Tally function in excel
    By Manish Bajpai in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 02:05 PM
  4. Tally function in excel
    By bgbrady in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] Tally function in excel
    By Manish Bajpai in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  6. Tally function in excel
    By bgbrady in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. Tally function in excel
    By bgbrady in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 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