=COUNTIF(B:B,">"&B6-0.5)-COUNTIF(B:B,">"&B6+0.5)+1
Note: the +1 at the end, includes the key cell (B6 in this case) in the
count......
0.5 = 12 hours to Excel who sees the period as "half a day"......
Vaya con Dios,
Chuck, CABGx3
> Hi,
> I've got a column with a list of times and want to
[quoted text clipped - 17 lines]
>
> Many thanks in advance for your help.