Excel correlation matching function

1.=VLOOKUP (lookup_value, table_array, col_index_num, [range_lookup])

  • lookup_value key corresponding to the python, to associated values
  • ! Table_array table 1 column name: Column Name 2 two names are already created and associated (such as: employee ID and name)
  • col_index_num above the associated column, the column index required
  • range_lookup False True exact match fuzzy match

Such data in Sheet1, has an ID of the data in Sheet1, it is necessary to match the corresponding name

=VLOOKUP(A2,Sheet1!A:B,2,FALSE)

2.=INDEX(reference, row_num, [column_num], [area_num])

​ 或INDEX(array, row_num, [column_num])

3.=MATCH(lookup_value, lookup_array, [match_type])

Find 'lookup_value', the position in the array 'lookup_array' is,

Match_type behavior
1 or omitted MATCH find less than or equal to lookup_value maximum. lookup_array value of the parameter must be in ascending order, such as: ...- 2, -1, 0, 1, 2, ..., AZ, FALSE, TRUE.
0 MATCH find exactly equal to lookup_value first value. lookup_array values of parameters may be arranged in any order.
-1 MATCH find greater than or equal to a minimum value to lookup_value. lookup_array parameter values must be in descending order, for example: TRUE, FALSE, ZA, ... 2, 1, 0, -1, -2, ... and so on.

Find "3" in the array A1: A9 position in

index和match结合使用
=INDEX(A2:B9,MATCH(3,A2:A9,0),2)

4.=ROW()

Get the number of cells in the row unit, other auxiliary functions typically use

For example: the number of rows extracted bit is "1" data (10%)

使用=row()获取行数
对得到的行数使用=right()获取一位
筛选文本为“1”

5.=COLUMN([reference])

Get a cell where the number of columns

6.=OFFSET(reference, rows, cols, [height], [width])

  • Reference required. To offset reference as a reference. Reference must refer to a cell or range of cells adjacent. Otherwise, OFFSET returns the #VALUE!.
  • Rows Required. You need the top left cell reference number of rows up or down. With 5 rows as parameters, reference may specify the top left cell in row 5 is referenced below. Rows can be positive (which means below the starting reference) or negative (which means above the starting reference).
  • Cols necessary. The number of the top left cell reference from left to right columns need results. 5 cols used as the parameter, specifies the top left cell may be cited as a reference in the rightward 5. Cols can be positive (which means to the right of the starting reference) or negative (which means that the left side of the starting reference).
  • Height optional. High line references need to be returned. Height must be positive.
  • Width optional. Column width cited the need to return. Width must be positive.

Namely: reference cell where the cell down rows (the negative shift), shifted to the right cols cells (negative left),

It can be a network link can also be a local link and give it a name

It can be a network link can also be a local link and give it a name

Guess you like

Origin www.cnblogs.com/notfind/p/11614743.html