Hello Excel Community,
I have a dumb question here.
The dataset has 4 columns: province, district, village and household (in the increasing level of detailedness).
I want to count the number of villages. In other words, I want to count the number of different triplets of (province, district, village) (a village has many household).
It may seem to be a noob question to you all.
Thank you a lot for all your time on my question.
For clarification, the dataset is like this:
A b c d
province, district, village, Households
p1 d1 v1 h11
p2 d2 v2 h21
p2 d2 v2 h21
p3 d3 v3 h31
p3 d3 v3 h31
p4 d41 v41 h41
p4 d41 v41 h42
p4 d42 v42 h43
Then there are only 5 triplets of (p,d,v)={(1,1,1),(2,2,2),(3,3,3),(4,41,41),(4,41,42)}
There are some duplicates of (p,d,v).
Bookmarks