Number of times a name appears against separate dates

William53

New Member
Joined
Jul 8, 2017
Messages
38
Office Version
  1. 365
Platform
  1. Windows
Hi All
I am trying to work out a formula that counts the number of times a persons name appears in a table against separate dates. E.g., a name can appear on a specific date say 23rd Feb. 2022 6 times then appear again on the 26th May 2002 7 times. I want to be able to just count the name twice. Any help with this would be gratefully received. Example table below:
1​
Jane
23-Feb-22​
WedFeb22
2​
Jane
23-Feb-22​
WedFeb22
3​
Jane
23-Feb-22​
WedFeb22
4​
Jane
23-Feb-22​
WedFeb22
5​
Jane
23-Feb-22​
WedFeb22
6​
Jane
27-Feb-22​
SunFeb22
7​
Eddie
17-Mar-22​
ThuMar22
8​
Eddie
17-Mar-22​
ThuMar22
9​
Eddie
17-Mar-22​
ThuMar22
10​
Eddie
17-Mar-22​
ThuMar22
11​
Eddie
17-Mar-22​
ThuMar22
12​
Eddie
17-Mar-22​
ThuMar22
13​
Eddie
17-Mar-22​
ThuMar22
14​
Eddie
17-Mar-22​
ThuMar22
15​
Eddie
17-Mar-22​
ThuMar22
16​
Eddie
17-Mar-22​
ThuMar22
17​
Eddie
17-Mar-22​
ThuMar22
18​
Jane
26-May-22​
ThuMay22
19​
Jane
26-May-22​
ThuMay22
20​
Jane
26-May-22​
ThuMay22
21​
Jane
26-May-22​
ThuMay22
22​
Jane
26-May-22​
ThuMay22
23​
Jane
26-May-22​
ThuMay22
24​
Jane
26-May-22​
ThuMay22
25​
Jane
26-May-22​
ThuMay22
26​
Jane
26-May-22​
ThuMay22
27​
Jane
26-May-22​
ThuMay22
28​
Eddie
01-Jun-22​
WedJun22
29​
Eddie
01-Jun-22​
WedJun22
30​
Eddie
01-Jun-22​
WedJun22
31​
Eddie
01-Jun-22​
WedJun22
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
How about
Fluff.xlsm
ABCDEFGHI
1
21Jane23-Feb-22WedFeb22Jane3
32Jane23-Feb-22WedFeb22Eddie2
43Jane23-Feb-22WedFeb22
54Jane23-Feb-22WedFeb22
65Jane23-Feb-22WedFeb22
76Jane27-Feb-22SunFeb22
87Eddie17-Mar-22ThuMar22
98Eddie17-Mar-22ThuMar22
109Eddie17-Mar-22ThuMar22
1110Eddie17-Mar-22ThuMar22
1211Eddie17-Mar-22ThuMar22
1312Eddie17-Mar-22ThuMar22
1413Eddie17-Mar-22ThuMar22
1514Eddie17-Mar-22ThuMar22
1615Eddie17-Mar-22ThuMar22
1716Eddie17-Mar-22ThuMar22
1817Eddie17-Mar-22ThuMar22
1918Jane26-May-22ThuMay22
2019Jane26-May-22ThuMay22
2120Jane26-May-22ThuMay22
2221Jane26-May-22ThuMay22
2322Jane26-May-22ThuMay22
2423Jane26-May-22ThuMay22
2524Jane26-May-22ThuMay22
2625Jane26-May-22ThuMay22
2726Jane26-May-22ThuMay22
2827Jane26-May-22ThuMay22
2928Eddie01-Jun-22WedJun22
3029Eddie01-Jun-22WedJun22
3130Eddie01-Jun-22WedJun22
3231Eddie01-Jun-22WedJun22
33
Master
Cell Formulas
RangeFormula
H2:H3H2=UNIQUE(FILTER(B2:B100,B2:B100<>""))
I2:I3I2=ROWS(UNIQUE(FILTER($C$2:$C$100,$B$2:$B$100=H2)))
Dynamic array formulas.
 
Upvote 0
Solution
How about
Fluff.xlsm
ABCDEFGHI
1
21Jane23-Feb-22WedFeb22Jane3
32Jane23-Feb-22WedFeb22Eddie2
43Jane23-Feb-22WedFeb22
54Jane23-Feb-22WedFeb22
65Jane23-Feb-22WedFeb22
76Jane27-Feb-22SunFeb22
87Eddie17-Mar-22ThuMar22
98Eddie17-Mar-22ThuMar22
109Eddie17-Mar-22ThuMar22
1110Eddie17-Mar-22ThuMar22
1211Eddie17-Mar-22ThuMar22
1312Eddie17-Mar-22ThuMar22
1413Eddie17-Mar-22ThuMar22
1514Eddie17-Mar-22ThuMar22
1615Eddie17-Mar-22ThuMar22
1716Eddie17-Mar-22ThuMar22
1817Eddie17-Mar-22ThuMar22
1918Jane26-May-22ThuMay22
2019Jane26-May-22ThuMay22
2120Jane26-May-22ThuMay22
2221Jane26-May-22ThuMay22
2322Jane26-May-22ThuMay22
2423Jane26-May-22ThuMay22
2524Jane26-May-22ThuMay22
2625Jane26-May-22ThuMay22
2726Jane26-May-22ThuMay22
2827Jane26-May-22ThuMay22
2928Eddie01-Jun-22WedJun22
3029Eddie01-Jun-22WedJun22
3130Eddie01-Jun-22WedJun22
3231Eddie01-Jun-22WedJun22
33
Master
Cell Formulas
RangeFormula
H2:H3H2=UNIQUE(FILTER(B2:B100,B2:B100<>""))
I2:I3I2=ROWS(UNIQUE(FILTER($C$2:$C$100,$B$2:$B$100=H2)))
Dynamic array formulas.
Many thanks Fluff, once again you have EXCELled, works perfectly.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,200
Members
453,022
Latest member
RobertV1609

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