Try this...Can someone tell me why this formula does not work?
=MAX(MIN(0:00,0:00)-MAX(23:00,21:45),0), the answer I am seeking is 1 hour (from 23:00 to 0:00). This formula works great for all time slots except those ending at midnight (0:00).
Thanks
Book1 | ||||
---|---|---|---|---|
A | B | |||
1 | 11:00 PM | 12:00 AM | ||
2 | 9:45 PM | 12:00 AM | ||
Sheet3 |
I use this on my spreadsheet and it works for time ending that is less than time starting.
=(B1<a1)+b1-a1><a1)+b1-a1>< p>