Excel functions You Know?

A few days ago to share with you a Chinese-style reporting tool Smartbi enterprise reporting software , the product of "True Excel" is the most prominent feature, in which the data is calculated, taking advantage of existing capabilities of Excel.

When it comes to data calculations, have to say is that Excel functions.

13748829-fa6b6fd5d71728ce

Excel functions are built-in functions in Excel. Excel function contains a total of 11 categories, namely, database functions, date and time functions, engineering functions, financial functions, function, logic function, query and reference functions, mathematical and trigonometric functions, statistical functions, text functions and user-defined functions.

How to use the function of it in Excel?

Input function cell - click the cell C1, edit bar appears - cell editing - press "Edit formula" button, there will be a "Formula Palette" in the edit field below, then the "Name" box into a "function" button - press "function" right arrow -

Open the function list box, select the desired function, function list - functions required for the election after - will open the "Formula Palette", the user can input parameters of the function in this palette, when you finish entering parameters after the "formula palette" also show the results of the calculation of a function - press the "OK" button to finish.

No list of the required function: You can click "other functions" option, open the "Paste Function" dialog box, users can select the desired function, then click the "OK" button to return to the "Formula Palette" dialog box.

Excel commonly used functions Daquan

1, ABS function

Function Name: ABS

Main features: obtaining an absolute value of a corresponding number.

Using the format: ABS (number)

Parameters: number representative of the absolute value or request cell references.

Example: If you enter the formula in cell B2: = ABS (A2), then regardless of the input cell A2 positive number (e.g., 100) or negative (e.g., -100), showed a positive number (e.g., 100 B2 in ).

Special note: If number is not numeric, but some characters (e.g., A, etc.), the error value returned B2 "#VALUE!".

2, AND function

Function name: AND

The main functions: to return a logical value: if all parameter values ​​are logical "true (TRUE)", then the logic returns "true (TRUE)", on the contrary returns the logical "false (FALSE)".

Using the format: AND (logical1, logical2, ...)

Parameter Description: Logical1, Logical2, Logical3 ......: represents the condition value or expression to be tested, up to the 30..

Application examples: cell C5 enter the formula: = AND (A5> = 60, B5> = 60), confirmed. If the C5 return TRUE, shows the values ​​A5 and B5 is greater than or equal to 60, if the returns FALSE, the values ​​A5 and B5 description of at least one of less than 60.

Special note: if the specified logical condition parameter contains non-logical value, then the function returns an error value or "#NAME" "#VALUE!".

3, AVERAGE function

Function name: AVERAGE

The main functions: find the arithmetic mean of all parameters.

Using the format: AVERAGE (number1, number2, ......)

Parameter Description: number1, number2, ......: request average value or reference cell (area), no more than 30 parameters.

Example: enter the formula in cell B8: = AVERAGE (B7: D7, F7: H7,7,8), after confirmation, you can find the area B7 to D7, F7 to H7 area values ​​7,8 and average of.

Special note: if the reference area contains "0" value in a cell is counted; if the reference area contains a blank or character cell, it is not counted.

4, COLUMN function

Function Name: COLUMN

Main features: numeral value display column of the referenced cell.

Using the format: COLUMN (reference)

Parameter Description: reference for the referenced cell.

Example: enter the formula in cell C11: = COLUMN (B11), confirmation is displayed as 2 (i.e., column B).

Special note: If you enter the formula in cell B11: = COLUMN (), also shows that 2; with the corresponding row and a return value of the function label --ROW (reference).

5, CONCATENATE function

Function Name: CONCATENATE

Main functions: connecting a plurality of data characters in the text or in a cell together, in a display cell.

Using the format: CONCATENATE (Text1, Text ......)

Parameters: Text1, Text2 ...... text character to be connected or reference cell.

Example: enter the formula in cell C14: = CONCATENATE (A14, "@", B14, ". Com"), after confirmation, to the cell A14 characters, @, B14 cells and characters. com connection as a whole, displayed in the cell C14.

Special note: If the parameter is not referenced cell and text format with quotation marks in the English state to the parameter, if the above formula to: = A14 & "@" & B14 & ". Com", can achieve the same purpose.

6, COUNTIF function

Function name: COUNTIF

Main features: Displays the number of cells in a range of cells that meet the specified criteria.

Use the format: COUNTIF (Range, Criteria)

Parameter Description: Range behalf of cells to statistics; Criteria represents the conditional expression specified.

Example: enter the formula in cell C17: = COUNTIF (B1: B13, "> = 80"), after the confirmation, the statistics can range of cells B1 to B13, the value equal to the number greater than 80 cells.

