+ Reply to Thread
Results 1 to 3 of 3

Index/Match & Mode?

  1. #1
    Registered User
    Join Date
    01-18-2009
    Location
    Baltimore
    MS-Off Ver
    Excel 2010
    Posts
    16

    Index/Match & Mode?

    I'm not sure if "MODE" is available with a pivot table, but this is what I have.

    Please Login or Register  to view this content.
    Column A is a list of "player id's"
    Column B is a list of years
    Column C is the team id that player played for.

    What I did was create a pivot table with this information. (I have attached the file)

    What I'm looking for is to be able to find the most common number in Column C for each unique value in Column A.

    Book1.xlsx

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Index/Match & Mode?

    This indicates the maximum count of Team ID's for each player ID which indicates the longest period spent with one team.

    Enter this in D8 of sheet2 and copy down

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Enter this with Ctrl+Shift+Enter in E8 and copy down

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I had the results included in your file but the uploader wouldn't work.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Index/Match & Mode?

    In Cell D4 on Sheet 2, use this array formula

    =IFERROR(MODE(IF(players_career_batting_stats.cs!$A$8:$A$9999=A4,players_career_batting_stats.cs!$C$8:$C$9999)),"")

    Confirm with Ctrl+Shift+Enter and not just Enter

    copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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