0

Say I have column A as Number, and B as Type:

enter image description here

I want to count how many unique numbers there are for Type "C" and Type "I" respectively. In the example, the results I'd want are "C": 2, "I": 3.

How can I do a count of distinct values, based on a second parameter in Excel?

pnuts
  • 58,317
  • 11
  • 87
  • 139
OWSam
  • 537
  • 1
  • 9
  • 23
  • Possible duplicate of [countif - multiple criteria - Excel](http://stackoverflow.com/questions/17215915/countif-multiple-criteria-excel) – Grade 'Eh' Bacon Oct 19 '15 at 15:56

1 Answers1

1

Easy with a PivotTable (Excel 2013 and later):

SO33218415 example

pnuts
  • 58,317
  • 11
  • 87
  • 139