Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have four cells in a spreadsheet
start date start time end date end time I need to calculate in hours the difference between the start date and time and the end date and time. This is probably quite easy, but I can't find the way to do it. Unfortunately the cells have to remain seperate |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Subtract as normal (start date + start time - end date - end time) and
multiply the result by 24. You'll probably have to format the resulting number. "Samwar" wrote: I have four cells in a spreadsheet start date start time end date end time I need to calculate in hours the difference between the start date and time and the end date and time. This is probably quite easy, but I can't find the way to do it. Unfortunately the cells have to remain seperate |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=(startdate+starttime)-(enddate+endtime) and format the result something like
hhh. -- Gary''s Student "Samwar" wrote: I have four cells in a spreadsheet start date start time end date end time I need to calculate in hours the difference between the start date and time and the end date and time. This is probably quite easy, but I can't find the way to do it. Unfortunately the cells have to remain seperate |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Make the format [h] instead
-- Kind regards, Niek Otten "Gary''s Student" wrote in message ... =(startdate+starttime)-(enddate+endtime) and format the result something like hhh. -- Gary''s Student "Samwar" wrote: I have four cells in a spreadsheet start date start time end date end time I need to calculate in hours the difference between the start date and time and the end date and time. This is probably quite easy, but I can't find the way to do it. Unfortunately the cells have to remain seperate |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|