Special note: allows you to reference a range of cells in the blank cells appear.

7, DATE function

Function name: DATE

The main function: gives the date specified value.

Using the format: DATE (year, month, day)

Parameters: year specified year (less than 9999); month to month for the specified value (may be greater than 12); day is a specified number of days.

Example: enter the formula in cell C20: = DATE (2003,13,35), after confirmation, showing 2004-2-4.

Special note: Due to the above formula, January 13, more than a month, postponed to January 2004; the number of days to 35, the addition of four days than the actual number of days in January 2004, it is also postponed to February 2004 4.

8, function name: DATEDIF

Main features: Returns the two date parameters calculated difference.

使用格式:=DATEDIF(date1,date2,"y")、=DATEDIF(date1,date2,"m")、=DATEDIF(date1,date2,"d")

Parameters: date1 foregoing represents a date, a date later DATE2 Representative; y (m, d) required to return the phase difference in the two dates (month, day) number.

Example: enter the formula in cell C23: = DATEDIF (A23, TODAY (), "y"), the system returns the current date to confirm [() represented by TODAY) difference between the date of the cell A23, and returns a difference of a few years.

Special note: This is a hidden function in Excel, in the Function Wizard is not found, you can enter directly use, very effective for the calculation of the age, length of service and so on.

9, DAY function

Function name: DAY

Main functions: find the specified date or day of the date of the reference cell.

Using the format: DAY (serial_number)

Parameters: serial_number behalf of the specified date or reference cell.

Example: enter the formula: = DAY ( "2003-12-18"), after the confirmation, the display 18.

Special note: If the date is given to, include in the English double quotes.

10, DCOUNT function

Function Name: DCOUNT

The main functions: to return a list or database of column satisfies a specified condition and comprising a number of digital cells.

Using the format: DCOUNT (database, field, criteria)

Parameter Description: Database range of cells expressed the need for statistics; Field, data representative of a column function used (entries must have a flag in the first row); Criteria range of cells containing conditions.

Application examples: 1, enter the formula in cell F4: = DCOUNT (A1: D11, "Language", F1: G2), can be determined after confirmation "language" column, score is 70, values ​​less than 80 and the number of cells (equivalent to the number of scores section).

Special note: If the above equation is modified to: = DCOUNT (A1: D11,, F1: G2), can also achieve the same purpose.

11, FREQUENCY function

Function name: FREQUENCY

The main functions: to return to a vertical array of a frequency distribution of the data area.

Using the format: FREQUENCY (data_array, bins_array)

Parameters: Data_array represents a set of data used to calculate the frequency or range of cells; Bins_array separated represents a value of the front array.

Application examples: 2, while the selected range of cells B32 to B36, enter the formula: = FREQUENCY (B2: B31, D2: D36), key input is completed by pressing "Ctrl + Shift + Enter" confirm combination, to obtain zone B2 to B31, number of frequency of occurrence for each segment separated value (corresponding to the fraction of the number of statistics sections) according to the D2 region D36.

Special note: the input formula is an array, the input is completed, the key needs to be confirmed by pressing "Ctrl + Shift + Enter" composition, after confirmation formulas ends a pair of braces ({}), the braces can not be directly input.

12, IF function

Function name: IF

Main features: The true and false logic judgment result specified condition returns the corresponding content.

使用格式:=IF(Logical,Value_if_true,Value_if_false)

Parameters: Logical expression representing a logical judgment; represents the Value_if_true condition is determined when the display content when a logic "true (TRUE)", if the ignore return "TRUE"; Value_if_false When the judgment condition indicates a logical "FALSE (FALSE)" when display, if you ignore returns "FALSE".

Example: enter the formula C29 cell: = IF (C26> = 18, "satisfactory", "does not comply"), after sure, if the value C26 in the cell is greater than or equal to 18, the C29 cells show "meet the requirements" the words, otherwise display "does not meet the requirements," the words.

Special note: Similar herein, "enter the formula in cell C29" specified cells, the readers in use, do not need to be bound, but with the corresponding cell in the appended examples herein presented here needs specific examples please refer to the attached file.

13, INDEX function

Function name: INDEX

Main functions: return a list or an array of element values, this element is determined by the index value of the row and column numbers.

Using the format: INDEX (array, row_num, column_num)

Parameters: Array constant representative of a range of cells or an array; Row_num indicates the specified row number (if omitted row_num, there must column_num); Column_num represents the designated column number (if omitted column_num, there must row_num).

Application examples: 3, enter the formula in cell F8: = INDEX (A1: D11,4,3), a confirmation is displayed in the cell range A1 to D11, the third row and the fourth column intersection at the cell contents (i.e., C4).

Special note: line number parameter (row_num) and the column number where the parameters (column_num) with respect to the range of cells is referenced in terms of, not Excel worksheet row or column number.

14, INT function

Function name: INT

Main functions: the value rounded down to the nearest integer.

Using the format: INT (number)

Parameters: number expressed the need for a rounding value or reference cell contains the value.

Example: enter the formula: = INT (18.89), 18 confirmed show.

Special note: When rounding, rounding is not performed; if you enter the formula = INT (-18.89), the result is returned -19.

15, ISERROR function

Function name: ISERROR

The main function: used to test the functional return value for errors. If wrong, the function returns TRUE, on the contrary returns FALSE.

Using the format: ISERROR (value)

Parameter Description: Value value or expression to be tested.

Example: enter the formula: = ISERROR (A35 / B35), after the confirmation, if the cell is empty or B35 "0", the A35 / B35 error, and the result of the function returns TRUE, otherwise it returns FALSE.

Special note: This function is typically used with the IF function matching, if the above equation is modified to: = IF (ISERROR (A35 / B35), "", A35 / B35), if B35 is null or "0", the corresponding unit cell appears to be empty, otherwise display the result A35 / B35 is.

16, LEFT function

Function name: LEFT

Main features: Start from the first character of a text string, the interception of a specified number of characters.

Using the format: LEFT (text, num_chars)

Parameter Description: text representative of a character string to be cut; num_chars taken representative of a given number.

Application example: Suppose A38 cells saved "I love YORK" string, we enter the formula in cell C38: = LEFT (A38,3), after confirmation shows "I like" character.

Special note: This function name in English means "left", namely the interception from the left, Excel functions are a lot of whichever is the English meaning.

17, LEN function

Function Name: LEN

The main function: the number of characters in a text string statistics.

Using the format: LEN (text)

Parameter Description: text represents the text string to be counted.

Application example: Suppose A41 cells preserved "I am 28 years old" string, we enter the formula in cell C40: = LEN (A40), after confirmation displays statistics "6."

Special note: When LEN to statistics, whether in full-width characters or half-width characters, each character are counted as "1"; with a corresponding function --LENB, when the statistics counted as half-width characters "1", full-width characters are counted as "2."

18, MATCH function

Function name: MATCH

The main functions: to return the corresponding position in the specified mode match the specified values ​​of the elements in the array.

Using the format: MATCH (lookup_value, lookup_array, match_type)

Parameters: Lookup_value the representative value to look for in the data table;

Lookup_array represents values ​​may contain contiguous cells to be searched;

Match_type represents the value (-1, 0 or 1) Find a way.

If match_type -1, find the minimum value is greater than or equal to lookup_value, Lookup_array must be arranged in descending order;

If match_type is 1, find the maximum value is less than or equal to lookup_value, Lookup_array must be in ascending order;

If match_type is 0, a value equal to the look of lookup_value, Lookup_array may be arranged in any order; match_type If omitted, the default is one.

Application examples: 4, enter the formula in cell F2: = MATCH (E2, B1: B11,0), returns the result of the lookup is OK "9."

Special note: Lookup_array can only be a column or row.

19, MAX function

Function name: MAX

Main function: finding the maximum of a set of numbers.

Using the format: MAX (number1, number2 ......)

Parameter Description: number1, number2 ...... value representative of maximum need required or reference cell (area), no more than 30 parameters.

Example: enter the formula: = MAX (E44: J44,7,8,9,10), to display the maximum value to E44 and J44 cell region and values ​​7,8,9,10 confirmation.

Special note: If there is text or logical value parameter is ignored.

20, MID function

Function Name: MID

Main features: Start from a specified position of a text string, the interception of a specified number of characters.

Using the format: MID (text, start_num, num_chars)

Parameter Description: text representative of a text string; start_num is represented by the specified starting position; num_chars taken to represent the number.

Application example: Suppose A47 cells saved "I love YORK" string, we enter the formula in cell C47: = MID (A47,4,3), after confirmation showing "YORK" character .

Special note: the equation between the parameters, use the comma in the English state "," separated.

21, MIN function

Function name: MIN

Main functions: obtaining the minimum value of a set of numbers.

Using the format: MIN (number1, number2 ......)

Parameter Description: number1, number2 ...... request the representative value or the minimum reference cell (area), no more than 30 parameters.

Example: enter the formula: = MIN (E44: J44,7,8,9,10), to display the minimum value to E44 and J44 cell region and values ​​7,8,9,10 confirmation.

Special note: If there is text or logical value parameter is ignored.

22, MOD function

Function name: MOD

