pratheesh1983
Board Regular
- Joined
- Aug 13, 2015
- Messages
- 57
- Office Version
- 365
- Platform
- Windows
Hello,
I have a table which has two columns, column A & B - Column A have "section" and B consists of User Name. In column B user column the entries will be repeating. I need a formula which will give me the count of unique value base on the section (ref. Table 2) eg. for Section A = no. of unique value is 4. Could any one please assist me to formulate formula for this?
Table 1
[TABLE="width: 204"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD="align: left"]SECTION[/TD]
[TD="align: left"]USER[/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]RAMESH T K[/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]RAMESH T K[/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]ARUN M[/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]ARUN M[/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]MATHEW W[/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]MATHEW P[/TD]
[/TR]
[TR]
[TD="align: left"]B[/TD]
[TD="align: left"]PAUL PK[/TD]
[/TR]
[TR]
[TD="align: left"]B[/TD]
[TD="align: left"]PAUL PK[/TD]
[/TR]
[TR]
[TD="align: left"]B[/TD]
[TD="align: left"]TOM LG[/TD]
[/TR]
[TR]
[TD="align: left"]C[/TD]
[TD="align: left"]TOM LG[/TD]
[/TR]
[TR]
[TD="align: left"]C[/TD]
[TD="align: left"]ASHISH N[/TD]
[/TR]
[TR]
[TD="align: left"]C[/TD]
[TD="align: left"]PARTRICK P[/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="width: 237"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD="colspan: 2, align: center"]UNIQUE VALUE[/TD]
[/TR]
[TR]
[TD]SECTION[/TD]
[TD]COUNT[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]
I have a table which has two columns, column A & B - Column A have "section" and B consists of User Name. In column B user column the entries will be repeating. I need a formula which will give me the count of unique value base on the section (ref. Table 2) eg. for Section A = no. of unique value is 4. Could any one please assist me to formulate formula for this?
Table 1
[TABLE="width: 204"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD="align: left"]SECTION[/TD]
[TD="align: left"]USER[/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]RAMESH T K[/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]RAMESH T K[/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]ARUN M[/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]ARUN M[/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]MATHEW W[/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]MATHEW P[/TD]
[/TR]
[TR]
[TD="align: left"]B[/TD]
[TD="align: left"]PAUL PK[/TD]
[/TR]
[TR]
[TD="align: left"]B[/TD]
[TD="align: left"]PAUL PK[/TD]
[/TR]
[TR]
[TD="align: left"]B[/TD]
[TD="align: left"]TOM LG[/TD]
[/TR]
[TR]
[TD="align: left"]C[/TD]
[TD="align: left"]TOM LG[/TD]
[/TR]
[TR]
[TD="align: left"]C[/TD]
[TD="align: left"]ASHISH N[/TD]
[/TR]
[TR]
[TD="align: left"]C[/TD]
[TD="align: left"]PARTRICK P[/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="width: 237"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD="colspan: 2, align: center"]UNIQUE VALUE[/TD]
[/TR]
[TR]
[TD]SECTION[/TD]
[TD]COUNT[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]