简体   繁体   中英

Need a SUMIF formula to use criteria from 2 columns in Excel

I'm using Excel 2010 and I need a formula which can take criteria from 2 different columns, SUM the result of all matching rows:

The columns are Area Manager and Project Type and if both criteri amatch I'd like to SUM the results from a third column on all matching rows.

eg =SUMIF(F:F,"Adam Jones",H:H ) and =SUMIF(G:G,"Special Projects",H:H ) but all in one cell?

Thanks for any help

我认为您可以使用SUMIFS功能

SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)

=SUMIFS(H:H,F:F,"=Adam Jones",G:G,"=Special Projects")

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