The main functions: find the remainder of the division of two numbers.

Using the format: MOD (number, divisor)

Parameter Description: number represents the dividend; divisor represents the divisor.

Example: enter the formula: = MOD (13,4), the results confirmed show "1."

Special note: if divisor parameter is zero, then the error value "# DIV / 0!"; MOD function can be expressed borrow function INT: The above formula may be modified: = 13-4 * INT (13/4).

23, MONTH function

Function name: MONTH

The main functions: find the specified date or day of the month of references in a cell.

Using the format: MONTH (serial_number)

Parameters: serial_number behalf of the specified date or reference cell.

Example: enter the formula: = MONTH ( "2003-12-18"), after the confirmation, the display 11.

Special note: if a given date, include in double quotation marks; and if the above equation is modified to: = YEAR ( "2003-12-18"), returns a value corresponding to the year "2003."

24, NOW function

Function name: NOW

The main functions: given the current system date and time.

Using the format: NOW ()

Parameter Description: This function takes no arguments.

Example: enter the formula: = NOW (), immediately after confirmation display the current system date and time. If the system date and time changed, just click the F9 function key, you can let it change.

Special note: displays the date and time format, can be re-set cell formatting.

25, OR function

Function name: OR

The main functions: to return a logical value, the function returns the result logic "false (FALSE)" only when all parameter values ​​are logical "false (FALSE)", otherwise returns logical "true (TRUE)".

Using the format: OR (logical1, logical2, ...)

Parameter Description: Logical1, Logical2, Logical3 ......: represents the condition value or expression to be tested, up to the 30..

Example: enter the formula in cell C62: = OR (A62> = 60, B62> = 60), confirmed. If C62 is returned TRUE, shows the values ​​A62 and B62 is at least equal to or greater than 60, if the returns FALSE, the description values ​​A62 and B62 is less than 60.

Special note: if the specified logical condition parameter contains non-logical value, then the function returns an error value or "#NAME" "#VALUE!".

26, RANK function

Function Name: RANK

The main functions: to return rank relative to other values ​​in the value of a certain value.

Using the format: RANK (Number, ref, order)

Parameters: values ​​required to sort Number Representative; ref representative of a range of cells in which the numerical sort; representative of Sort Order parameter (if it is "0" or ignore, ranked in descending, i.e. the greater the value, the smaller the numerical ranking results ; if other than "0", ranking in ascending order, i.e. the greater the value, the greater the numerical ranking result;).

Example: If the input formula in cell C2: = RANK (B2, $ B $ 2: $ B $ 31,0), to obtain a confirmation butoxy students in the class language performance ranking results of performance.

Special note: In the above formula, let us take the Number parameter relative reference forms, and let the ref parameter taken the absolute reference form (addition of a "$" sign), This setting, select cell C2, move your mouse lower right corner of the cell, when a fine cross line (often called "fill handle"), hold down the left drag down to move quickly copied to column C below the cell above formulas, other students to complete language performance ranking statistics.

27, RIGHT function

Function Name: RIGHT

The main function: to start from the last character in a text string, the interception of a specified number of characters.

Using the format: RIGHT (text, num_chars)

Parameter Description: text representative of a character string to be cut; num_chars taken representative of a given number.

Application example: Suppose A65 cells saved "I love YORK" string, we enter the formula in cell C65: = RIGHT (A65,3), after confirmation showing "YORK" character.

Special note: Num_chars must be greater than or equal to 0, if omitted, it defaults to 1; if the parameter is greater than num_chars text length, the function returns the entire text.

28, SUBTOTAL function

Function name: SUBTOTAL

The main functions: to return a list of subtotals or database.

Using the format: SUBTOTAL (function_num, ref1, ref2, ...)

Parameters: Function_num 1 to 11 (includes hidden values) or a number between 101 to 111 (ignores hidden value) to specify what function subtotals calculated (FIG. 6) in the list; ref1, ref2, ...... representatives to subtotals or reference area, no more than 29.

Application examples: as shown in cell B64 and C64 in FIG. 7 are input formula: = SUBTOTAL (3, C2: C63) and = SUBTOTAL103, C2: C63), and the hidden line 61, after the confirmation, former shows 62 (including hidden line), which is shown as 61, does not include the hidden rows.

Special note: If you take automated screening, no matter what type function_num parameter selection, the SUBTOTAL function ignores any row is not included in the screening results; the SUBTOTAL function applied to the data region or vertical column, the data does not apply to horizontal lines or areas.

29, the function name: SUM

Main functions: calculation of all the parameters and values.

Using the format: SUM (Number1, Number2 ......)

