Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jeda67
 
Posts: n/a
Default I need help calculating dates?


Hi All,

I am trying to figure out a formula for the following:

I want a blank calculation spreadsheet so I can calculate the number of
days from two different dates it will never be over 365 days.
My spreadsheet will have in one cell START DATE (A2) and END DATE (A3)
and then I want the number of days to come up say in TOTAL (A4) so
what would be the formula =?????????(A2,A3) I have seen the =360DAYS()
formula and I don't think this is the right one!!!!

I would really appreciate some help.

Thanks


--
jeda67
------------------------------------------------------------------------
jeda67's Profile: http://www.excelforum.com/member.php...o&userid=26781
View this thread: http://www.excelforum.com/showthread...hreadid=400387

  #2   Report Post  
Krishnakumar
 
Posts: n/a
Default


Hi,

Try,

=DATEDIF(A2,A3,"d")

You will have to install the add-in Analysis Toolpak.

Tool/Add-Ins check Analysis Toolpak.

HTH


--
Krishnakumar


------------------------------------------------------------------------
Krishnakumar's Profile: http://www.excelforum.com/member.php...o&userid=20138
View this thread: http://www.excelforum.com/showthread...hreadid=400387

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=A3-A2

no need for the Analysis Toolpak.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"jeda67" wrote in
message ...

Hi All,

I am trying to figure out a formula for the following:

I want a blank calculation spreadsheet so I can calculate the number of
days from two different dates it will never be over 365 days.
My spreadsheet will have in one cell START DATE (A2) and END DATE (A3)
and then I want the number of days to come up say in TOTAL (A4) so
what would be the formula =?????????(A2,A3) I have seen the =360DAYS()
formula and I don't think this is the right one!!!!

I would really appreciate some help.

Thanks


--
jeda67
------------------------------------------------------------------------
jeda67's Profile:

http://www.excelforum.com/member.php...o&userid=26781
View this thread: http://www.excelforum.com/showthread...hreadid=400387



  #4   Report Post  
Jon Quixley
 
Posts: n/a
Default


Are you trying to subract the later date from the earler one?. If A2 is
your start date (say 15/12/05) and the end date in A3 is later than
this one (say 30/01/06), then the formula to calculate the number of
days between these is a3-a2. You will need to change the format of the
answer cell (A4) to General rather than Date otherwise you will get an
answer of 15/02/1900 00:00

Cheers
Jon


--
Jon Quixley
------------------------------------------------------------------------
Jon Quixley's Profile: http://www.excelforum.com/member.php...o&userid=25803
View this thread: http://www.excelforum.com/showthread...hreadid=400387

  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

But format as general, Excel will try and make it a date

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
=A3-A2

no need for the Analysis Toolpak.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"jeda67" wrote in
message ...

Hi All,

I am trying to figure out a formula for the following:

I want a blank calculation spreadsheet so I can calculate the number of
days from two different dates it will never be over 365 days.
My spreadsheet will have in one cell START DATE (A2) and END DATE (A3)
and then I want the number of days to come up say in TOTAL (A4) so
what would be the formula =?????????(A2,A3) I have seen the =360DAYS()
formula and I don't think this is the right one!!!!

I would really appreciate some help.

Thanks


--
jeda67
------------------------------------------------------------------------
jeda67's Profile:

http://www.excelforum.com/member.php...o&userid=26781
View this thread:

http://www.excelforum.com/showthread...hreadid=400387





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
Calculating number of weeks from two dates spudgun Excel Discussion (Misc queries) 5 August 4th 05 12:08 AM
Need help with a formula for calculating based on a rage of dates djeans Excel Discussion (Misc queries) 7 July 2nd 05 09:06 PM
Calculating dates Bob Phillips Excel Discussion (Misc queries) 1 March 18th 05 10:21 AM
Calculating for number of days when values are in dates pumper Excel Worksheet Functions 7 January 17th 05 05:52 AM
Using imported Query & Calculating Dates Woodkat Excel Worksheet Functions 1 December 8th 04 06:15 PM


All times are GMT +1. The time now is 07:43 PM.

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

About Us

"It's about Microsoft Excel"