Duplicates within a calendar week

IRJULIE

New Member
Joined
Feb 17, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi everyone!

First time posting here so please excuse my ignorance...

I am trying to find a formula or conditional formatting option to highlight rows of duplicate data that occur within a calendar week (Monday-Sunday). I have only 2 columns of data; column A is a serial number and column B is a date. All dates fall within the same month and each serial number should occur once in each calendar week for the month (though occasionally not for every week).

Serial A
3/11/2020​
Serial A
10/11/2020​
Serial A
17/11/2020​
Serial A
24/11/2020​
Serial A
25/11/2020​
Serial B
4/11/2020​
Serial B
11/11/2020​
Serial B
18/11/2020​
Serial B
20/11/2020​
Serial B
25/11/2020​

In this example, both Serial A and Serial B have 2 dates occurring in the same calendar week (Serial A 24/11/20 & 25/11/20; Serial B 18/11/20 & 20/11/20). I need a way to highlight one or both rows with dates occurring in the same week for each serial number.

Any help would be greatly appreciated!!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

arthurbr

Well-known Member
Joined
Dec 8, 2006
Messages
2,224
Office Version
  1. 2010
Perhaps create a helper column in col C ( can be hidden) with the formula =WEEKNUM($B1;2) and pull down
Then use =SUMPRODUCT(--($A$1:$A$10=$A1),--($C$1:$C$10=$C1))>=2 as formula for your CF
 

Watch MrExcel Video

Forum statistics

Threads
1,130,117
Messages
5,640,207
Members
417,131
Latest member
Seanr19871

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
Top