In our WPS, the more algorithms can help users calculate data, many of them want to know the difference between SUMIF and SUMIFS. In response to this question raised by everyone, today’s software tutorial will be with you in detail Let me introduce the usage of SUMIF and SUMIFS. I hope it can be helpful to the majority of users. Function explains the sumif function, which is often used for single-condition summation, and the sumifs function, which is often used for multi-condition summation. The usages are:
The functions are solved as follows: Examples of formula usageQuestion: How to efficiently process large data sets Data aggregation operation? As data volumes continue to grow, it becomes critical to perform data aggregation operations on large data sets. PHP provides array_reduce() and array_sum() functions to help solve this problem. This guide will detail the usage of these two functions: array_reduce() function: Aggregates array elements into a single value in order. array_sum() function: Calculates the sum of all elements in an array. Read below to learn more about how to use these functions to efficiently aggregate data from large datasets.
SUMIF
Find the number of TV sets.
=SUMIF(B:B,电视机,C:C)
SUMIFS
Find the number of television sets.
=SUMIFS(C:C,B:B,电视机)
2. Find the number of TV sets in Hangzhou. At this time, it is not feasible to use the SUMIF function, because there are two conditions to be met, one for Hangzhou and one for the TV. But it can be solved using the SUMIFS function. The input formula is: =SUMIFS (C:C, A:A, Hangzhou, B:B, TV). So if it can be solved using the SUMIF function, it can also be solved using the SUMIFS function. The opposite is not possible, so for conditional summation, mastering the SUMIFS function can solve all problems. When using the formula auxiliary box, you don’t need to enter anything in condition 2, just click OK.
The above is the detailed content of What is the difference between SUMIF and SUMIFS in WPS? Introduction to the usage of WPS SUMIF and SUMIFS. For more information, please follow other related articles on the PHP Chinese website!