Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default IS THERE A FORMULA TO CALCULATE THE DISTANCE BETWEEN DATES

Does anyone know of a formula that will calculate how many days are from one
date to another? For example from March 30 to April 8. This is for the
purpose of getting the average amount of days for processing. Your help is
highly appreciated.
I am using Exel 2003.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default IS THERE A FORMULA TO CALCULATE THE DISTANCE BETWEEN DATES

In Excel, dates are numbers, 1 per day, starting at 1-1-1900 (roughly).
So if the start date is in A1 and the end date is in A2, this gives you the
number of days between them:

=A2-A1

Important! Format as Number, not as Date (which is what Excel does
automatically, trying yo be helpful, in vain)


--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Alohalady" wrote in message
...
Does anyone know of a formula that will calculate how many days are from
one
date to another? For example from March 30 to April 8. This is for the
purpose of getting the average amount of days for processing. Your help
is
highly appreciated.
I am using Exel 2003.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 524
Default IS THERE A FORMULA TO CALCULATE THE DISTANCE BETWEEN DATES

On Sat, 5 Jun 2010 13:19:15 -0700, Alohalady wrote:

Does anyone know of a formula that will calculate how many days are from one
date to another? For example from March 30 to April 8. This is for the
purpose of getting the average amount of days for processing. Your help is
highly appreciated.
I am using Exel 2003.


A date is a whole number. If you have one date in A1 and the other
in B1 then the number of days is
=A1-B1
or
=B1-A1

Depending on what else is going on, you might have to change the
formatting of that cell to Number.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
Shikata ga nai...
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
How do I calculate Track and Distance from two sets of coordinate Ant Excel Worksheet Functions 2 February 14th 10 03:10 AM
How to calculate minimum distance between three coordinate with ex Jonathan[_2_] Excel Discussion (Misc queries) 2 November 29th 07 03:12 AM
Can excel calculate Mahalanobis distance? kt_b1 Excel Discussion (Misc queries) 3 March 24th 07 11:38 AM
How to calculate speed given distance and mm:ss time format? rrl Excel Discussion (Misc queries) 1 October 21st 05 05:39 PM
CALCULATE DISTANCE BETWEEN TWO GPS POSITIONS Jon re Excel Excel Worksheet Functions 2 March 9th 05 02:14 AM


All times are GMT +1. The time now is 06:21 PM.

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"