简体   繁体   中英

Sumif formula with 2 “not” criteria in the same column

I need to exclude two specific strings from a sumifs formula, but when I use the brackets, it only excludes the first value. Any idea why this is?

=SUMIFS([Sum Range], [Column 1], "[Criteria 1]", [Column 2], {"<>[Criteria 2.1]","<>[Criteria 2.2]"})

Is there any way I can solve this without having to rewrite the SUMIFS to subtract out Criteria 2.2?

Thank you!

您可以这样做:

=SUMIFS([Sum Range], [Column 1], "[Criteria 1]", [Column 2], "<>[Criteria 2.1]",[Column 2],"<>[Criteria 2.2]")

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