Data analysis-excel- association matching function

1.lookup

 

2.vlookup

VLOOKUP (lookup_value, table_array, col_index_num, [range_lookup])

  • ​ lookup_value is equivalent to a key in python, used to associate a value
  • ​ table_array table name! Column name 1: Column name 2 The two column names have been created and related (such as: employee ID and name)
  • ​ col_index_num Among the above-mentioned associated columns, the index of the column is required
  • ​ range_lookup False exact match True fuzzy match

There is such data in Sheet1, there is already a column of ID data in Sheet1, and the corresponding name needs to be matched

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

3.index

INDEX function
=INDEX(array, row_num, [column_num])
=Index (the searched area, the row in the area, the column in the area)

Returns the value of the element in the table or array, selected by the row number and column number index. When the first parameter of the function INDEX is an array constant, use the array form

4.match

Match function
=MATCH(lookup_value, lookup_array, [match_type])
=Match (find the specified value, find the area, find the parameters of the way)

Use the MATCH function to search for a specific item in a range of cells, and then return the relative position of the item in the range. For example, if the A1:A3 range contains the values ​​5, 25, and 38, the formula =MATCH(25,A1:A3,0) returns the number 2, because 25 is the second item in the range.

 

5.row

ROW()

​ Get the row number of the cell, usually assist other functions

For example: extract the data whose number of rows is "1" (10%)

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

6.column

COLUMN([reference])

​ Get the column number of the cell

7.offset

Few application scenarios

OFFSET function
=OFFSET(reference, rows, cols, [height], [width])
= Offset (specify point, how many rows to offset, how many columns to offset, how many rows to return, how many columns to return)

Returns a reference to the range of the specified number of rows and columns in a cell or range of cells. The reference returned can be a single cell or a range of cells. You can specify the number of rows and columns to return.

I found a picture in the short book as follows, the explanation is very intuitive.

8.hyperlink

Hyperlink

Guess you like

Origin blog.csdn.net/SSbandianH/article/details/112216580