简体   繁体   中英

Excel count based on multiple columns

How to lookup matching values on multiple columns on excel and return its count?

I've already tried pivot table but it does not satisfy my requirement. The data returned by pivot table is in a different format and also I need to insert the count values as a column in another sheet.

Hope this image gives clarity on what i am looking for. Here I have two tables. I have to lookup the count of univ and course(columns E and F) from columns B and C and return the count value in Column G

Use this

=COUNTIFS($B$2:$B$8,"="&E2,$C$2:$C$8,"="&F2)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM