Calculating unique number of visitors

deSelby

New Member
Joined
Aug 27, 2010
Messages
3
Hi there,

I apologise, as I may be asking a few questions here over the next few hours or so, as I'm not particularly skilled with Excel and have been charged with creating a register at work!

Here's my problem. I need to calculate certain things from a given attendance sheet i.e. Total number of times an individual attended over a course of sessions, the attendance of individual sessions, and the total number of unique attendees over the course of the sessions. Now, the first two I've been able to do no problem using a Countif function (attendance is registered by giving a Y or N value on a drop down menu), but I have no idea where to start with calculating the number of unique attendees.

Could anyone here be of any help?
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi and welcome to the board.

Perhaps;
Excel Workbook
ABCD
1Attendee
2JonUnique attendees4
3Richard
4Bob
5Rory
6Bob
7Bob
8Rory
9Jon
10Richard
Sheet1
Excel 2007
Cell Formulas
RangeFormula
D2=SUMPRODUCT(--(A2:A10<>"")/COUNTIF(A2:A10,A2:A10&""))
 
Upvote 0
Control+shift+enter, not just enter:

=SUM(IF(FREQUENCY(IF(A2:A100<>"",MATCH("~"&A2:A100,A2:A100&"",0)),ROW(A2:A100)-ROW(A2)+1),1))

where A2:A100 houses the attendee names.
 
Upvote 0
Hi there Jon, thanks for getting back to me so quickly!

I should probably explain myself a little bit better. Here is the worksheet as I currently have it:

xgmef5.jpg


It might not be the tidiest way of doing it, but what I was envisaging was some sort of clause whereby if the Total Attendance column had a total greater than 1, I could use a function to total up how many instances of 1 or more attendances was registered.

I'm sorry, that's probably the worst sentence I've ever constructed. I hope that's in some way clear.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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