Jazzman
New Member
Hi!
I have an Excel database with following columns A= Date, B= start (hrs), C= End (hrs), and D= Person (worker). Rows about 1000, sometimes less.
I have a inputsheet where I write data (date, time, and worker). The data will be stored on another sheet. I use this VBA-formula:
Range("jobline1:jobline45").Copy Destination:= _
Sheets(3).Range("A10000").End(xlUp)(2, 1)
to put the data.
Now I want to find out if there are duplicates, and in this case duplicates for the worker.
Example:
February 28, starts 8:00 ends 12:00, Bill
February 28, starts 9:00 ends 13:00, Mark
February 28, starts 9:30 ends 13:00, Bill
As we can see, Bill should be doing 2 works at the same time (8:00-12:00 and 9:30 to 13.00)and that is not possible irl.
Let's say that I want a Formula in column E that say's "Overlap".
I'm stuck with this problem.
Can somebody help me?
I have an Excel database with following columns A= Date, B= start (hrs), C= End (hrs), and D= Person (worker). Rows about 1000, sometimes less.
I have a inputsheet where I write data (date, time, and worker). The data will be stored on another sheet. I use this VBA-formula:
Range("jobline1:jobline45").Copy Destination:= _
Sheets(3).Range("A10000").End(xlUp)(2, 1)
to put the data.
Now I want to find out if there are duplicates, and in this case duplicates for the worker.
Example:
February 28, starts 8:00 ends 12:00, Bill
February 28, starts 9:00 ends 13:00, Mark
February 28, starts 9:30 ends 13:00, Bill
As we can see, Bill should be doing 2 works at the same time (8:00-12:00 and 9:30 to 13.00)and that is not possible irl.
Let's say that I want a Formula in column E that say's "Overlap".
I'm stuck with this problem.
Can somebody help me?