PC Review


Reply
Thread Tools Rate Thread

Checking for conflicts in schedule

 
 
vlh
Guest
Posts: n/a
 
      29th Jul 2008
Hello,

I need to create a macro to check four columns of data;
start date/time
end date/time
teacher
assistant

that will let me know when there is a conflict in the schedule. For example
when a new class is added, I need the macro to search the columns and let me
know (in the fifth column) if the teacher or assistant is already scheduled
at that time.

I have tried to copy the schedule to a second sheet, sorting by start
date/time, and then usings a nested if statement to check the row just above
to see if either the teacher or assistant is already sheduled. The probem is
when there are several classes starting at the same time or close the same
time it doesn't check all the classes on that day.

=IF(AND(B4>=B3, B4<=C3,OR(D4=D3,D4=E3,E4=D3,E4=E3)),"Conflict","")

Where the data is set up like this
B C D E F
Start Time End Time Teacher Assistant Conflict?

This is all done in a macro. Any help would be greatly appricated.

Thanks so much,
vlh



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking for scheduling conflicts ewgoforth Microsoft Outlook VBA Programming 0 31st Jul 2008 09:27 PM
Seeing Schedule conflicts in Outlook 2003 =?Utf-8?B?Q29saW4gYXQgRURT?= Microsoft Outlook Calendar 1 24th Apr 2008 02:29 PM
Only View Schedule Conflicts =?Utf-8?B?Q2hpbGlyZWQ=?= Microsoft Outlook Calendar 2 27th Jun 2005 05:36 PM
How can I view schedule conflicts? =?Utf-8?B?UmVnNjE0?= Microsoft Outlook 0 3rd Dec 2004 04:55 PM
Checking for Conflicts Rick Windows XP General 2 19th Aug 2004 03:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:16 PM.