总结所有独特价值的重复的数量

发布于 2025-02-01 01:28:05 字数 1624 浏览 3 评论 0原文

大家好,

我正在尝试 sum all able /strong> 不同的位置。

我计算了每个不同值的重复数量。现在,我需要该数字来反映数量的总和。例如,如果有一个不同位置的4个重复项,我需要最后一列才能在第五行中显示数字13。

Quantity |   Latitude     | Longitude   | Distinct locat° |  N° of that locat° | Quantity at 1 location            
1        |   34°03'59.7"S |23°22'35.2"E | Distinct        |          1         |    ?                      
9        |   34°04'32.9"S |23°22'20.0"E |                 |                    |    NA
1        |   34°04'32.9"S |23°22'20.0"E |                 |                    |    NA
2        |   34°04'32.9"S |23°22'20.0"E |                 |                    |    NA
1        |   34°04'32.9"S |23°22'20.0"E | Distinct        |          4         |    ? (will be 13)          
1        |   34°10'60.0"S |22°09'27.5"E |                 |                    |    NA
5        |   34°10'60.0"S |22°09'27.5"E |                 |                    |    NA
1        |   34°10'60.0"S |22°09'27.5"E |                 |                    |    NA
2        |   34°10'60.0"S |22°09'27.5"E |                 |                    |    NA
1        |   34°10'60.0"S |22°09'27.5"E | Distinct        |          5         |    ?          
1        |   33°42'47.1"S |26°37'05.6"E | Distinct        |          1         |    ?      

上面的示例只有几行,但我有超过2900行和390个不同的值。他们中的一些人有20个重复的数量,所以我需要一个公式。

有人知道该怎么做吗?

提前致谢。

enter image description here

Hi everyone,

I'm trying to sum the quantity of individuals for all the duplicates of a distinct location.

I've counted the number of duplicates each of those distinct values has. Now I need that number to reflect the sum of the quantity. For example, where there are 4 duplicates of a distinct location, I need the last column to show the number 13 on the 5th row.

Quantity |   Latitude     | Longitude   | Distinct locat° |  N° of that locat° | Quantity at 1 location            
1        |   34°03'59.7"S |23°22'35.2"E | Distinct        |          1         |    ?                      
9        |   34°04'32.9"S |23°22'20.0"E |                 |                    |    NA
1        |   34°04'32.9"S |23°22'20.0"E |                 |                    |    NA
2        |   34°04'32.9"S |23°22'20.0"E |                 |                    |    NA
1        |   34°04'32.9"S |23°22'20.0"E | Distinct        |          4         |    ? (will be 13)          
1        |   34°10'60.0"S |22°09'27.5"E |                 |                    |    NA
5        |   34°10'60.0"S |22°09'27.5"E |                 |                    |    NA
1        |   34°10'60.0"S |22°09'27.5"E |                 |                    |    NA
2        |   34°10'60.0"S |22°09'27.5"E |                 |                    |    NA
1        |   34°10'60.0"S |22°09'27.5"E | Distinct        |          5         |    ?          
1        |   33°42'47.1"S |26°37'05.6"E | Distinct        |          1         |    ?      

The above example is only a few rows but I have over 2900 rows and 390 distinct values. Some of them have 20 duplicates with various quantities, so I need a formula.

Does anyone know how to do that?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

独行侠 2025-02-08 01:28:05

=IF(D2="Distinct";SUMIFS($A$2:$A$12;$B$2:$B$12;B2;$C$2:$C$12;C2);"NA")

enter image description here

=IF(D2="Distinct";SUMIFS($A$2:$A$12;$B$2:$B$12;B2;$C$2:$C$12;C2);"NA")
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文