I can't figure out the count. Thank you, if you can help.

bgurtz

New Member
Joined
Feb 15, 2018
Messages
4
I have cells A1 with dates such as 1/2/18
I have cell B1 with names (some are duplicate)
I am trying to figure out away to count how many (unique) names worked on per day of the month.
I can not figure out how to do this. I have tried using the .. =SUMPRODUCT(1/COUNTIF(A1:A22,A1:A22))
I can get the unique value for a people, but i can not get it to do the dates,

Any help would be great. Thank you.

1/5/2018Mike............
1/5/2018MikeExample:
1/5/2018Chris1/5/2018 .. 4 people worlked
1/5/2018Frank
1/5/2018Chase1/7/2018 .. 2 people worked
1/7/2018Kian
1/7/2018Corey
1/7/2018Corey
1/10/2018Frank
1/10/2018Mark
1/14/2018Frank
1/22/2018Knox
1/22/2018Kian
1/22/2018Mike
1/22/2018Mike

<tbody>
</tbody>
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Try:
This is an array formula and must be entered with CTRL-SHIFT-ENTER.
Drag formula down as needed.
Excel Workbook
ABCD
1DateNameDateCount
21/5/2018Mike1/5/20184
31/5/2018Mike1/7/20182
41/5/2018Chris1/10/20182
51/5/2018Frank1/14/20181
61/5/2018Chase1/22/20183
71/7/2018Kian
81/7/2018Corey
91/7/2018Corey
101/10/2018Frank
111/10/2018Mark
121/14/2018Frank
131/22/2018Knox
141/22/2018Kian
151/22/2018Mike
161/22/2018Mike
Sheet
 
Upvote 0
Try this!

The formula I put in cell E4 is

=SUMPRODUCT((($A$1:$A$15=D2))/COUNTIFS($A$1:$A$15,$A$1:$A$15&"",$B$1:$B$15,$B$1:$B$15&""))

frxMpxi.png
 
Upvote 0
I thought I had this, but i must be doing something wrong, I can not get it to work correct. I have been reading and trying to figure out what I have done wrong with the answers I have been given, but I must be doing it wrong. can anyone upload a sample sheet so i can see what i am doing wrong?
 
Upvote 0
The formula in post #2 is an array formula and must be entered with CTRL-SHIFT-ENTER.

If you just hit the enter key.
Press F2 key for edit.
Then CTRL-SHIFT-ENTER.

Note you can just copy my example into Excel.
 
Upvote 0

Forum statistics

Threads
1,214,990
Messages
6,122,626
Members
449,094
Latest member
bsb1122

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