Index and Match functions in Excel
The following article gives detailed instructions on how to use the Index and Match functions in Excel. Use these functions to help you find the exact value on any column and row.
1. Index () function
There are two types of Index () functions: Index () is an array and Index () is a reference form.
Index () in array form:
- Meaning: Returns the value of a data cell with the row and column index searched.
- Syntax: Index (Array, Row_num, [column_num]) .
Inside:
+ Array: Array of reference data or an array constant.
+ Row_num: Row contains the value to retrieve.
+ Column_num: Column containing the value to get.
Index () as reference:
- Meaning: Returns the value of a data cell with the row and column index searched.
- Syntax: INDEX (Reference, Row_num, [Column_num], [Area_num] .
Inside:
+ Reference: The reference area contains the value to get.
+ Row_num: The row index containing the value to retrieve.
+ Column_num: The column index containing the value to retrieve.
+ Area_num: Number of regions returned. If omitted the default is 1.
- For example:
2. Match ()
- Meaning: Returns the number of characters in the data area of the value to be searched.
- Structure: MATCH (Lookup_Value, Lookup_array, [Match_type]) .
Inside:
+ Lookup_Value: The value to search.
+ Lookup_array: Array contains the value to search.
+ Match_type: Search type. There are 3 types of searches:
* Search for values smaller than the values to search when match_type = 1 (les than).
* Search for the correct value by searching for value when match_type = 0 (Exact match).
* Search for value greater than the value to search when match_type = -1 (Greater than).
- For example:
3. Summary example of using Index () and Match ()
For example, fill in the unit price of a product based on the product code and manufacturer in the lookup table.
Note:
- MATCH (B3, A9: A12,0): returns the ordinal number of the value in cell B3 in the data range from A9 -> A12. In which the value of cell A9 is considered as the first number. => Returns the number of rows in the Index () function.
- MATCH (C3, A9: D9,0): returns the ordinal number of the value in cell C3 in the data cell from A9 -> D9. In which the value of cell A9 is considered as the ordinal number. => Returns the number of columns in the Index () function.
- Note: How to create a data table and select the search area of the Match functions. Good luck!
You should read it
- Instructions for using Index function in Excel
- How to write the above index, below index in Excel
- How to use the Match function in Excel
- Index function in Excel
- Summary of trigonometric functions in Excel
- Guidelines for importing Chemistry formulas in Excel
- Instructions for creating interactive charts in Excel with INDEX function
- Index (INDEX) in SQL
May be interested
- Index (INDEX) in SQLsql index (index) is a special lookup table that database search engines can use to quickly increase the time and performance of data retrieval.
- How to use the MATCH function and combine the MATCH function with the INDEX functionguide you to add a great search function followed by the match function and how to combine the match function with the index function.
- How to fix the SUM function doesn't add up in Excelin the process of summing with sum in excel, you will encounter some errors such as not jumping the number, not adding the sum. so how to handle this problem?
- Complete financial functions in Excel you should knowfv, date, time, hour, workday, ... functions are the basic financial functions with the same way of getting color codes in excel. show you how to use these financial functions. click view now!
- How to use the INDEX function in excel?along with vlookup and hlookup, an extremely interesting search function that you should not ignore is the index function. how to use it? is it difficult or not?
- How to Compare Two Excel Filesthis article focuses on how to directly compare information between two different excel files. once you get to manipulating and comparing the information, you might want to use look up, index, and match to help your analysis. open the...
- How to Compare Two Excel Filesthis article will show you how to directly compare data between two excel files. after manipulating and comparing information, you might consider using look up, index, and match to aid in analysis.
- MS Excel - Lesson 5: Excel formulas and functionsthe formula in excel is a program that performs calculations on data tables. these formulas perform very precise operations such as adding, multiplying, or comparing values in worksheets.
- Use Index in Access 2016an index is a pointer to each value that appears in the indexed table / column, which has the same meaning as the entries in the index of a book.
- Match function in Excel: How to use the Match function with examplesthe match function in excel has many practical applications. below are details on how to use the match excel function.