Parameters: Number1, Number2 ...... need to calculate the representative value may be a specific numerical values, cell references (region), and other logic value.

Application examples: As shown in FIG 7, the input D64 cell formula: = SUM (D2: D63), the total score can be determined after confirmation language.

Special note: If the parameter is an array or reference, only one of these numbers will be calculated. Blank cells in the array or reference, logical values, text, or error values ​​are ignored; if the above equation is modified to: = SUM (LARGE (D2: D63, {1,2,3,4,5})), you can find the top 5 results and.

30, SUMIF function

Function name: SUMIF

Main function: calculated values ​​within the range of cells and meet the specified criteria.

Using the format: SUMIF (Range, Criteria, Sum_Range)

Parameters: Range Representative conditional range of cells; Sum_Range range of cells need to calculate the representative value is located; Criteria for the specified conditional expression.

Application examples: As shown in FIG 7, the input D64 cell formula: = SUMIF (C2: C63, "M", D2: D63), to obtain language scores "M" green and confirmation.

Special note: If the above equation is modified to: = SUMIF (C2: C63, "female", D2: D63), you can find the language scores "female" and students; where "male" and "female" because it is text type, we need to put double quotes in the English state ( "male", "female") in.

31, TEXT function

Function Name: TEXT

Main features: according to the specified format corresponding digital value converted to text.

Using the format: TEXT (value, format_text)

Parameters: value representative of a value to be converted or reference cell; the format_text form of text for the specified number format.

Example: If the value stored in cell B68 1280.45, we enter the formula in cell C68: = TEXT (B68, "$ 0.00"), confirmation is displayed as "$ 1280.45."

Special note: format_text parameters can be determined according to the "cell format" dialog box "digital" tag type.

32, TODAY function

Function name: TODAY

The main functions: given the system date.

Using the format: TODAY ()

Parameter Description: This function takes no arguments.

Example: enter the formula: = TODAY (), immediately after confirmation shows system date and time. If the system date and time changed, just click the F9 function key, you can let it change.

Special note: displayed date format, can be reset (see annex) cell format.

33, VALUE function

Function name: VALUE

Main function: a numerical value representative of a text string into a numeric type.

Using the format: VALUE (text)

Parameter Description: text-based representative of text string values ​​need to be converted.

Example: If the B74 cell type by a text string functions like LEFT taken, we enter the formula in cell C74: = VALUE (B74), after confirmation, which can be converted to numeric.

Special note: If the above text-based value without conversion, in processing these values ​​by a function, often returns an error.

34, VLOOKUP function

Function name: VLOOKUP

The main functions: find the specified value in the first column of the data table, and thus return the data table value column of the current row specified.

使用格式:VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)

Parameters: values ​​required to find the representative Lookup_value; Table_array representatives need to find data in which a range of cells; Col_index_num matching value is the column number in table_array area to be returned (when Col_index_num is 2, returns the second column table_array value is 3, the return value of the third column ......); the Range_lookup is a logical value, if TRUE or omitted, an approximate match is returned, that is, if no exact match is found, the return is less than lookup_value the maximum value; When FALSE, exact match is returned, if not found, the error value # N / a is returned.

Application examples: Referring to Figure 7, we enter the formula in cell D65: = VLOOKUP (B65, B2: D63,3, FALSE), after confirmation, just enter a student's name at the B65 cell (e.g., 48 D), D65 cells immediately after the show the student's language proficiency.

Special note: Lookup_value must see in the first column Table_array region; if ignored Range_lookup parameter, Table_array first column must be sorted; the wizard this function, the uses of Range_lookup parameter is wrong.

35, WEEKDAY function

Function name: WEEKDAY

The main functions: given the number of weeks corresponding to a specified date.

Using the format: WEEKDAY (serial_number, return_type)

Parameters: serial_number behalf of the specified date or the date of the reference cell comprising; return_type representation day of the week [when Sunday (Sunday) is 1, Saturday (Saturday) is 7, the parameter is 1; when the catalog on Monday (Mon) when is 1, Sunday (Sunday) to 7, the parameter is 2 (this case in line with the Chinese people's habits); when Monday (Monday) is 0, Sunday (Sunday) to 6, this parameter is 3].

Example: enter the formula: = WEEKDAY (TODAY (), 2), after a few weeks to confirm system date is given.

Special note: If the specified date, the English double quotes state, as = WEEKDAY ( "2003-12-18", 2).

(Source: CSDN, Author: grace-w, tort contact deleted!)

Reproduced in: https: //www.jianshu.com/p/aa08b69227f8

Guess you like

Origin blog.csdn.net/weixin_34376562/article/details/91271101