Home  >  Article  >  Topics  >  How to use sumproduct to search with multiple conditions in Excel

How to use sumproduct to search with multiple conditions in Excel

coldplay.xixi
coldplay.xixiOriginal
2020-12-26 16:09:2422988browse

Excel uses sumproduct multi-condition search method: first enter the formula [=sumproduct]; then set the first condition to search area one equal to search value one; then set the return number column as the last parameter of the function; Finally, press the Enter key to get the numeric result of the query.

How to use sumproduct to search with multiple conditions in Excel

The operating environment of this article: Windows 7 system, Microsoft Office Excel 2010 version, Dell G3 computer.

How to use sumproduct multi-condition search in Excel:

1. As shown in the figure below, columns A:C are the source data area, and query columns A and B information and returns the value of column C.

How to use sumproduct to search with multiple conditions in Excel

2. Although the Sumproduct function is to find the sum of products of an array, if the result returned by querying multiple conditions is a number, it can also be used to query and return a number, so First enter the formula =sumproduct function in the cell that returns the value, as shown in the figure below.

How to use sumproduct to search with multiple conditions in Excel

#3. Set the first parameter to the first column equal to the corresponding query value, which is condition one, as shown in the figure below.

How to use sumproduct to search with multiple conditions in Excel

#4. Then multiply the second column to equal the second corresponding query value, which is condition two, as shown in the figure below. If there are other conditions, just multiply them one by one.

How to use sumproduct to search with multiple conditions in Excel

#5. Finally, set the column where the return value is located as the last parameter of the function, as shown in the figure below.

How to use sumproduct to search with multiple conditions in Excel

#6. Press the Enter key to get the results of the multi-condition query, as shown in the figure below.

How to use sumproduct to search with multiple conditions in Excel

Related learning recommendations: excel tutorial

The above is the detailed content of How to use sumproduct to search with multiple conditions in Excel. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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