Unique count in different format

Siyanna

Well-known Member
Joined
Nov 7, 2011
Messages
1,146
Hi

I have a huge list of data lists data in this format

Name Date Question UN
A 01/01/18 Q1 1
A 01/01/18 Q2 1
A 01/02/18 Q1 2

i have pivoted the table and added a slicer for Date and UN. I’m trying to get a unique count of records not including the questions

so for UN 1, A and 01/01/2018 the count should be 1

can I do this with a pivot table or do I have to add a further column in my source table that has a formula that takes that into account?

if yes, what formul can I have? The idea is to get how many people responded
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Control+shift+enter, not just enter:
Rich (BB code):
=SUM(IF(FREQUENCY(IF(($D$2:$D$4=1)*($A$2:$A$4="A")*($B$2:$B$4=DATE(2018,1,1)),
    MATCH($D$2:$D$4&$A$2:$A$4&$B$2:$B$4,$D$2:$D$4&$A$2:$A$4&$B$2:$B$4,0)),
    ROW($A$2:$A$4)-ROW($A$2)+1),1))
 
Last edited:
Upvote 0
Thank you

Is it possible to get around it in the pivot table just encase my data has more columns and rows hence why i have slicers

Main thing to see is how many responses a person made so the only the thing different will be the questions
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top