仅汇总列中的唯一值 [英] Only sum up unique values in column
本文介绍了仅汇总列中的唯一值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
| A B
---|-----------------------------------------
1 | Total 1.600
---|-----------------------------------------
2 | Product_A_x1 700
3 | Product_A_x5 700
---|-----------------------------------------
4 | Product_B_x3 300
---|-----------------------------------------
5 | Product_C_x4 200
6 | Product_C_x8 200
---|------------------------------------------
7 | Product_D_x9 400
8 | Product_D_x11 400
9 | Prodcut_D_x8 400
10 |
在单元格B1
中,我想求和来自Column B
的唯一值.
In Cell B1
I want to sum the unique values from Column B
.
B1 = 700 + 300 + 200 + 400
如果一个值出现两次,则应该只将其一次包含在功能中.
In case a value appears two times it should only be included one time in the sum
function.
是否存在唯一值的SUMIF
公式?
推荐答案
在Microsoft365中,您可以使用:
=SUM(UNIQUE(B2:B9))
In Microsoft365 you can use:
=SUM(UNIQUE(B2:B9))
这篇关于仅汇总列中的唯一值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文