excel datedif not found. Add one to the start date (first) parameter. excel datedif not found

 
 Add one to the start date (first) parameterexcel datedif not found AddColumn(#"Added Custom", "OrderAge", each DATEDIFFLook at the formula below used on an example and we'll show you why we would like to have the INT function to count weeks between dates: =INT( (D3-C3)/7) We take the end date (in cell D3) first and subtract the start date (C3) from it

Might someone be able to comment on why i cannot find the excel function DATEDIF also I am getting meassage that library or prject not found and the a password request for funcres Register To Reply 07-12-2005, 02:05 PM #2Step 3: Implement the datedif in Excel. Harassment is any behavior intended to disturb or upset a person or group of people. 57650273. It calculates the DATE+DIF (where DIF may be inferred as DIFFERENCE) and gives us the output in our preferred unit. Using the DatedIf function I am. There is no DATEIF function, I suspect that you want DATEDIF. MVP. Try typing =DATEDIF into Excel and it will pretend it doesn’t recognise it – see how it’s not in the list of functions to the left. e. DATEDIF เป็นฟังก์ชั่นที่ใช้หา ระยะห่าง ระหว่าง วัน 2 วัน. The following formula will give you the total number of days between the two dates: =DAYS (B2,B1) Note that you can also manually specify the dates in the Days function by putting it in double-quotes. Excel IF function with Datedif function nested. Select Date 1 range 5. For reasons unknown, it is only documented in Excel 2000, but you can use it in your formulas in all Excel versions since that time. There is one older way, the DATEDIF () function, that Microsoft no longer supports. For instance, you can use YEARFRAC to identify the proportion of a whole year's benefits, or. yy) to see 01. Here's how it does this: First the DATE function creates the date, 5/1/2016. =DATEDIF (A1;B1;"M") does not work, returns "1900-01-03" but should return "3" (jan+feb+mar). There's too many spreadsheets that are using it. Excel returns 582 in cell D4 meaning there are 582 days between "11/20/2010" and "6/24/2012". The start_date and end_date arguments are required while the unit argument is optional. DATEDIF Function – Number of Days Between Dates. The syntax of the DATEDIF function is DATEDIF(start_date, end_date, unit). . I have no idea why DATEDIF is not well documented but I'm not sure you can describe the above as a "bug" any more than the issues with floating point arithmetic. A pure date is stored as a date as of crossing midnight (time of 0). If not, we might need more information. Fraction between same dates, using the Actual/Actual basis argument. Bijvoorbeeld, =B1-A1 geeft je het aantal dagen tussen 23-03-2023 en 07-12-1998. Top Contributors in Excel: HansV MVP - Jim_ Gordon - Ashish Mathur - Andreas Killer - Shane Devenshire 👏. Forum Expert Join Date 07-11-2013 Location Phoenixville, PA MS-Off Ver MS Office 2016 Posts 4,465Make sure dates are not stored as text. Report abuse. 1 Answer. I have a schedule that needs your help. The functions that I am currently attempting to use are DATEDIF, SORT, UNIQUE and FILTER. Example: You can not enter 11/12/2015 directly into the cell. C. Reply. For complete instructions, to c alculate age in accumulated years, months, and days, and to. This video is going to show you how to use Datedif function in Microsoft Excel 2007 and calculate the difference of Years, Months and dates between two dates. I am currently using the latest build of Excel as part of my Office 365 subscription. Then, we will type in the formula “=DATEDIF (C2, TODAY (), “M”)”. Formula for this unit is =DATEDIF (start_date, end_date,”ym”) So the given example shows the answer 6, as the difference between month # 7 and month # 1. If a workbook is set for automatic recalculation, you do not need to press F9 for recalculation. Devices for education. If the difference is 2 days or greater I would like it to show "Yes". For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. The result is 2. To keep dates from being interpreted as parts of formulas use the DATE function, for example, DATE(1954;7;20), or place the date. Depending on what you need it for, and how dynamic you want it to be, you can use references to another cell that contains the original date, and references to cells that contain the changes to be made. On the other hand, =EDATE (DATE (2019,12,31), 2) is indeed 2/29/2020. I've variously tried pointing it towards the specific table I want to draw from,. You can find its syntax and usage here. 25 gives you the result as shown below. 4. . This function is available in versions of Excel since at least version 5/95, but is documented in the help file only for Excel 2000. SyntaxThe mysterious datedif function in Microsoft Excel. -Cell E1 will. The mysterious datedif function in Microsoft Excel. Answer. 📌 Steps: Click on cell D5 and then type the following formula. N. In cell D4, type =YEAR (C4)-YEAR (B4) and then press RETURN . 25 gives you the result as shown below. . Let's say you have dates in A2 and B2. Here's how it does this: First the DATE function creates the date, 5/1/2016. Even now. Next, refer to cell B1 where you have the ending date. . You pass 0 and D2 ( C2 - B2 ). Still using the DATEDIF function above and the units provided, we will be able to get the age in years, months, and days. or. but it doesn't appear in the function list or in the help files! Try just typing the formula in , e. Educator training and development. Select the cell where you want to type your formula, and add the following: =DATEDIF (“01/01/2018”,”24/05/18. If you want a static value, use date and time shortcuts. The reason for this is Excel calculates dates as the number of elapsed (or partial) days since January 1, 1900. Using the DatedIf function I am attempting to formulate the following: =datedif (mfg_date,expir_date,"m")- this is per every forum I've found. That being said, I'm not familiar with a simpler or more efficient alternative. A mixed formula is a formula that relies on both array calculation and implicit intersection, this was not supported by pre-dynamic array. This is a great function if you work. 3 is correct though in the context of what DATEDIF provides, since there's 3 hours (and not 4) between 12:09PM and 3:59PM. Since Date1 is not a leap year, the date 29-Feb is not counted. อาการแปลกๆ ของ DATEDIF. A and ignoring zero values. We have to enter this argument in between two double inverted commas ex: “Unit”. Enter your birthdate in one cell of Excel and the DATEDIF formula into a different cell. It should be there, it just doesn't appear in the function list, as it was deprecated long ago. Click in the cell where you want the age to appear. 1. In your spreadsheet, click the cell in which you want to display the answer. Also, February is only counted to be 28 days and not one month (see item no. Likewise, =EDATE (DATE (2020,4,30), -4) returns the date 12/30/2019. DATEDIF function is very useful in calculating any age in Excel. Write down the formula as: “=DATEDIF (A2,B2,"y")”. Double-click the Format Painter (left side of Home tab). The function takes the arguments of start date, end date and the option for the output type. Formula in cell D4: =DATEDIF (B3,C3,"D") The third argument determines the unit to calculate, in this case, it is "D" which stands for day. MSFT has been trying to deprecate the use of DATEDIF for many years. This formula subtracts the first day of the ending month (5/1/2016) from the original end date in cell E17 (5/6/2016). 6-Step Guide for Calculating Date Duration: Open a new Excel document and create a table with two columns, “ Start Date ” and “ End Date “. D3-C3 gives us the answer in days i. The DATEDIF Function can be used to calculate the date difference in various units of measurement, including days, weeks, months, and years. It is important to know that this function is undocumented in Excel, such as EVALUATE, FILES, and GET. Whenever I type a function into Microsoft Excel 2013, a small hint box is displayed which lists the function's arguments. Oct 21, 2021. Step 1. Anyways, let’s see how this formula work. But if you know the syntax, which I’ll share with you in a moment, you can use it for a range of applications. Here's what I could get to work: IF (DATEDIF (DATE-1,DATE-2,"COUNTS DAYS BETWEEN DATES SELECTED")="DAYS IN A WEEK","VALUE IF. For instance, these dates may be in Column A and Column B. Modified 3 years, 1 month ago. Subtract times. You can vote as helpful, but you cannot reply or subscribe to this thread. Check Difference option from the Type section;; In the Arguments input textboxes, select the cells which. What I tried to do is this: =COUNTIF (DATEDIF (MyTable [CreatedDate], MyTable [ClosedDate], "d"), "> 40") That formula doesn't work, I believe for a couple of reasons: You can't pass ranges to DATEDIF, also DATEDIF returns a discrete value but COUNTIF expects a range. Select cell WC2000 and scroll the sheet such that cell WC2000 is the first cell on the left. NOTE: If you want to calculate the age at a specific date, replace the TODAY () function with. 9?Windows. In Excel 365 this function is still available for backwards compatibility but should not be used. SINGLE() in pre-dynamic array Excel. Re: I can't get the DatedIf function to work -- returns #value! In D2 and E2 you've text date not excel date. Keep the formula result selected, and press Ctrl + 1 to display the Format Cells dialog, then under Number tab, click Date from. โครงสร้างของฟังก์ชั่นคือ. [Sidenote: I am using the German Version, so I am actually missing the functions =EINDEUTIG () and =XVERWEIS () but either or - these functions are missing in my Excel] Nup, you need to upgrade to a new version or write your own logic in VBA. Thus simply type in cell =DATEDIF(. In the example shown, the formula in E5 is: =DATEDIF(B5,C5,"y")&" years,. The DATEDIF function has three arguments. My formula is thus DatedIF (earlier date/beginning of the amortization period, the month end date,"m") + 1. DateDiff takes 3 arguments: DATEDIFF ( datepart , startdate , enddate ) All the arguments can be given as variables as well. Re: DatedIf Not Working @cdersarkisian I’m on my iPad and it reads the formula fine however I think it’s the “y” that is not working or any of its variants however I have no grounds backing that theory whatsoever so I really need someone’s help please, I really need this function to work for me lolDATEDIF. From the SUPPORT PAGE: Warning: Excel provides the DATEDIF function in order to support older workbooks from Lotus 1-2-3. So today is 43529 and midday today is 43529. Forum Expert Join Date 09-09-2005 Location England MS-Off Ver 2007 Posts 1,5001. Excel DATEDIF not showing the correct answer. Subtract times. Press Enter key then drag fill handle down to the cells for applying this formula. Jun 17 2019 01:30 AM To get the SORT, FILTER and UNIQUE functions you must be on Insider FAST and on top of that you must be among the people who have. The first two arguments must be dates: references to cells containing dates, or expressions that evaluate to dates. For a long time, official documentation on DATEDIF was sparse. CHOOSE function. I am trying to use DATEDIF function in excel, which is an updated version on office 365, but it seems that the function does not exist. Using the DatedIf function I am. Then, with the cell still selected -- do not click to edit the cell itself, instead -- put your cursor up into the formula bar (where you see the formula up there) and hit Enter up there. Ask Question Asked 3 years, 1 month ago. “m” gets the between dates. – Mary La Point. com) is practically in any version of Excel, but it is not shown in list of functions (see comment in above support post). The DATEDIF function (Date + Dif) is a bit of an anomaly in Excel. 1 person found this. . The first part of your formula is the DATEDIF function: =DATEDIF (B5,TODAY (),"Y") And the second part of your formula, you are concatenating a space at the end of your result: & " ". mrdelurk wrote: =DATEDIF (A4,NOW (),"D") (actual example from row 4) The formula calculates the age of a row's entry in days by substracting the date in the first cell (A4) from the current date. Berikut contoh rumus datedif pada microsoft excel. ฟังก์ชันทุกฟังก์ชันใน Excel สามารถหยิบจับมาใช้งานได้ แต่ไม่ใช่กับ DATEDIF ซึ่งนอกจากเป็นฟังก์ชันแห่งความลับแล้ว ยังถือเป็นฟังก์ชันต้องห้าม! This will bring up the Insert Function Window. In cell D4, type =YEAR (C4)-YEAR (B4) and then press RETURN . Here’s how you can calculate age when the DOB or start date is given: In the destination cell, enter the following formula: =INT ( (TODAY ()-B2)/365) In the above formula, B2 is the source data for DOB or start date. Combine All Three Formulas to Get the Actual Age. You can do it by following the steps below. Crack your knuckles because we have a few more ways to calculate the difference between two dates. "Y" is the reference to the year's parameter in. Neither Excel XP or Excel 2013 are aware of it, so it's pretty strange that it. Replies: 9. surely, indeed I tried to use the Italian =DATA. If you must make such cells blank: copy the B column, and. Web. I've tried both and I can't get either to work. Re: DatedIf Not Working @cdersarkisian I’m on my iPad and it reads the formula fine however I think it’s the “y” that is not working or any of its variants however I have no grounds backing that theory whatsoever so I really need someone’s help please, I really need this function to work for me lolRe: DatedIf Not Working @cdersarkisian I’m on my iPad and it reads the formula fine however I think it’s the “y” that is not working or any of its variants however I have no grounds backing that theory whatsoever so I really need someone’s help please, I really need this function to work for me lolWe would like to show you a description here but the site won’t allow us. However, DATEDIF works in all modern versions of Excel and is a useful function for calculating the interval between two dates in years, months, and days. Example 1: Common Uses. However, if an additional option Y is provided, like in this example, DATEDIF returns the number of years. Aug 28, 2021. Insert and format the current date and time. I can not find and perform the function. Thus simply type in cell =DATEDIF (. 01. But it is still present. all cells are date formatted the same. If you want non-integer precision, you should probably do something simpler without DATEDIF like (A2-A1)*24 or =CONVERT(A2-A1,"day","hr"). Follow the steps to calculate the age using. Second, let me point you to the newly released LET function, which will enable you to write in a formula only once something like DATEDIF (A3, (B3- ( (B3-A3)-NETWORKDAYS. Add one to the start date (first) parameter. This space at the end is probably what is causing your problem, as your formula is not returning a pure number, but rather the age with a space concatenated at. Step 2: Next, start by entering DATEDIF in excel formula. This function is hidden and is not displayed in the. The syntax of the DATEDIF function is DATEDIF (start_date,end_date,unit). All three parts worked flawlessly with either the literal or the reference to the cell in the same row of column C (which contained the date). You can simply type =DATEDIF ( in a cell to use it. for example:We would like to show you a description here but the site won’t allow us. To begin, enter 0 as the function’s first argument. 3. Follow these steps: Enter the two dates in separate cells. Stack Overflow. To calculate an age: = DATEDIF (<start date>, TODAY (), "y") Note: The formula TODAY () returns the current date. For instance, let's say David's DOB is 10/01/1990. Click the cell containing. =TODAY ()-C2. Re: Datedif_leap year. However, in the new online product Excel Online (Office 365) this function seems to be not available. MVP. DATEDIF is practically an insider tip, as the function is not even included in the internal list in the software. The simplest way to calculate age in Excel is to use the Excel Yearfrac Function , which returns the number of years between two dates. Sure, you can enter the end date to calculate age, not for the current date. . here is my sample. Re-type 01/01/2017 and 01/01/2018 . I was using the datedif formula to calculate the days into a positive or negative number and it works great. After installing Kutools for Excel, please do as this:. If dates are not derived from functions then the DATEDIF returns "3". And again, 12/31/2019 is after that. Using DATEDIF Function to Subtract Dates in Excel to Get Years. Dates in Excel start from 01/00/1900 (Assuming you're using US format of mm/dd/yyyy) and are stored as 01/00/1900 + n days. e. In cell E2 we put our formula; =DATEDIF (B2,C2,”Y”) We then press Enter to get the time difference for that row. However, if an additional option Y is provided, like in this example, DATEDIF returns the number of years. The result will be displayed in the selected cell. Education. For reference, you could view this page: DATEDIF function A difference in complete months, Ignoring days and years. I was able to get the result I wanted to achieve with one one date condition and return the value if it matched but I'm not able to enter multiple date ranges, as well as return values if they matched. First put a start date in a cell, and an end date in another. Second, let me point you to the newly released LET function, which will enable you to write in a formula only once something like DATEDIF(A3,(B3-((B3-A3)-NETWORKDAYS. Discussion Options. If you open the file attached it shall be shown in Italian locale. Then type a formula like one of the following. “y” gets the Years between dates. No DATEDIF () Function in the list. With the help of these methods, we are going to determine if those days are overdue or not in the first place and then calculate the overdue days in Excel. XLOOKUP function (microsoft. =DATEDIF(A2, A5, "y") - returns the number of complete years between the dates in A2 and B2. 1 person found this reply helpful. To count the months between the dates in cell B3 and C3, please use the formula as this: =YEARFRAC (C3,B3)*12. The formula =DATEDIF (A1,B1,"y") returns the age in years of that person. There are a bunch of units that you can use in the DATEDIF () function. =DATEDIF (C10,CURRENT_DATE,"Y")&" Years,"&DATEDIF (C10,CURRENT_DATE,"YM")&" Months,"&DATEDIF (C10,CURRENT_DATE,"MD")&". First, type A1 type 01/12/1990 in cell A1. Jan 30, 2016 at 2:05 @RonRosenfeld: Interesting. Excel DATEDIF not showing the correct answer. I placed each DATEDIF statement into a separate cell on Row 2, placed the date in C2, and replaced the literal "04/06/1988" with a reference to C. As you probably noticed, the Excel DATEDIF function does not have a special unit to calculate date difference in weeks. May 25 2021 07:25 AM. On the other hand, =EDATE (DATE (2019,12,31), 2) is indeed 2/29/2020. . counts down perfectly until -1 should be shown but instead returns #NUM!The first date is specified in cell B4 and the second date in cell C4. If the earlier date is in A1 and the later date in B1 you can just use: =B1-A1 and format the cell as a number, in stead of =DATEDIF(A1. I searched Excel help and function reference, and MS knowledgebase. Note: DATEDIF function will exclude the start date when counting the month numbers. I am trying to write the formula in such a way that pulls the termination date if the cell is not blank, but uses today's. This function is available in all versions of Excel but is not documented. I'm trying to calculate the shelf life remaining on an item using the manufactured date & the expiration date. 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. DATEDIF is the one hidden feature in Excel, but there isn't really a replacement. If you take a cell containing =TODAY () and format it as general or number then today (March 5, 2019) it will appear as 43529. “Y”: With this unit, DATEDIF function will return number of complete years between Start Date and End Date. The DATEDIF function may calculate incorrect results under certain scenarios. Here, "m" represents months. number of days. I can't find it listed anywhere on the formula tab, nor am I shown any reminder of what arguments to use. Top Contributors in Excel: HansV MVP - Jim_ Gordon - Ashish Mathur - Andreas Killer - Shane Devenshire 👏. This thread is locked. if you format the cell as general that date should appear as 36892 so that indicates the date is text and not a real date number, its the original that needs changing once its changed to a real date it should work on any machine, datedif works with text dates as long as they are in the correct format on my machine 23/4/08 would work as / is my shortdate seperator but 23. Because 2012 is a Leap year, it has a 366 day basis. Go ahead and try the rest of the intervals. First put a start date in a cell, and an end date in another. Important note – Unlike the other functions, the function will not appear as you start to type this date function. May 01 2022 08:23 AM. Below is the formula that will do this: =DATEDIF (B2,C2,"y")&" Years "&DATEDIF (B2,C2,"ym")&". Using the DatedIf function I am. Press Enter to see your current age. To add a point, it's not suggested to enter content in this bracket TODAY(), if you want to modify the date, you might select a cell then input the date into it the same way you choose C3. Thus simply type in cell =DATEDIF(. For some reason, Microsoft has decided not to. As you can see from the info below, someone's actual age is calculated to show in years and months, as is the reading age -. sobressair DATEDIF função. Cell B2 is the End date reference. Click in the Date 2 box and select a cell with the second date. If it is 1 day or less I would like it to show "No". Unlike other functions, undocumented functions cannot be found in the function list and will not appear when you start typing the name of the function. I suspect that DATEDIF is not available in the Italian version of Excel. See the below given image. Use the DATEDIF function when you want to calculate the difference between two dates. HansV MVP. Description. The DATEDIF Function typically calculates the number of days between two dates. Hàm DATEDIF có thể tính toán các kết quả không đúng trong một số kịch bản nhất định. First put a start date in a cell, and an end date in another. Note: =A2-A1 produces the exact same result!I'm trying to calculate the shelf life remaining on an item using the manufactured date & the expiration date. If you are not familiar with the scientific notation, I'll briefly explain what it means on an example of the smallest allowed positive number 2. Subscribe to RSS Feed; Mark Discussion as New; Mark Discussion as Read; Pin this Discussion for Current User;. In column F, we can use the following variations of the DATEDIF function to calculate the difference in years, months and days respectively. I found a solution =((DAYS(TODAY(),E2))/365. 1. F2 format General. Open a new Excel workbook. 9,212. First, enter the DATEDIF function in cell C1. Then type a formula like one of the following. DATEDIF is the easiest way to find out how many years are between two dates. INTL (A3,B3,1))) by giving it a name (very similar to naming a range or a cell) and then using. . com) most probably shall be available on all channels for Microsoft 365, includes semi-annual. คือว่าผมจะคำนวนหาอายุในExcel แต่ไม่มีฟังชั่น datedif จะใช้ฟังชั่นไหนได้บ้าง. If the dates are more than 1 month apart it returns the correct result. Trying to retrieve the number of months between the two dates below. Our videos are about below Microsoft Reporting Tools:Excel Basic. You shall type it on your own, Excel shows nothing while you are entering function. We will not be able to use this method for our DateDif Function, as it is not recognised, so we will have to type it manually. 3 people found this reply helpful. A suggestion is: UDF replacement for Excel's DATEDIF. Example 1: Common Uses. The XLOOKUP looks for each month, or the next largest item (indicated by the final parameter), in the first array, then returns the corresponding position from the second array. I suspect that there are quite a few. of days, ignoring years. You can find information at Chip Pearson's web site for the DateDif Function – Ron Rosenfeld. Sử dụng DATEDIF một lần nữa với "MD" để tìm ngày. Regarding DATEDIF not being accurate, do bear in mind the following warning from Microsoft regarding the DATEDIF function. Hi Rex, so sorry I haven't got back to you sooner I've just been incredibly busy. 2251E-308. •Beware of Scammers posting fake Support Numbers here. However, it works in all versions of Excel. It was probably included for compatibility with. In a new cell, write a formula like this: =C2-B2. Type "=DATEDIF" into another cell. . Datedif #num help. 3: FORMULATEXT (reference) Returns a formula as a text string. Flexible Payments. Basis: Use basis 1 which tells Excel to divide the actual number of days per month by the actual number of days per year. F5=DATEDIF (D5,E5,”y”) // returns 2. To use the function, enter the dates into the appropriate cells, and then enter the desired calculation into the cell where you want the result. e. R. So if you want to find out how many days, years or months have passed since you were born, well this is the formula for you! Well you can also extend this to project start and end dates, but you get my point. Now it’s time to combine all these to create an accurate age. Peringatan: Excel menyediakan fungsi DATEDIF untuk mendukung buku kerja yang lebih lama dari Lotus 1-2-3. Get workbook name and path without sheet In this example, the goal is to get a normal path to the current workbook, without a sheet name, and without the square brackets ("[ ]") that normally. Rajen66. intl formula and I can't figure it out. What are the options for calulating differneces between two dates? Thanks. [SOLVED] DateDif function not work in 2021 version excel. Step 2: First, we must enter the DATEDIF formula in the first row and use “YD” as a unit in a formula. The syntax of the DATEDIF function is DATEDIF(start_date, end_date, unit). DatedIf Not Working. It's there, it's just not in the drop-down function list, and the ScreenTip (showing arg options) doesn't show. If the months between the dates cannot. The. 01. Each argument is provided as a number, and the result is a serial number that represents a valid Excel date. The DATEDIF function is available in any version of Excel, but it is not shown in the list of functions. Using the DatedIf function I am. The DATE function creates a date using individual year, month, and day arguments. To find an age, use this formula: =YEARFRAC (B2,TODAY (),1) Replace B2 with the cell containing the birth date. It creates it using the year in cell E17, and the month in cell E17. It should be there, it just doesn't appear in the function list, as it was deprecated long ago. Why Datedif function in Excel can not be inserted from (fx)? This thread is locked. What does not work: Dynamic date difference calculated as formula TODAY ()-CELL_X. Converting date differences into months and years has always been ambiguous. Unlike other functions, undocumented functions cannot be found in the function list and will not appear when you start typing the name of the function. You should get the correct answer for =A3-A2 (ie. It is the DATEDIF function. It’s not a ‘full’ Excel function because it was added for compatibility with Lotus 123 and has a. INTL(A3,B3,1))) by giving it a name (very similar to naming a range or. Now it’s time to combine all these to create an accurate age. =DATEDIF ("12/4/2013","1/1/2015","Y") Returns 1 because whether from December 4, 2013 or April 12, 2013 there is over a year and less. Next, in cell A4 type your formula DATEDIF (A1,A2,”Y”). This is the optional part of the formula. . The problem is not with your version of Excel; the DATEDIF function is an undocumented function. HansV MVP. 2. Note. 4. if C1 is blank and time interval between two dates (G2 and today) is more or equals F2-2, then ''Attention". You need to know the arguments and how to use it. The DATEDIF function may calculate incorrect results under certain. This video is going to show you how to use Datedif function in Microsoft Excel 2007 and calculate the difference of Years, Months and dates between two dates. By DaveBre in forum Excel Formulas & Functions. I've tried both and I can't get either to work.