excel datedif function missing. DATEDIF function (microsoft. excel datedif function missing

 
 DATEDIF function (microsoftexcel datedif function missing The DATEDIF Function in Excel

The function does it in the reverse order to avoid leap years and months with different lengths eg Dec is 31 days , Sep is 30Step 2: In a different cell, use the DATEDIF function to calculate the difference: =DATEDIF(A2, B2, "m") The syntax for DATEDIF is DATEDIF(start_date, end_date, unit). com) is practically in any version of Excel, but it is not shown in list of functions (see comment in above support post). com) most probably shall be available on all channels for Microsoft 365, includes semi. You may not post new threads; You may not post replies; You may not post attachments; You may not edit your postssounds like a cell format issue. TheDate = InputBox ("Enter a date") Msg = "Days from today: " & DateDiff ("d", Now, TheDate) MsgBox Msg. Step 2: First, we must enter the DATEDIF formula in the first row and use “YD” as a unit in a formula. The DATEDIF (Date + Dif) function is a "compatibility" function that comes from Lotus 1-2-3. We understand this is inconvenient to type the complete function to use it when it’s already working in Excel. Lastly, you can use a function called DATEDIF, which is included in Excel from Lotus 1-2-3 days, but isn’t an officially supported formula in Excel. XLOOKUP function (microsoft. Get age from birthdate. To combine the year, month, and day from our cells A2, B2, and C2 respectively, you would use the following formula: =DATE (A2,B2,C2)Top Contributors in Excel: HansV MVP. Reply; Satheesh Babu says:. So, here's the formula we'll use to calculate an employee's age: =INT(YEARFRAC(B2, TODAY()) The formula calculates the difference between the employee's birthday and today's date. Note: Excel offers the DATEDIF function to support older workbooks from Lotus 1-2-3. It’s not a ‘full’ Excel function because it was added for compatibility with Lotus 123 and has a known bug. To perform all these calculations, Excel has an incredible function to realize all the different calculation between 2 dates. Pro User. Hello, I have the following formula in E2 to calculate the number of days between two dates: =DATEDIF (C2,D2,"D"). asks: Is DATEDIF gone from Excel? It is missing from the latest beta builds. This formula works for the days remaining after full months are counted except when the end date month has 30 days and the billed. R. Excel SUMIF using text and date ranges defined by cell value. Example 3. "md" gets the days between dates, ignoring months and years. A formula uses a function that iterates, such as IRR or RATE, and it can’t find a result. DATEDIF also adds a feature over a simple subtraction: you can specify the units you want, and it can do some convenient conversion functions. INT returns number of work days IN the period, includes start and end date. Can't find any reference to the DATEDIF () function. I have one cell where there are short dates. The above is as suggested by Sergei Baklan in the thread below. Step 3: Select 'Insert Function' in the options. =DATEDIF (A2,B2,"M") Similarly, below formula will find the number of years between two dates. The syntax for the function is DATE (year, month, day) with all three arguments required. No problems with DATEDIF. We want to know how old David is today. It should be in quotes. When I say available functions, I meant to say DAYS, DATEDIF, NETWORKDAYS, and. = (B1-B2)/365. – Solar Mike. unit - tells the function to find the number of days (D), complete months (M), or complete years (Y) between the two dates. Note: We used the DATEDIF() function to calculate the date difference (“d” = in days) between the start date in column B and the current date. The syntax for it is as follows. In my Excel 97, the DATEDIF() function works well. Can't find any reference to the DATEDIF () function. This formula will return whole weeks and the remaining days: =INT( (D3-C3)/7)&" weeks "&MOD(D3-C3,7)&" days". The DATEDIF function in Excel can be used to calculate the difference between two dates in years, months, days, or hours. By using the unit options in the DATEDIF function, you can choose the unit of time to calculate the age of the person. Click in the Date 2 box and select a cell with the second date. It must be of the same format as the start_date. Select cell D2, which is the first blank cell in the Duration column. Suppose the person’s date of birth is in cell A1 and the current date is in cell A2. Excel DATEDIF Formula . So if you want other units, you would need to convert the result to the units you want. Dates in Excel work as a number of days since Jan 0, 1900. Go ahead and try the rest of the intervals. Explanation. Here, Datedif if the function. Aug 15 2022 03:05 PM. What I'm trying to achieve is displaying a blank "Age" if either the Date of Birth or BOTH the Date of Birth and Date Tested Fields are left blank. You need to decide if you are using Excel or Google sheets - you should know which as many functions behave differently. Meski demikian, bukan berarti formula ini tidak tersedia atau tidak bisa digunakan. In the above example, we calculate the difference between the start_date in B6 and the end_date in C6 in years. Jan 30, 2016 at 2:05 @RonRosenfeld: Interesting. Returns the serial number of a particular date. Example 1: Common Uses. First put a start date in a cell, and an end date in another. Sintaxe: A sintaxe para o DATEDIF função no Excel é: =DATEDIF(Start_Date, End_Date, Unit) Argumentos:Method #2 – Using DATEDIF Function. Let’s see how DATEDIF works, even if the function doesn’t appear to be working in your version of Excel. If you want to subtract the end date from the start date and return a positive value, then use. Your result is probably 43 (years), which in a date format (m/d/yyyy) is presented as 2/12/1900. Forum Expert Join Date 07-11-2013 Location Phoenixville, PA MS-Off Ver MS Office 2016 Posts 4,465C. Here's a quick look at these critical. This formula calculates the total days of service and divides them by 365 days to get a fraction, representing the partial years. 1 of 2. Example 4: When the Day is Not Specified. It's there, it's just not in the drop-down function list, and the ScreenTip (showing arg options) doesn't show. While excel datedif function include one of the dates that is why its always 1 additional day than python datatime – Eithar. One use for Excel's DATEDIF function is to calculate a person's current age. The DATEDIF function is a worksheet function and it returns a numeric value in return. This thread is locked. Please provide as much info as you. Answer. Insert the start date and add a comma. Next, the value is relayed to the INT function. I'm using the "DATEDIF" function, and it's doing something I didn't expect, I wonder if anyone can help me understand why. Excel has an incredible function to realize all the different calculation between 2 dates. By using the unit options in the DATEDIF function, you can choose the unit of time to calculate the age of the person. DAY function. Click in the Date 1 box (or click the Collapse Dialog button to the right of the box) and select a cell containing the first date. Note: =A2-A1 produces the exact same result!Microsoft has DATEDIF details for SharePoint, which looks the same as the missing DATEDIF info for Excel. But It doesn't appear in Function list though. 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. Excel DATEDIF function explained . 2251x10^-308). 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. For example, if the range A1:A3 contains the values 5, 7, and 38, then the formula =MATCH (7,A1:A3,0) returns the number 2, because 7 is the second item in the range. But I'm not sure about Office 365. @Shayan,, Microsoft has been officially included the DATEDIF funtion with Excel 2016 and is available in Help also. Windows. The DATEDIF function is a powerful Excel formula that calculates the difference between two dates. asks: Is DATEDIF gone from Excel? It is missing from the latest beta builds. DATEDIFF Function. In this MS Excel tutorial from ExcelIsFun, the 271st installment in their series of digital spreadsheet magic tricks, you'll learn how to use conditional formatting and the DATEDIF function to add formatting to a cell based on the content of a different cell. DATEDIF is practically an insider tip, as the function is not even included in the internal list in the software. Mar 14, 2011. I have a spreadsheet with many rows of data and two columns, one for the start date and one for the end date. If you want a single cell to sum all the individual rows then something like =SUM (IF (DATEDIF (I:I,J:J,"D")>=45,0. If you don't feel like dragging out a calendar, a simple spreadsheet formula can come to the rescue. Hi, I'm wondering how does the DATEDIF FUNCTION calculates when using "Y" unit and "M" unit. “y” gets the Years between dates. You can still use it. While in Excel, if you click on the ‘fx’ button to the left of the formula ribbon and search for this function in the ‘Insert Function’ box, you will see that it is nowhere to be found. INTL function as below: =NETWORKDAYS. Step 3: Press Enter to get the result, which will be the difference in months between the two dates. Then type a formula like one of the following. This post will look at the following functions: Datedif. The DATEDIF function is an in-built function in Excel. As you can see, the DATEDIF function returns the # of complete months, while my month - month function returns the number of months "occupied" by the difference between the start and end dates, regardless if they are complete months. It calculates the same results as the above example, but using the DAYS function. Here's a full list of units you can use: "D" – (short for days) returns the number of days between two dates. INTL (A3,B3,1))) by giving it a name (very similar to naming a range or a cell) and then using. Many Thanks Cheers David . A compatibility function that comes originally from Lotus 1-2-3, Excel will not help supply arguments when the function is entered. Neither Excel XP or Excel 2013 are aware of it, so it's pretty strange that it. Type “B7” for the “Start_date” and “C7” for the “End_date” and click. Y. 0 Likes. Technically, the NOW function returns the current date and time, but you can format as time only, as seen below: TODAY () // returns current date NOW () // returns current time. Note: Excel won't help you fill out the arguments for DATEDIF like. 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. GorD Well-known Member. The Excel YEARFRAC function returns a decimal number representing the fractional years between two given dates. If a workbook is set for automatic recalculation, you do not need to press F9 for recalculation. Just enter =D1 - C1-----PS. Write down the formula as: “=DATEDIF (A2,B2,"y")”. . Aug 10, 2016. Dec 24, 2019 Excel 2016 has over 461 functions. This is the easiest way to make a DATEDIF formula in Excel is to input two valid dates in separate cells and refer. In this tutorial, you will find an easy explanation of the DATEDIF function and some example formulas that demonstrate how to compare data and calculate the difference between. DATEDIF is useful for calculating the. Add the “ YEARFRAC ” function. But I wonder why you want to use that function at all. If you want to calculate months or years rounded up, add half a month or half a year to the formula. The DATEDIF function will return the number of days between two specified dates. Excel SUMIF variable date range. The DATEDIF function does exactly what the name suggests. This video answers these questions: is datedif still in excel is datedif in excel 2016 why does datedif not work in excel does. . Because, the DATEDIF function returns the number of complete months elapsed between dates, and this formula works on the months’ numbers that belong to different dates. To use the DATEDIF function, follow these steps: Open a new or existing Excel worksheet and type the start date in one cell and the end date in another cell. Feb 02 2023 04:00 AM. Excel has a 'DATEDIF' function. asks: Is DATEDIF gone from Excel? It is missing from the latest beta builds. In the end, hit enter to get the result. However, you can manually type the DateDif formula into a cell and by following the instructions in this post, get the results described. Use the DATEDIF function when you want to calculate the difference between two dates. It obtains this information on the current date by reading the computer's clock. Step 1: Open your table that records the entry date of the company's employees. DATEDIF =(LastLogon,todaydate,"d") 5/15/2020 1:48:00 PM and 6/21/2020 12:00:00 AM is 37 days ! Why is the difference ? Which one should I trust ?. If the value already contains text, make sure it follows a. (I found it on this site). 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. Excel's DATEDIF function will calculate it for you. C. Now you will get the time difference between two dates in days, hours, and minutes. If you know someone's year of birth, you can subtract that year from the current year to find the person's age: YEAR( TODAY())-year_of_birth. We would like to show you a description here but the site won’t allow us. Another useful technique for comparing dates in Excel is to use the DATEDIF function. And finally, don’t confuse the Excel worksheet function, DATEDIF, with the VBA function DATEDIFF, or the Access DATEDIFF function. I need the number of months, regardless if full months, over any date period!Option 1: Install the Excel PowerUps Premium Suite add-in. Select the cell where you want to type your formula, and add the following: =DATEDIF (“01/01/2018”,”24/05/18. Re: missing datedif. Thus simply type in cell =DATEDIF (. Sometimes this function may result in a wrong. Jan 29, 2020. The best way to get the difference between two dates in Excel is by using the DATEDIF () function. You can try this for free for 30 days. We got the age of Jon Snow using DATEDIF function. Use the DATEDIF function when you want to calculate the difference between two dates. of days, ignoring years. ในแผ่นงาน Excel ถ้าคุณต้องการคำนวณจำนวนปีเดือนวันหรือสัปดาห์ระหว่างวันที่สองวันที่ระบุไฟล์ DATEDIF ฟังก์ชันใน Excel อาจช่วยคุณได้External YouTube Channel. This function is hidden and is not displayed in the Functions menu. في حال كان التاريخ الأول 02-Sep-1 مدخل في الخلية A1، وكان التاريخ الأخير 03-Nov-30 مدخل في الخلية A3، فيمكن استخدام الصيغة الآتية لحساب الفرق بين عدد الأيام مع تجاهل السنوات بين التاريخين. Next, in the second argument refer to the B2 where you have the ending date. Similar way let’s calculate the months & days. Jan 13, 2021 at 14:58. ? 1/5/1900 in date format = "5" in number format. It’s syntax is: =DATEDIF(start_date, end_date, unit) start_date – The start date in Excel serial number format. It returns 26, which is the total number of years completed and ignores the additional months and days after it. To count the number of whole months between dates, DATEDIF function with “M” unit can be used. 465000" timestamp2 = "2010-01-10-01. Lisainnj . The DATEDIF () function always rounds down (by default) to the nearest whole month or year. Hence, if the DATEDIF function returns a value other than zero, the IF function will return the result of the DATEDIF function; otherwise it returns an empty string “”. If you always want to compare month-ends you could use this formula. I know your instructions say to use DATEDIF, but you can just subtract the earlier date from the later date to get the number of days between them. or. Can't find any reference to the DATEDIF () function. Your DATEDIF is generating a number, but I suspect that the cell is formatted to date format, which is presenting the resultant value as a date. . Here is a link to a mini-blog article which contains the same information that you referenced in your message (you may find it easier in the future to refer to my article than an internal message in a forum thread). 3. For the remaining full months, I simply used: = (YEAR (E2)-YEAR (F2))*12+MONTH (E2)-MONTH (F2) For the days, DATEDIF doesn't like billed through dates higher than end dates and returns #NUM. 2) Date calculations involving the last days of a. 4. This formula subtracts the date in cell A1 from the current date and gives you the number of days. Upvote 0. C. =DATEDIF ( วันเริ่มต้น, วันสิ้นสุด, รูปแบบของผลลัพธ์. I'm trying to use DATEDIF to show both the number of years AND months between previous dates and TODAY(), i. Na planilha do Excel, se você quiser calcular o número de anos, meses, dias ou semanas entre duas datas, o DATEDIF função no Excel pode ajudá-lo. @towshin sharier . F2 format General. Follow the steps to calculate the age using YEARFRAC():. See full list on support. =DATEDIF (B2,TODAY (),"Y") And immediately, you'll see the. 19 to 30 Sep is 12 days plus October 30 days = 42 days. These are the first and second arguments in our function. перевершувати. Sometimes this function may result in a wrong. This function calculates the difference between two dates in a variety of units, such as days, months, and years. 37. In this Forum, we are Microsoft consumers just like yourself. =DATEDIF (A2,DATE (YEAR (A2),12,31),"D") The syntax of the DATEDIF function is DATEDIF (start_date, end_date,. 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. F6=DATEDIF (D6,E6,”m. There is a reason that it is hidden. Messages. You can vote as helpful, but you cannot reply or subscribe to this thread. For the dates 19 Sep 16 to 30 Oct 16 the following formula calculates 41 days. It only excludes the weekends (Saturdays and Sundays) and returns 15 as the. 575000" myDiff = DateDiff("s", timestamp1, timestamp2) ' use "s" to get difference in seconds You can find out about the various interval types (seconds in the example above) by looking here for more. Joined. In Excel, if you need to calculate the difference between two dates in years, month, or days, the DATEDIF function will handle it. Notice that the result of this formula is not always similar to the DATEDIF function. Well, let me first commend you on a very complicated formula that works. I can not find and perform the function. I searched Excel help and function reference, and MS knowledgebase. com I have noticed that a number of functions that I would like to use within formulas are not available. Enter the missing numeric values. =end_date-start_date. #3. MSFT has been trying to deprecate the use of DATEDIF for many years. JoinedUsing the DATEDIF Function. : the difference between. You can use the following formula to calculate the number of years and months between two dates in Excel: =DATEDIF (A2, B2,"y")&" years "&DATEDIF (A2, B2,"ym")&" months". See below for examples and an. A common use of this could be calculating the age in years. 4. Suppose you have the date of birth in cell B1, and you want to calculate how many years have elapsed since that date, here is the formula that’ll give you the result: =DATEDIF (B1,TODAY (),"Y") If you have the current date (or the end date) in a cell, you can use the reference instead of the TODAY. In Excel, we can calculate a person’s age if we know the person’s date of birth and the current date. In Excel 365 this function is still available for backwards compatibility but should not be used. Calculate Age in Excel – Years Only. This particular formula will return the number of years and months between the start date in cell A2 and the end date in cell B2. To get the number of months: =DATEDIF(B2, TODAY(), "YM") To get the number of days use the following units:Click in the cell where you want the number of years of service to appear. Education. For instance, let's say David's DOB is 10/01/1990. 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. We'll carry forward the last formula where we added text to the full weeks that passed between the dates in C3 and D3. Important note – Unlike the other functions, the function will not appear as you start to type this date function. Below table shows the simplified results of our formula, where zero values are not displayed. Syntax: =DATEDIF(Date1, Date2, Interval) According to Chip Pearson, this was documented once, in Excel 2000, but has been in Excel since '95 and is treated like other Formulae's drunk cousin (ie Excel knows it lives a happy and useful life, but will not speak of it in polite conversation. Video Tutorial of the Microsoft Excel DATEDIF Functionวิธีการใช้ฟังก์ชั่น. Hence, it doesn't pop up also the syntax of. Step 1: Enter the DOB of a person in the cell. It can calculate the number of days, months, or years between two dates. There’s plenty of concern about Microsoft Excel’s DateDif function but there’s also a hidden trap that rarely gets a mention and is too easy to overlook. Ask Question Asked 8 months ago. DATEDIF is practically an insider tip, as the function is not even included in the internal list in the software. After that, in the first argument refer to cell A2 where you have the starting date. Click on a cell where you want to add the function and Select “Formulas > Date & Time > NETWORKDAYS. Flexible Payments. Complete days between. ฟังก์ชันทุกฟังก์ชันใน Excel สามารถหยิบจับมาใช้งานได้ แต่ไม่ใช่กับ DATEDIF ซึ่งนอกจากเป็นฟังก์ชันแห่งความลับแล้ว ยังถือเป็นฟังก์ชันต้องห้าม!Want all of our free Excel videos? Download our free iPad app at Microsoft Excel DATEDIF function returns the difference between two date values, based on the interval specified. . =DATEDIF (start,end,unit) Here's the info page at MS for a reference of the units. Crack your knuckles because we have a few more ways to calculate the difference between two dates. =DATEDIF (A1;B1;"d") Jun 01 2020 02:49 PM. Modified 8 months ago. On Number tab, choose Custom. When a formula returns an error, IFERROR returns an alternative result. Educator training and development. 🙁. Need to know the number of years, months, or days between two dates? Excel's DATEDIF function will. For example, if you have the employment date in cell D14, you can calculate the employment period up to the present date using the following formula:Syntax: =DATEDIF (start_date, end_date, unit) Start_date : First date in a valid excel format. DATEDIF function. Background on what I am trying to achieve: There are two dates in play here,Hi, I would like to calculate the months between 2 dates, but the datedif function does not seem to work in my version Excel (version 16;68). Register To Reply. To do this, you may have to work out the DATEDIF Function into three different functions. Over feeding. Re: DATEDIF not working. "Y" is the reference to the year's parameter in. DATEDIF is intended to calculate the length of a. In conclusion, the TODAY function is a versatile and useful formula for working with dates in Excel. Note: these are volatile functions and will recalculate with every worksheet change. DATEDIF (A1, A3, "D")=. Prepare the DATEDIF function by typing "=DATEDIF" into another cell. The syntax for the DATEDIF function is: = DATEDIF ( start_date , end_date , unit ) start_date - the first or starting date. . . Microsoft Excel. Here’s how to calculate age in Excel using the “ YEARFRAC ” fraction: In a cell, type in the “ equals ” (=) sign and “ INT ” function. Just make sure these dates in double-quotes is in an accepted date format in Excel. Fill in "d" for the third argument to get the number of days between two dates. Cart. For instance, let's say David's DOB is 10/01/1990. 🙁. In Column C, you can write out the following specific formula: =DATEDIF (A3,B3"Y"). Anyways, let’s see how this formula work. Converts a date in the form of text to a serial number. 07. Days function gives you the number of days between. Devices for education. Arguments. Your result is probably 43 (years), which in a date format (m/d/yyyy) is presented as 2/12/1900. This video answers these questions: is datedif still in excel. Forum Expert Join Date 02-14-2005 Location Worcester, UK MS-Off Ver Excel 2007 (Home) Posts 7,097Excel NETWORKDAYS Function – Examples. If it's over it's eligible. =DATEDIF (C2,TODAY (),"D") Since you are calculating the difference in days, you do not need to use the DATEDIF function at all. Bentuk umum formula DATEDIF adalah sebagai. . Calculating Age in Excel With the DATEDIF function. . Then you'll get precision down to. In the example shown, the formula in E5 is: =DATEDIF(B5,C5,"y")&" years, "&DATEDIF(B5,C5,"ym")&" months, " &DATEDIF(B5,C5,"md")&" days" where start dates are in column B, and end dates are. The standard syntax for DATEDIF () function is: =DATEDIF (start_date, end_date, unit) The “unit” argument decides if. 6-Step Guide for Calculating Date Duration: Open a new Excel document and create a table with two columns, “ Start Date ” and “ End Date “. Other methods, such as =INT ( (end-start)/365. The INT function then rounds the number down to. The DATEDIF function may calculate incorrect results under certain scenarios. All you need to know is how you use the DATEDIF function to do your task. This will bring up the Insert Function Window. '=FindDateDiff(A1,B1)' This function only require 2 dates as arguments and the order doesn't matter. It's not an official Excel function and exists only for compatibility reasons with older spreadsheet programs (like Lotus-1-2-3). e. Unit is the type of unit you want to calculate e. The first date is specified in cell B4 and the second date in cell C4. I am trying to correct this formula =DATEDIF(H80,J80,"D")ISBLANK,0)) , where H80 is the start_date, J80 is the end_date, "D" gives me the number of days in between but if one cell is blank to return. This time around, we'll calculate the difference in terms of months. The DATEDIF function is available in any version of Excel, but it is not shown in the list of functions. The DATEDIF Function in Excel. Nevertheless, the function persists. Deals for students and parents. Products (51) Special Topics (28) Video Hub (447) Most Active Hubs. Outlook. e. =DATEDIF (B5,C5,"m") Here, cell B5 represents the start date, whereas cell C5 represents the end date. But if you see them appear in older Excel models at least you’ll be the full bottle. Release the mouse button and select either Fill Months or Fill Years from the menu that displays. Rajen66. It's not an official Excel function and exists only for compatibility reasons with older spreadsheet programs (like Lotus-1-2-3). Enter the start_date, end_date, and the desired unit (enclosed in double quotes) within the parentheses. 3. "M" – (months) the number of full months between two dates. Alternatively, use the function to compute the difference between any two dates. Excel has a 'DATEDIF' function. Figure 6. In case you want to use any date other than Current date then use this is cell T4: In some. However, this function is one of the rare function that is not documented while we enter it. Type Alt+7 then space then @ sign (using 7 on numeric keypad) The Excel DATEDIF function returns the difference between two date values in years, months, or days. DATE function. Here's the formula using the DATEDIF function to return the months elapsed between two dates in months and days: =DATEDIF(C3,D3,"M")&"m "&DATEDIF(C3,D3,"MD")&"d". R. Want to master Microsoft Excel and take your work-from-home job prospects to the next. We can use the below function to find the number of days left in the year from the given date. Hi, I'm wondering how does the DATEDIF FUNCTION calculates when using "Y" unit and "M" unit. ago. To subtract a date from today in Excel, you can use the TODAY () function and subtraction. As a worksheet function, the DATEDIF function can be entered as part of a. โครงสร้างของฟังก์ชั่นคือ. Use this function to select one of. Almost everything is how I want it, apart from one cell that won't quite work. To use the DATEDIF function in Excel, follow these steps: Select the cell where you want the result to appear. Using the DAYS () function. e. The DATEDIF function is available in any version of Excel, but it is not shown in the list of functions. Now press the ENTER button.