The search function satisfies many conditions in Excel - Usage and examples
In the process of processing data in Excel many times, you need to search data that satisfies many conditions to extract data, so you are looking for a function that satisfies many conditions in Excel to use. The following article will share with you the detection functions that satisfy many conditions in Excel, please follow along.
Here are two ways to search for multiple conditions: VLOOKUP and sub columns and use INDEX in combination with MATCH.
How to use and example VLOOKUP function multiple conditions
You can see more syntax and usage of the Vlookup function here http://TipsMake.vn/ham-vlookup-in-excel/
Suppose you have the following data table, you want to look up the value in the Summary score column , based on the condition that the First and Last names column .
Specifically, you want to look up the Final score of the person named Tran Tuan Anh.
Problem solving:
You can use the Vlookup function to look up the condition that two columns by using the extra column. The secondary column will contain the contents of the First and Last Name column . So now the 2-condition Vlookup function will become the 1-condition Vlookup function. You can follow the specific steps as follows:
Step 1: Create an extra column, then you enter the formula using the & operator:
= C6 & "" & D6
or use the CONCATENATE function to concatenate strings in the First and Last Name column :
= CONCATENATE (C6; ""; D6)
Note: Secondary columns need to be created to the left of the Final Score column.
Step 2 : Copy the formula down the lines below to complete the extra column.
Step 3 : Continue to enter the formula Vlookup = VLOOKUP (C15 & "" & D15; E6: F12; 2; 0) with C15 & "" & D15 is a search condition matching 2 cells Tran Tuan Anh, E6: F12 is the detection table , 2 is the return value in columns 2, 0 is the relative lookup type.
Use the Index and Match functions to search multiple conditions
The syntax of the Index function is an array
= INDEX (array, row_num, [column_num])
You can see more how to use the Index function here http://TipsMake.vn/ham-index-trong-excel/
Syntax of Match function
= = MATCH (lookup_value, lookup_array, match_type)
You can see more how to use the Match function here http://TipsMake.vn/ham-match-ham-tim-kiem-mot-gia-tri-xac-dinh-trong-mot-mang-pham-en -o-in-excel /
Also with the above example, you can use the INDEX function in combination with the MATCH function to detect multiple conditions.
- Enter the function = INDEX (C6: E12; MATCH (C15 & D15; C6: C12 & D6: D12; 0); 3)
- Press Ctrl + Shift + Enter to convert to an array formula, curly braces {} will appear on the formula.
The MATCH function returns the position of a conditional row in a data table with:
- C15 & D15 are two search values.
- C6: C12 & D6: D12 are two columns containing the search value (array search).
- 0 is the exact search type.
The INDEX function returns the value in the third column, the main row is the value returned by the MATCH function.
- C6: E12 is the range of cells you need to search and return results.
- The MATCH function is the index of the row from which to return a value.
- 3 is the column index from which to return a value.
Above the article shows you two ways to detect two conditions in Excel, with requirements that require more conditions than you can apply similarly to perform. Hope this article will help you. Good luck!
You should read it
- IRR function in Excel - Usage and examples
- Multiple if function - Usage and examples
- VLOOKUP function to use and specific examples
- Match function in Excel - Usage and illustrative examples
- Excel date function - Usage and examples
- Function Address - The function returns the address of a cell in Excel (usage, examples, examples)
- OR function in Excel, how to use the OR function, and examples
- PMT function in Excel - Usage and examples
May be interested
- How to use Hlookup function on Excelhlookup function basically also has the function syntax and features like vlookup function, which is to help users find data in excel table, with the conditions or given information. here is the guide for using the hlookup function in detail.
- FIND function in Excel - Usage and examplesfind function in excel - usage and examples. the find function in excel is a function of the text function group, you can use the find function to find the position of a substring of text in another text. to understand more about the find function, how to use it and the examples used in the find function
- ROUNDUP function in Excel - Usage and examplestoday, the software tips will guide you how to use the roundup function to round numbers (rounding up) in excel. roundup function structure function syntax: = roundup (number, num_digits). in which: + roundup: is the function name. + number: is the number to be rounded up. + num_digits: is the number of digits after the comma you want to round. for example:
- DSUM function in Excel, how to use DSUM function and examplesdsum function in excel, how to use dsum function and examples. the dsum function in excel is a fairly common function with a fairly simple usage. but if you do not know how to use the dsum function, you can refer to the following article to understand h
- How to use the MAXA function in Excel, detailed examplesthe maxa function in excel helps find the largest value in a data set, including numbers, logical values, and text containing numbers. this is different from the max function, which only counts numbers. let's learn the syntax and usage of the maxa function with practical examples.
- RANK function - Rank function in Excel - Usage and examplesthe rank function arranges equal numbers of the same rank. however, the duplication will affect the ranking of subsequent numbers. for example, you have the sequence number: 1,2,2,3,4 and are arranged in ascending order, so the order of the number 1 in the series is 5.
- HLOOKUP function in Excel, syntax and detailed usagethe hlookup function in excel helps to search for data horizontally and return results vertically. this article will guide you on how to use this function with simple syntax and examples.
- DCount function in Excel - How to use the DCount function and examples using the DCount functiondcount function in excel - how to use the dcount function and examples using the dcount function you have a large list of students who want to get a high total score, but don't want to spend a lot of time. in this article, introduce to you the dcount function in excel. help c
- INDIRECT function in Excel - How to use INDIRECT function and examples using INDIRECT functionindirect function in excel - how to use indirect function and examples using indirect function. you want to refer to a range of data without changing the formula in the cell. the following article introduces you to the indirect function in excel to help you reference
- The COUNTIFS function, how to use the cell count function according to multiple events in Excelthe countifs function in excel to count cells satisfies many given conditions.