Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Everyone,
I need to get the total amount of minutes between two dates which are formatted as timestamps. I have a Start Date and a End Date. IWhat function do I use, or, do I use VBA code to get what I want? Thanks. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way:
A1: Start timestamp B1: End timestamp C1: =(B1-A1)*1440 Since XL stores dates/times as fractional days, you need to multiply the difference between date/times by 24 hours/day x 60 minutes/hour or 1440. In article , EAB1977 wrote: Hi Everyone, I need to get the total amount of minutes between two dates which are formatted as timestamps. I have a Start Date and a End Date. IWhat function do I use, or, do I use VBA code to get what I want? Thanks. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
With stamps in A2 and A3:
=ABS(A2-A3)*24*60 and format as Number -- Gary''s Student - gsnu200819 "EAB1977" wrote: Hi Everyone, I need to get the total amount of minutes between two dates which are formatted as timestamps. I have a Start Date and a End Date. IWhat function do I use, or, do I use VBA code to get what I want? Thanks. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
And to do days would be:
=ABS(A2-A3)*24 ? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert Unix timestamp to Readable Date/time | Excel Worksheet Functions | |||
How do I convert 184 minutes into 3:04 (3 hours:4 minutes) in EXCE | Excel Discussion (Misc queries) | |||
How do I convert a number of minutes into hours and minutes? | Excel Worksheet Functions | |||
Convert a number of minutes like 400 into hours and minutes | Excel Worksheet Functions | |||
How can I convert an exported UNIX timestamp in excel? | Excel Discussion (Misc queries) |