圆到最近
我对Excel不太满意,而是尝试做一些非常简单的事情。 我有一个包含日期 +时间戳的单元格,例如:2022-05-21 23:59:55.961 但是,我想围绕它并拥有:2022-05-21 23:59:56。 (相反,我想回合2022-05-21 23:49:55.161降低到2022-05-21 23:49:55)。这个想法是摆脱毫秒并相应地围绕价值。 您知道有任何可以帮助我做到这一点的功能吗?这有点棘手,因为我在同一单元格中有时间戳,并且我给我的“ #Value?”的圆形功能,因为它不了解时间,但我需要保留它。
预先感谢您的帮助, 问候
I am not that comfortable with Excel, yet trying to do something that is quite simple.
I have a cell which contains date + timestamp, such as : 2022-05-21 23:59:55.961
However, I'd like to round it and have : 2022-05-21 23:59:56.
(On the contrary, I'd like to round 2022-05-21 23:49:55.161 down to 2022-05-21 23:49:55, for instance). The idea is to get rid of the milliseconds and round the values accordingly.
Do you know of any function that could help me do that ? It is a bit tricker because I have the timestamp in the same cell and the round function I have gives me "#VALUE?", because it does not understand the time, yet I need to keep it.
Thank you in advance for your help,
Regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论