Excel小计函数没有创建表中的数字之和

发布于 2025-02-10 19:30:44 字数 1180 浏览 1 评论 0原文

我有一个超级简单的桌子,上面有一个名为“小时书”的列。

我正在尝试获取本专栏中的小时数,但是这些功能似乎都没有实现。

我尝试使用总和和小计函数。总和给我0时,例如:

= sum([预定的时间])

如果我尝试使用103代码进行小计(count count列表中有多少个项目),我得到了预期的4。

<<<<。代码> = subtotal(103,[预订时间])

”次序公式中计数代码的结果“

但是,当我尝试使用代码109(创建数字之和)时,我仍然得到0 。

​://i.sstatic.net/cbrec.png“ alt =” subtotal公式中的和代码的结果“>

我也尝试从另一张纸上引用表列来验证'hirs forded'实际上有效别处。

我用过:

= ginagementList [预订时间]

get:

“来自其他表格的小时列表”

因此,该表工作正常。

我尝试对列进行排序,似乎按字母顺序排序,而不是数字顺序。但是,我还验证了所有列的数字格式。

有人有任何想法为什么不起作用?这似乎应该很简单,但一直使我感到悲伤一段时间了。这对我的工作流程至关重要。

I have a super simple table with a column called "Hours Book".

I'm trying to get the sum of the hours in this column, however none of the functions seem to be accomplishing that.

I've tried using both the sum and subtotal functions. Sum gives me 0 when used like:

=SUM([Hours Booked])

If I try subtotal with the 103 code (for count how many items are in the list), I get the expected 4.

=SUBTOTAL(103,[Hours Booked])

Result of count code in subtotal formula

However, when I try to use code 109 (to create a sum of the numbers), I still get 0.

=SUBTOTAL(109,[Hours Booked])

Result of sum code in subtotal formula

I've also tried referencing the table column from another sheet to verify that 'Hours Booked' actually works elsewhere.

I used:

=EngagementList[Hours Booked]

and got:

List of hours from other table

So, the table is working correctly.

I tried sorting the column and it seems to sort in alphabetical order, not number order. However, I've also verified that all columns are in a number format.

Screenshot showing number format for cells

Does anyone have any ideas why this isn't working? This seems like it should be dead simple, but it's been causing me grief for a while. It's vital to my workflow.

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

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

发布评论

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

评论(1

烟柳画桥 2025-02-17 19:30:44

如上所述,将其发布为答案,因此在此处更新,

看来这些数字的格式化并不像是文本,也有每个数字的开头一个空间。请检查,它将起作用!


As OP mentioned above to post it as an answer hence updated here,

It doesn't looks like those are formatted as numbers, those are text, also there is a space in beginning of each of those numbers. please check and it will work !


~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文