8. Datedif function
Function Name: DATEDIF
Main function: Calculates the difference that returns two date parameters.
Use format: =datedif (date1,date2, "Y"), =datedif (Date1,date2, "M"), =datedif (Date1,date2, "D")
Parameter Description: Date1 represents the previous date, Date2 represents a later date, and Y (M, d) requires that the number of years (months, days) of the difference between two dates be returned.
Application Example: Enter the formula in cell C23: =datedif (A23,today (), "Y"), confirm the difference between the system's current date [in today () and the date in the A23 cell, and return the number of years that are different.
Special reminder: This is a hidden function in Excel, is not found in the Function Wizard, you can directly input the use of computing age, seniority, etc. very effective.
9, Day function
Function Name: Day
Main function: Find the number of days in a specified date or a date in a reference cell.
Use Format: Day (Serial_number)
Parameter Description: Serial_number represents the specified date or referenced cell.
Application Example: Input formula: =day ("2003-12-18"), confirm, show 18.
Special reminder: If it is a given date, enclose it in double quotes in English.
10. DCount function
Function Name: DCOUNT
Main function: Returns the number of cells in a column in a database or list that meet specified criteria and contain numbers.
Use format: DCOUNT (Database,field,criteria)
Parameter Description: The database represents the range of cells that need to be counted; field represents the data column used by the function (must have a flag item in the first row); The criteria contains the range of cells for the condition.
Example: As shown in Figure 1, enter the formula in cell F4: =dcount (A1:d11, "language", F1:G2), after confirmation, you can find out in the "Language" column, the result is greater than or equal to 70, and less than 80 of the number of cells (equivalent to the number of fractional segments).
Special reminder: If the above formula is modified to: =dcount (A1:D11,,F1:G2), you can achieve the same purpose.
11. Frequency function
Function Name: FREQUENCY
Main function: Returns the frequency distribution of the data in a range in a column of vertical arrays.
Use format: FREQUENCY (Data_array,bins_array)
Parameter Description: Data_array represents a set of data or range of cells used to compute the frequency; Bins_array represents a column of values that separates the preceding array.
Application example: As shown in Figure 2, at the same time select the B32 to B36 cell range, enter the formula: =frequency (B2:B31,D2:D36), enter the completion of the press "Ctrl+shift+enter" key to confirm, you can find the B2 to the B31 area, Number of occurrences of the values of each segment separated by the D2 to D36 area (equivalent to the number of individual fractions).
Special reminder: The above input is an array formula, the input is completed, you need to press the "Ctrl+shift+enter" key combination to confirm, confirm the formula at the end of a pair of braces ({}), this curly braces can not be entered directly.