![]() |
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 |
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 |
=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 |
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 |
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 07:26 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com