[Excel] compatibility of the SUMIF function, excelsumif Function

Source: Internet
Author: User
Tags sumif function

[Excel] compatibility of the SUMIF function, excelsumif Function

Two Functions with high compatibility

Compatibility, of course, SUMIF.

Here is an example.

There is a table with only two columns, "subject division" and "occurrence", but it is divided into many columns.

We need to count the total amount of "Postage.

 

What can I do? I cannot manually merge two columns?

At this time, the compatibility of SUMIF is shown.

As usual.

 

We use SUMIF to select the "amount" of "Subject division" as "Postage.

 

 

Enter = SUMIF, press the Tab key to select the SUMIF function, click Fx to open the function parameter dialog window, and enter our parameters.

 

Range is different from usual. This time, we select a region that contains "Subject division", such

 

 

Criteria still specifies your filtering condition. here we need to set "Subject division" to "Postage", so fill in "Postage ".

 

The Sum_Range parameter does not need to be selected as before. This time, you only need to tell the SUMIF function that you need the total "amount". Therefore, the Sum_Range parameter is set here.The first cell where "occurrence" is located ($ B $1)You can (do not fill in D1 or "occurrence", this is an error or invalid)

 

 

2. AVERAGEIF ()

 

After reading the usage of the above SUMIF function, we can't help but imagine whether COUNTIF has such compatibility?

 

Then try the same table ?!

 

 

 

 

Sure enough, this can also be achieved!

 

But COUNTIF is not the same. It does not have Sum_Range. It only calculates how many times the text appears.

Of course, there is no doubt that it can also be used in multiple columns.

 

 

 

Summary

 

There are also many functions with strong compatibility, just waiting for you to explore!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.