DATEDIF() is a Microsoft unsupported function available in most versions of Excel. This thread is locked. The DATEDIF (Date + Dif) function is a "compatibility" function that comes from Lotus 1-2-3. LinkBack URL; About LinkBacks; Thread Tools. The DATEDIF function may calculate incorrect results under certain scenarios. The DATEDIF function is a built-in function in Excel that is categorized as a Date/Time Function. It might be that it has been dropped from 2010, hence you will get #NAME? I then want to take the answer and if the age is 11 or over, give a result of 250. To get the number of days, weeks or years between two dates in Excel, use the DATEDIF function. How do i get excel to show 0 if only one date is entered into either column A or B? To calculate the number of days you’ve been alive, click cell A1 and then enter the current date, such as =DATE(2006,04,30). Show Printable Version; Subscribe to this Thread… Mark this thread as unsolved… Rate This Thread. MVP By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Excel functions, Formula, Charts, Formatting creating excel dashboard & othersExcel functions, Formula, Charts, Formatting creating excel dashboard & othersYou can download this DATEDIF Function Excel Template here – All in One Excel VBA Bundle (35 Courses with Projects)35+ Courses | 120+ Hours | Full Lifetime Access | Certificate of CompletionAll in One Excel VBA Bundle (35 Courses with Projects) How do i get excel to show 0 if only one date is entered into either column A or B?Thanks for your feedback, it helps us improve the site.Mr HTH has suggested using COUNTA. Verify this by entering =ISNUMBER(A2) in cell A3 and copy to the right. Warning: Excel provides the DATEDIF function in order to support older workbooks from Lotus 1-2-3.

Home Excel 2003 Date Calculate the Number of Days Between Dates Search MS Office A-Z | Search Web Pages/ Design A-Z Calculate the Number of Days Between Dates. Every once in a while there's a sudden gust of gravity...=iferror(IF(COUNTA(A2:B2)=2,DATEDIF(A2,B2,"d")/7,""),"")=IF(COUNTA(A2:B2)=2,IFERROR(DATEDIF(A2,B2,"d")/7,""),"")But then, the formula isn't backward compatible with Excel 2003.it gives me the error #VALUE! End_Date: It is … The months and years of the dates are ignored.The difference between the months in start_date and end_date. Im Abschnitt "Bekannte Probleme" dieses Artikels finden Sie weitere Einzelheiten. Please see the known issues section of this article for further details. Die Funktion DATEDIF kann in bestimmten Szenarien zu falschen Berechnungsergebnissen führen. CFA Institute Does Not Endorse, Promote, Or Warrant The Accuracy Or Quality Of WallStreetMojo. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,447 days after January 1, 1900.The DATEDIF function is useful in formulas where you need to calculate an age.440 days between June 1, 2001, and August 15, 2002 (440)75 days between June 1 and August 15, ignoring the years of the dates (75)The "MD" argument may result in a negative number, a zero, or an inaccurate result. When you use the TODAY() function, Excel uses your computer's current date for the date. Then the Availability. Dates may be entered as text strings within quotation marks (for example, "2001/1/30"), as serial numbers (for example, 36921, which represents January 30, 2001, if you're using the 1900 date system), or as the results of other formulas or functions (for example, DATEVALUE("2001/1/30")).A date that represents the last, or ending, date of the period.The type of information that you want returned, where:The difference between the days in start_date and end_date. The DATE function’s syntax is =DATE(year,month,day). How are you entering the dates?Thanks for your feedback, it helps us improve the site.Ensure that the entries in both cells (A2 and B2) are actual date entries. Mr HTH's formula could just as well be wrapped in IFError.Thanks for your feedback, it helps us improve the site.Thanks for your feedback, it helps us improve the site.Thanks for your feedback, it helps us improve the site.Which formula did you use? Introduction To The DATEDIF Function The DATEDIF function computes the difference between two dates in a variety of different intervals, such as the number of years, months, or days between the dates. As you saw above, the DATEDIF function calculates the difference between a start date and an end date. MVP Excel - DATEDIF =DATEDIF(A2,B2,"d")/7 I only want my DATEDIF formula to show a result if both dates are entered in column A and B. The DATE function’s syntax is =DATE(year,month,day). The days and years of the dates are ignoredThe difference between the days of start_date and end_date. It can be used as a worksheet function (WS) in Excel. Warnung: Excel stellt die Funktion DATEDIF bereit, um ältere Arbeitsmappen aus Lotus 1-2-3 zu unterstützen. The Microsoft Excel DATEDIFF function returns the difference between two date values, based on the interval specified. =DATEDIF(A2,B2,"d")/7         I only want my DATEDIF formula to show a result if both dates are entered in column A and B.