简体   繁体   English

区分大小写的摘要

[英]Case Sensitive Sumifs

I'm trying to do a sumifs formula where it is case-sensitive. 我正在尝试做一个区分大小写的sumifs公式。 For example I need to sumifs with three criteria, the first two are not case sensitive but the third is and i'm not sure how to add it in. The data is in a random order on a different page with the case sensitive parts all jumbled together. 例如,我需要用三个条件求和,前两个不区分大小写,但第三个不区分大小写。我不确定如何添加它。数据在不同页面上以随机顺序排列,所有页面都区分大小写混杂在一起。 I basically need to differentiate between Product and PRODUCT. 我基本上需要区分Product和PRODUCT。 Is there any way to do this? 有什么办法吗?

Use SUMPRODUCT combined with ISNUMBER and FIND which is case sensitive. SUMPRODUCT与区分大小写的ISNUMBERFIND结合使用。

=SUMPRODUCT(--(ISNUMBER(FIND("PRODUCT",$A$1:$A$100))),$B$1:$B$100)

You can incorporate the other two criterion into the SUMPRODUCT as well. 您也可以将其他两个条件合并到SUMPRODUCT中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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