I have a database with records in specific time interval (10 min interval). How do I get these records in desired time interval range, like in hours, days or monmths. I have done this with crystal reports but I want to use excel for this.

thanks