I am building a chart that contains the total amount of rows and accounts assigned to a user in Excel 2016. The first issue is easy and I resolved it with a COUNTIF function, however the second part I'm not certain of the best way to do it...
I wish to be able to count the number of unique rows based on two values (I think that's the right way to word this scenario)...
For example, take the following data:
A B
01 Account Number Assigned User
02 12356 Anthony
03 12356 Anthony
04 12356 Anthony
05 48151 Anthony
06 48151 Anthony
07 20235 Barbara
08 12345 Barbara
09 88514 Anthony
10 89752 Daniel
11 89752 Daniel
12 89752 Daniel
I've been able to count how many unique entries under a column (so 3 total Assigned Users, 6 total Account Numbers), however in this example, I want to calculate how many unique Account Numbers per user.
The expected output I'd want is something like this:
A B C
01 Assigned User Total Accounts Total Rows
02 Anthony 3 6
03 Barbara 2 2
04 Daniel 1 3
Where the "Total Accounts" column would contain the total count of UNIQUE account numbers.
For "Total Rows", I'm using the following function: =COUNTIF('Master List'!B:B, A#)
(replace A# with A2, A3, A4, etc. for each user name), however how would I structure a function/formula to get the values for Column B, "Total Accounts"?