Detecting Duplicates by Date?

priester

New Member
Joined
Mar 31, 2018
Messages
1
I am trying to make a schedule for my ball league and I have it organized like this (there is other info like game time and location as well, but that isn't really relevant to this question):

[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Away[/TD]
[TD]Home[/TD]
[/TR]
[TR]
[TD]May 1[/TD]
[TD]Team 1[/TD]
[TD]Team 2[/TD]
[/TR]
[TR]
[TD]May 1[/TD]
[TD]Team 3[/TD]
[TD]Team 2[/TD]
[/TR]
[TR]
[TD]May 1[/TD]
[TD]Team 4[/TD]
[TD]Team 3[/TD]
[/TR]
[TR]
[TD]May 8[/TD]
[TD]Team 2[/TD]
[TD]Team 1[/TD]
[/TR]
[TR]
[TD]May 8[/TD]
[TD]Team 2[/TD]
[TD]Team 4[/TD]
[/TR]
[TR]
[TD]May 8[/TD]
[TD]Team 4[/TD]
[TD]Team 3[/TD]
[/TR]
[TR]
[TD]...[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I want to be able to keep the number of double headers relatively balanced, so I want a table like this:
[TABLE="width: 600"]
<tbody>[TR]
[TD]Team[/TD]
[TD]Double Headers[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]COUNTIF("Team 1" appears twice in column B or C beside the same date in col A)[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]...[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I've figured out how to do it for game times, but matching the date is throwing me off. I'm not sure if I need to use a lookup or countifs, or some kind of combination any help would be appreciated...
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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