ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   I need help calculating dates? (https://www.excelbanter.com/excel-worksheet-functions/43006-i-need-help-calculating-dates.html)

jeda67

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


Krishnakumar


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


Bob Phillips

=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




Jon Quixley


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


Bob Phillips

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







All times are GMT +1. The time now is 05:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com