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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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
 
Upvote 0

Forum statistics

Threads
1,214,645
Messages
6,120,711
Members
448,984
Latest member
foxpro

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