conditional formatting formula help excel 2007

Lromao

New Member
Joined
Nov 18, 2011
Messages
2
I need to write a formula that will highlight all of the transactions that occur within 3-5 seconds of each other. My data cell contains a dated timestamp in this format: 9/30/2011 6:29:46 PM.

Thanks for the help in advance!
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Welcome to the MrExcel board!

transactions that occur within 3-5 seconds of each other.
Does this mean the transactions have to be at least 3 seconds apart and less than or equal to 5 seconds apart?
That is, transactions that are 2 seconds apart do not get formatted?
 
Upvote 0
Sorry...I meant from 0-5 seconds. Less than 5 seconds apart.

We had an issue with duplicates and want to be sure that is no lOnger the case.
 
Upvote 0
Are the data/time stamp values in chronological order?

This suggestion assumes that they are. To be sure it works for the first value in the list, the cell above that first value should be blank. I added a new row 2 between the heading and the first value but then hid that new row.

Try this Conditional Formatting approach.

Excel Workbook
D
1Time stamps
319/11/2011 2:23:06 PM
419/11/2011 2:23:10 PM
519/11/2011 2:23:10 PM
619/11/2011 2:23:12 PM
719/11/2011 2:23:20 PM
819/11/2011 2:23:28 PM
919/11/2011 2:23:29 PM
1019/11/2011 2:23:34 PM
1119/11/2011 2:23:44 PM
1219/11/2011 2:23:58 PM
1319/11/2011 2:24:10 PM
1419/11/2011 2:24:12 PM
1519/11/2011 2:24:36 PM
CF Near Times
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D31. / Formula is =MIN(ABS(D2-D3),ABS(D3-D4))<(5/86400)Abc
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

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