I\'ve an excel spreadsheet with a column which has the date and time of a particular event. I would like to round this to the nearest 15 minute interval so that I can count
Just found a helpful function, MROUND, which is available in Excel 2007 and as an Analysis add-in.
Assuming your time is in B2, with a number like 8.43 to represent 8 hours, 25.8 minutes:
=MROUND(MOD(B2,1)*60,15)
the MOD(B2,1) would extract the fractional 0.43; the *60 would convert to 25.8; and the MROUND would round you to the nearest multiple of 15, namely 30.