Excel Formula Guru,
I have 2 columns in an Excel spreadsheet that are formatted for Date AND Time. I want to create a third field that subtracts one date from the other and gives me the difference in Business Hours (8-5, M-F).
Example 1:
Date1 = 3/5/03 12:00 PM (Wednesday)
Date2 = 3/6/03 2:00 PM (Thursday)
Claculation: Date2 - Date1 = 11 (Business Hours)
Example 2:
Date1 = 3/7/03 4:30 PM (Friday)
Date2 = 3/10/03 9:00 AM (Monday)
Claculation: Date2 - Date1 = 1.5 (Business Hours)
Hopefully these examples will paint a clear picture of what it is that I'm trying to do. Any suggestions or sample code will be greatly appreciated!
Thanks!
Nate
I have 2 columns in an Excel spreadsheet that are formatted for Date AND Time. I want to create a third field that subtracts one date from the other and gives me the difference in Business Hours (8-5, M-F).
Example 1:
Date1 = 3/5/03 12:00 PM (Wednesday)
Date2 = 3/6/03 2:00 PM (Thursday)
Claculation: Date2 - Date1 = 11 (Business Hours)
Example 2:
Date1 = 3/7/03 4:30 PM (Friday)
Date2 = 3/10/03 9:00 AM (Monday)
Claculation: Date2 - Date1 = 1.5 (Business Hours)
Hopefully these examples will paint a clear picture of what it is that I'm trying to do. Any suggestions or sample code will be greatly appreciated!
Thanks!
Nate