Excel Note 3: Sumifs multiple conditions example

In addition to a single condition, sumif can also specify multiple conditions, the format is:

sumifs (total range, condition range 1, condition 1, [condition range 2, condition 2]...)

=SUMIFS(D3:D10,B3:B10,G2&"*",C3:C10,G3)

This means, in B3:B10, find all the records starting with "Tokyo", and the product name is the record of the bathroom cabinet, the total amount of the record that meets these two conditions

Another date example, such as:

For example, it is required to sum the data between the start date and the end date,

=SUMIFS(D3:D10,A3:A10,">="&G2,A3:A10,"<="&G3)

Guess you like

Origin blog.csdn.net/jackyrongvip/article/details/129231737