gpt4 book ai didi

sharepoint - 如何在 SharePoint 中构建 CountIF 函数?

转载 作者:行者123 更新时间:2023-12-03 23:54:06 25 4
gpt4 key购买 nike

Excel 中的 CountIF 函数,如何在 Excel 中使用相同的函数共享点计算字段。我想从第 1 列到第 12 列计算“GO”的数量即第 1 列“开始”,第 2 列“开始”,第 3 列“不开始”,第 4 列“开始”:GOs=3

最佳答案

SharePoint中没有CountIF

因此,您将不得不使用设置为数字的计算列和像这样的公式

=IF([Column1]="GO",1,0) + IF([Column2]="GO",1,0) + ...

对于 12 列,您将遇到 limit of how many nested If's you can have - this post will give you some options.

另一种方法是使用 Workflow 或事件接收器,甚至是 NewForm.aspx 和 EditForm.aspx 上的时髦 javascript hack 来计算代码中的“Number of Gos”列

关于sharepoint - 如何在 SharePoint 中构建 CountIF 函数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2931380/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com