Summary of Commonly Used Function Formulas in Computer Level 2 Excel

sum function

Function: Sum the parameters of the specified data range
Formula: =sum(data range)

averaging function

Function: Calculate the average value of the parameters in the specified data range
Formula: =average(data range)

Max/Min functions

Function: Find the maximum/minimum value of the parameter in the specified area
Formula: =max(data area)/=min(data area)

number function

Function: Calculate the number of cell values ​​in the specified range
Formula: =count(data range)

ranking function

Function: Find the ranking of a certain data in the specified area
Formula: =rank(ranking object, ranking data area, ascending/descending order)

logical judgment function

Function: judge yes or no according to the logic, and return different results
Formula: =if (logic judgment statement, the result returned when the logic judgment is true , and the result returned if the logic judgment is false )
Note: 1. Parentheses cannot be omitted when multi-layer nesting
2. When the condition or return result is text, you need to add " "

(Multiple) conditional number function

Function: Calculate the number of cells in the specified range that meet single/multiple conditions Formula
: =countif(specified range, desired condition)/=countifs(range1, condition1, range2, condition2,…)

(multiple) conditional sum function

Function: Sum the data that meets the condition
Formula: =sumif(condition range, condition, sum range)/=sumifs(sum range, condition range 1, condition 1, condition range 2, condition 2,…) Note
: Since the parameter positions of sumif() and sumifs() are different, it is recommended to use sumifs() in use

sum of products function

Function: Calculate the sum of the product of the specified area or array
Formula: =sumproduct(area 1*area 2)

query function

Function: query the value corresponding to the specified content in different columns or tables
Formula: =vlookup(query object, query data area, number of columns where the result is located, exact match or approximate match)
Note: 1. Usually use exact match, Approximate matching is used in interval query
2. The query target must be located in the first column (leftmost) of the query data area
3. The query data area generally must be absolutely referenced

index function

Function: Find the value of the cell in the specified row and column in the specified range Formula
: =index(queried data range, specified row number, specified column number)

match function

Function: Find the position of the specified value in the specified area
Formula: =match(query object, query data area, exact match or approximate match)
Note: index() and match() functions are generally used in combination

left/right function

Function: Extract the specified number of characters from the left/right side of the text Formula
: =left(string to be extracted, number of characters to be extracted)/=right(string to be extracted, number of characters to be extracted)

mid function

Function: extract a specified number of characters from the middle of the text Formula
: =mid(the character string to be extracted, start from the number, the number of characters to be extracted)
Note: the extraction result of the mid function is text, if you need to participate in the calculation, do it first format conversion

today function

Function: Find the current date
Formula: =today()

Find year/month/day function

Formula: =year(date)/=month(date)/=day(date)

find date interval function

Function: Calculate the interval between two dates
Formula: =datedif(start date, end date, return type)
Note: 1. The return type is year "y"/month "m"/day "d"
2. Calculation basis 365 days a year

find week function

Function: convert the week of a certain date into a number
Formula: =weekday(date, return type)
Note: the return type is usually written as 2, that is, return the number on the day of the week

rounding function

Function: Round down the specified number
Formula: =int(value)

remainder function

Formula: =mod(dividend, divisor)

round function

Formula: =round(number, number of decimal places)

round up/down functions

Formula: =roundup(number, keep decimal places)/=rounddown(number, keep decimal places)

square root function

Formula: =sqrt(number)

large function

Function: Find the kth largest value in the specified area
Formula: =large(specified area, return the kth largest value)

Find row number/column number function

Formula: =row(cell)/=column(cell)

indirect function

Function: indirect reference (use the content in the cell as an address, and return the content in the address cell)
Formula: =indirect(cell)

At the end of this, I hope that those who need it and can see this article can successfully pass the second level of computer

Guess you like

Origin blog.csdn.net/LPYchengxuyuan/article/details/121672089