Hi all, This is my first post. Would appreciate your assistance,
I am using Windows 7 and Excel 2010
I have the following problem with users compiling a database for a hire car company.
No Hire Car Start date End Date Days on Hire Days off Hire
1 ABC1234 1 Jan 12 12 Jan 12 12
2 ABC1234 25 Jan 12 2 Feb 12 9
3 ABC1234 10 Jan 12 15 Jan 12 6
4 XYZ7890 15 Feb 12 23 Feb 12 9
5 XYZ7890 4 Mar 12 15 Mar 12 12
6 XYZ7890 18 Feb 12 22 Feb 12 5
Now what I need to do is warn the user someway (new worksheet report??, using conditional formatting?? Gantt Chart??) that there are missing days where the car is off hire - between entries 1 and 2 from 13 Jan 12 to 24 Jan 12 - which need to be recorded and that there has been entered an overlapping period between 10 Jan 12 and 12 Jan 12 (Entries 1 and 3) - in other words we are double counting for 2 days.
Also with Car XYZ7890 we are double counting between 18 and 22 Feb 12 and we are off hire from 24 Feb 12 to 3 Mar 12
I would prefer that I do this using VBA using say a Worksheet Event as the workbook is too large to use functions in each cell to evaluate overlaps etc
Thanks/sglxl
I am using Windows 7 and Excel 2010
I have the following problem with users compiling a database for a hire car company.
No Hire Car Start date End Date Days on Hire Days off Hire
1 ABC1234 1 Jan 12 12 Jan 12 12
2 ABC1234 25 Jan 12 2 Feb 12 9
3 ABC1234 10 Jan 12 15 Jan 12 6
4 XYZ7890 15 Feb 12 23 Feb 12 9
5 XYZ7890 4 Mar 12 15 Mar 12 12
6 XYZ7890 18 Feb 12 22 Feb 12 5
Now what I need to do is warn the user someway (new worksheet report??, using conditional formatting?? Gantt Chart??) that there are missing days where the car is off hire - between entries 1 and 2 from 13 Jan 12 to 24 Jan 12 - which need to be recorded and that there has been entered an overlapping period between 10 Jan 12 and 12 Jan 12 (Entries 1 and 3) - in other words we are double counting for 2 days.
Also with Car XYZ7890 we are double counting between 18 and 22 Feb 12 and we are off hire from 24 Feb 12 to 3 Mar 12
I would prefer that I do this using VBA using say a Worksheet Event as the workbook is too large to use functions in each cell to evaluate overlaps etc
Thanks/sglxl