ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Quickly Review Data (https://www.excelbanter.com/excel-worksheet-functions/116761-quickly-review-data.html)

ChuckF

Quickly Review Data
 
Here is my entire goal...

I have a list of stores. Each location has a separate Site ID number.
Beside each Site ID Number I have the date and time for services
preformed at each location. I would love to set up a macro that would
be able to identify any services that were preformed within a 3 hour
period.

Site ID Date of Service Time of Service
1 10/29/06 11:00pm
1 10/30/06 1:00 am
1 10/30/06 3:00 am
2 10/29/06 11:15pm

I think the steps that I need to take are to add a space between each
unique site id number. Then perhaps concatenate the date and time,
sorting by that new concatenated field, and subtracting from the number
above it.

If that value is less then 3 then we know we have a problem.

Two questions....anyone know of a better way to go about this, and
secondly can anyone help me with the portion of the macro which will
insert a row between each unique site id number?

If anyone has any ideas, please let me know.

Thanks!



All times are GMT +1. The time now is 06:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com