Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Convert TimeStamp to Minutes

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Convert TimeStamp to Minutes

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Convert TimeStamp to Minutes

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Convert TimeStamp to Minutes

And to do days would be:

=ABS(A2-A3)*24 ?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Unix timestamp to Readable Date/time Emily Excel Worksheet Functions 2 January 26th 06 11:59 PM
How do I convert 184 minutes into 3:04 (3 hours:4 minutes) in EXCE tpendy Excel Discussion (Misc queries) 2 October 18th 05 02:28 AM
How do I convert a number of minutes into hours and minutes? gyrkin Excel Worksheet Functions 3 August 18th 05 11:12 PM
Convert a number of minutes like 400 into hours and minutes bloke Excel Worksheet Functions 3 June 24th 05 05:00 PM
How can I convert an exported UNIX timestamp in excel? prod sorter Excel Discussion (Misc queries) 5 March 20th 05 10:14 PM


All times are GMT +1. The time now is 04:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"