Hi
I have several rows of data eg
A B C D
1 Date Time ID GateNo
2 30/10/2013 09:24 1224 2
3 30/10/2013 23:34 1224 3
4 29/10/2013 09:45 2456 2
5 30/10/2013 23:10 1224 3
6 31/10/2013 00:01 1224 3
I want to find rows where the values in columns C and D are identical AND where the Date/Time (columns A and B) are within 30 minutes. So in the example, this would be rows 3, 5 and 6 where the ID and GateNo are the same and the times are within 30 minutes of each other (note, rows 3 and 6 are within 30 mins but on different dates).
Thanks.
Bookmarks