确定有史以来几个不断变化的细胞的最低价值
我有一排具有不断变化的值的三个单元格。单元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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定仅使用在函数中内置的计算而实现此目的,但是附加事件宏将可以解决问题。
假设您的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.