确定有史以来几个不断变化的细胞的最低价值

发布于 2025-02-09 17:42:35 字数 72 浏览 0 评论 0原文

我有一排具有不断变化的值的三个单元格。单元4我希望显示3个单元中任何一个都达到的最低值。根据定义,单元4的值只能下降,而不能下降。

I have a row of three cells with constantly changing values. Cell 4 I wish to display the lowest value ever achieved by any one of the 3 cells. By definition the value of cell 4 can only go down, not up.

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

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

发布评论

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

评论(1

负佳期 2025-02-16 17:42:35

我不确定仅使用在函数中内置的计算而实现此目的,但是附加事件宏将可以解决问题。

假设您的3个单元格为:B1,B2,B3,

然后在B4 = Min(B1:B3)

使用类似于

modify_modified中的触发代码应检查B4是否小于B5。如果是,请在B5中写下新的最小值。

I am not sure there is a simple way to achieve this using only Calc built in functions, but attach an event macro would do the trick.

Say your 3 cells are: B1, B2, B3

Then in B4 =min(B1:B3)

Then put an event trigger on B4 using a code similar to this post.

The trigger code in Modify_modified should check if B4 is smaller than B5. If it is, then write the new min value in B5.

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