Hi Everyone,
I have a list with Employee sign in/out, occationaly by mistake they sign in/out more than 1 time.
So, I would like to filter out rows that do not match in (I) and outs (O) pattern.
[TABLE="width: 371"]
<tbody>[TR]
[TD][TABLE="width: 424"]
<tbody>[TR]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD]Name[/TD]
[TD]Date and Time[/TD]
[TD][/TD]
[TD]Check In/Out[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 9:08[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 10:17[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD]B[/TD]
[TD="align: right"]15/03/2017 10:53[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 11:03[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD]C[/TD]
[TD="align: right"]15/03/2017 11:56[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD]D[/TD]
[TD="align: right"]15/03/2017 12:35[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 13:03[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 13:26[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 13:34[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]11[/TD]
[TD][/TD]
[TD]B[/TD]
[TD="align: right"]15/03/2017 15:34[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]12[/TD]
[TD][/TD]
[TD]D[/TD]
[TD="align: right"]15/03/2017 15:50[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]13[/TD]
[TD][/TD]
[TD]C[/TD]
[TD="align: right"]15/03/2017 15:59[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 16:07[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD][/TD]
[TD]D[/TD]
[TD="align: right"]15/03/2017 17:03[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]16[/TD]
[TD][/TD]
[TD]B[/TD]
[TD="align: right"]15/03/2017 18:13[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]17[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 18:24[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]18[/TD]
[TD][/TD]
[TD]D[/TD]
[TD="align: right"]15/03/2017 18:41[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]19[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 18:49[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]20[/TD]
[TD][/TD]
[TD]D[/TD]
[TD="align: right"]15/03/2017 18:54[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]21[/TD]
[TD][/TD]
[TD]C[/TD]
[TD="align: right"]15/03/2017 19:13[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]22[/TD]
[TD][/TD]
[TD]C[/TD]
[TD="align: right"]15/03/2017 19:35[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]23[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 20:00[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]24[/TD]
[TD][/TD]
[TD]B[/TD]
[TD="align: right"]15/03/2017 21:05[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]25[/TD]
[TD][/TD]
[TD]D[/TD]
[TD="align: right"]15/03/2017 21:24[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]26[/TD]
[TD][/TD]
[TD]C[/TD]
[TD="align: right"]15/03/2017 22:01[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In the above list for Employee "C", in row 6 we have one sign in (I) and then row 13 (O) but again in row 21, there is one more sign out before a sign in is recorded, as such row 21 should be filtered out
Thanks
I have a list with Employee sign in/out, occationaly by mistake they sign in/out more than 1 time.
So, I would like to filter out rows that do not match in (I) and outs (O) pattern.
[TABLE="width: 371"]
<tbody>[TR]
[TD][TABLE="width: 424"]
<tbody>[TR]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD]Name[/TD]
[TD]Date and Time[/TD]
[TD][/TD]
[TD]Check In/Out[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 9:08[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 10:17[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD]B[/TD]
[TD="align: right"]15/03/2017 10:53[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 11:03[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD]C[/TD]
[TD="align: right"]15/03/2017 11:56[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD]D[/TD]
[TD="align: right"]15/03/2017 12:35[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 13:03[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 13:26[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 13:34[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]11[/TD]
[TD][/TD]
[TD]B[/TD]
[TD="align: right"]15/03/2017 15:34[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]12[/TD]
[TD][/TD]
[TD]D[/TD]
[TD="align: right"]15/03/2017 15:50[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]13[/TD]
[TD][/TD]
[TD]C[/TD]
[TD="align: right"]15/03/2017 15:59[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 16:07[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD][/TD]
[TD]D[/TD]
[TD="align: right"]15/03/2017 17:03[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]16[/TD]
[TD][/TD]
[TD]B[/TD]
[TD="align: right"]15/03/2017 18:13[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]17[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 18:24[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]18[/TD]
[TD][/TD]
[TD]D[/TD]
[TD="align: right"]15/03/2017 18:41[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]19[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 18:49[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]20[/TD]
[TD][/TD]
[TD]D[/TD]
[TD="align: right"]15/03/2017 18:54[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]21[/TD]
[TD][/TD]
[TD]C[/TD]
[TD="align: right"]15/03/2017 19:13[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]22[/TD]
[TD][/TD]
[TD]C[/TD]
[TD="align: right"]15/03/2017 19:35[/TD]
[TD][/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD="align: right"]23[/TD]
[TD][/TD]
[TD]A[/TD]
[TD="align: right"]15/03/2017 20:00[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]24[/TD]
[TD][/TD]
[TD]B[/TD]
[TD="align: right"]15/03/2017 21:05[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]25[/TD]
[TD][/TD]
[TD]D[/TD]
[TD="align: right"]15/03/2017 21:24[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD="align: right"]26[/TD]
[TD][/TD]
[TD]C[/TD]
[TD="align: right"]15/03/2017 22:01[/TD]
[TD][/TD]
[TD]O[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In the above list for Employee "C", in row 6 we have one sign in (I) and then row 13 (O) but again in row 21, there is one more sign out before a sign in is recorded, as such row 21 should be filtered out
Thanks