How to use multi-condition Vlookup function in Excel

WBOY
Release: 2024-04-17 18:01:36
forward
903 people have browsed it

In daily data processing, Excel's Vlookup function is often used to find data, but when multiple conditions are involved, its use becomes more complicated. PHP editor Apple will introduce you to the multi-condition usage of the Vlookup function to help you easily achieve multi-dimensional data search. Through this article, you will learn how to set up multiple conditions and how to use the Vlookup function to retrieve the required data if all conditions are met.

Take the following table as an example. We need to find the name and subject scores at the same time.

How to use multi-condition Vlookup function in Excel

Insert an auxiliary column after the account, and then enter =A2&B2 in it. The purpose is to merge the contents of the two cells together.

Enter =VLOOKUP in the column to search for grades. Similarly, the first search object needs to be connected with the & symbol. The search range selects the auxiliary column and grade column just inserted. The output of the target column is 2 because of the grade. Listed in the second column of the search range, the final output is 0 to indicate an exact search. The final formula is: =VLOOKUP(F2&G2,C1:D7,2,0)

How to use multi-condition Vlookup function in Excel

Finally press enter and double-click to fill in, and the results will be found.

How to use multi-condition Vlookup function in Excel

The above is the detailed content of How to use multi-condition Vlookup function in Excel. For more information, please follow other related articles on the PHP Chinese website!

source:zol.com.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template