Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 926

Excel: count unique instances across two columns

$
0
0

I have a spreadsheet that has a column for cell sites and another column for frequency like this:

SITE      FREQUENCYMA1084    687MA1084    687MA1084    687MA1084    4382MA1084    4382MA1084    4382MA1096    4358MA1096    4358MA1096    4358MA1096    687MA1096    687MA1096    687MA1096    4382MA1096    4382MA1096    4382

I'd like a formula that will add up all the unique combinations of SITE and FREQUENCY. My expected output is below. Basically I want to know how many unique frequencies each cell site has.

SITE      FREQUENCY COUNTMA1084    687       2MA1084    687       2MA1084    687       2MA1084    4382      2MA1084    4382      2MA1084    4382      2MA1096    4358      3MA1096    4358      3MA1096    4358      3MA1096    687       3MA1096    687       3MA1096    687       3MA1096    4382      3MA1096    4382      3MA1096    4382      3

I can do this with a pivot table but am looking for a formula based solution. Any help is appreciated.


Viewing all articles
Browse latest Browse all 926

Trending Articles