Share via

Distinct count: which duplicate value is counted?

Anonymous
2023-03-07T16:45:12+00:00

I have a list of students and their course taking information. Sometimes a student repeated a course so there would be duplicates in my list (example: student took eng in fall and got a D, then took it again in spring and got a B). when i create a pivot table, select distinct count, and include there respective grades, which instance/grade is included in the distinct count? i cannot tell which instance excel is excluding in the distinct count... it could change my success rate depending of if excel is keeping the D or the B...

Microsoft 365 and Office | Excel | For education | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2023-03-07T17:36:25+00:00

One for 1 and one for 0.

Was this answer helpful?

0 comments No comments

Answer accepted by question author

Rory Archibald 18,965 Reputation points Volunteer Moderator
2023-03-07T17:33:41+00:00

They will be couinted (distinctly) once in each of 0 and 1. The distinct count is within whatever other groupings are applied, which is why the grand total of the distinct count is not the sum of the two rows above it.

Was this answer helpful?

0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-03-07T17:22:23+00:00
    success Distinct Count of SPRIDEN_ID
    0 250
    1 1410
    Grand Total 1565

    0 = unsuccessful (DFW)

    1= successful (ABC)

    if a student got an F in Fall and then a C in spring, are they distinctly counted as a 0 or 1?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-03-07T17:06:17+00:00

    Here is two sample.

    Best Regards,

    Snow Lu

    Was this answer helpful?

    0 comments No comments
  3. Rory Archibald 18,965 Reputation points Volunteer Moderator
    2023-03-07T16:48:18+00:00

    I don't follow. The distinct count is purely a count of the distinct values in whatever field (presumably course name or id). It doesn't affect any other data.

    Was this answer helpful?

    0 comments No comments