I have an Excel 2010 workbook with one row for Last name and one row for first name. There are approximately 1800 entries.
The same person (first and last name) can appear multiple times- jim simith appears 5 times. I want to do a frequency count of how many times jim simth appears in the list.
I used =COUNTIF($B$2:$B$1800,B2)
, where B
is the last name. The problem is that there are other Smiths in the list that are counted because the first name is in a separate column. Does anyone know how I could do a frequency count of each individual where their last names can be the same?
Probably overkill, but you can create an ADODB connection to the worksheet:
Then you can issue an SQL statement against the worksheet: