Highlight 3 duplicates occurring within 3 days time

LukaszKa

New Member
Joined
Aug 30, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I'm looking for a best way, most likely via Conditional Formatting, to highlight 3 reoccurring from B within 3 days time frame from A
I've managed so far to get 3 reoccurring but for just 1 day
So, all those 4 rows with PC should be highlighted, not just 3 of them
Hope you can help

1630315989987.jpeg
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi Lukaszka,

Does this do what you want?

Lukaszka.xlsx
AB
1DateIdent
212-Jul-21270
313-Jul-21pc
412-Jul-21pc
513-Jul-21270
613-Jul-21pc
713-Jul-21311
813-Jul-21263
910-Jul-21338
1013-Jul-21pc
11
12
13
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:B99Expression=COUNTIFS($A$2:$A$99,">="&$A2-3,$A$2:$A$99,"<="&$A2+3,$B$2:$B$99,$B2)>3textNO
 
Upvote 0
Hi Lukaszka,

Does this do what you want?

Lukaszka.xlsx
AB
1DateIdent
212-Jul-21270
313-Jul-21pc
412-Jul-21pc
513-Jul-21270
613-Jul-21pc
713-Jul-21311
813-Jul-21263
910-Jul-21338
1013-Jul-21pc
11
12
13
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:B99Expression=COUNTIFS($A$2:$A$99,">="&$A2-3,$A$2:$A$99,"<="&$A2+3,$B$2:$B$99,$B2)>3textNO
Yes! Thank you so much!!!
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,387
Members
449,080
Latest member
Armadillos

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