Count when two people worked on the same day.

heretolearnexcel

Board Regular
Joined
Jan 22, 2019
Messages
58
Office Version
  1. 365
Platform
  1. Windows
I have the following data table and would like to know how many times two employees worked on the same. I tried a countifs formula but it doesn't work. Could anyone help me find a solution?

Cirugias.xlsx
ABCDE
1TechnicianType of SurgeryShiftDate
2RoseApendicectomia V10/22/20200
3MikeColecistectomia M/V10/23/20200
4RoseHemicolectomiaM10/24/20200
5MikeQuiste de ovarioM10/26/20200
6RoseLap. ExploradoraM10/26/20200
7MikeLap. ExploradoraM/V10/26/20200
8RoseLap. ExploradoraM10/27/20200
9MikeLap. ExploradoraM10/28/20200
10MikeLap. ExploradoraV10/30/20200
11RoseHisterectomiaV10/30/20200
12RoseHisterectomiaV10/30/20200
13MikeColecistectomia M/V10/31/20200
14RoseColecistectomia M11/4/20200
15MikeHisterectomiaM11/7/20200
16RoseQuiste de ovarioM9-Nov0
17RoseColecistectomia M11/11/20200
18MikeHisterectomiaM11/11/20200
19RoseLap. ExploradoraM/V11/12/20200
20RoseLap. ExploradoraM/V11/18/20200
21MikeApendicectomia V11/18/20200
22MikeHisterectomiaM11/19/20200
23RoseLap. ExploradoraM11/20/20200
24RoseColecistectomia M11/20/20200
25RoseApendicectomia V11/24/20200
26MikeHisterectomiaM11/25/20200
27MikeMiomectomia M/V11/25/20200
28RoseColecistectomia M/V11/25/20200
29RoseHisterectomiaM/v11/30/20200
30MikeHernia V12/3/20200
31RoseColecistectomia V12/5/20200
32MikeHernia M12/9/20200
33MikeColecistectomia M12/9/20200
34RoseApendicectomia V12/13/20200
35RoseHernia V12/16/20200
36MikeHernia M12/17/20200
37MikeColecistectomia V12/18/20200
38RoseApendicectomia V12/19/20200
39MikeMiomectomia M/V12/21/20200
40RoseLap. ExploradoraV1/1/20210
41RoseColecistectomia M1/16/20210
42MikeApendicectomia V1/19/20210
43RoseColecistectomia M1/20/20210
44RoseApendicectomia V1/20/20210
45MikeColecistectomia V1/23/20210
46RoseApendicectomia M1/24/20210
47MikeApendicectomia V1/25/20210
48RoseColecistectomia V1/28/20210
49MikeApendicectomia V1/30/20210
50MikeReseccion instetinalM1/30/20210
51RoseColecistectomia V2/1/20210
52MikeLap. ExploradoraV2/4/20210
53MikeColecistectomia M/V2/12/20210
54RoseHisterectomiaM/V2/19/20210
55MikeColecistectomia V2/19/20210
56MikeHisterectomiaM2/20/20210
57MikeColecistectomia V2/22/20210
58RoseColecistectomia V2/23/20210
59RoseLap. ExploradoraV2/24/20210
60RoseLap. ExploradoraM1/26/20210
61MikeApendicectomia V3/1/20210
Hoja1
Cell Formulas
RangeFormula
E2:E61E2=COUNTIFS($D$2:$D$61,D2,$A$2:$A$61,"Rose",$A$2:$A$61,"Mike")
 
I think of Transpose (Unique(Filter (All the names, Condition = Date Analysed)) and then you concatenate them and remove duplicates (or use Unique again) - not a single step solution, nor super elegant, I guess, but might do the work?
I've never used Concat function, but you probably can join them in one cell too
 
Upvote 0

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.
I've never used Concat function, but you probably can join them in one cell too
And then you use Count (Unique) and that's it? Sorry I've spilled into 3 messages lol newbie here
 
Upvote 0

Forum statistics

Threads
1,214,793
Messages
6,121,617
Members
449,039
Latest member
Mbone Mathonsi

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