为什么数据验证不适用于整个时间列表?

发布于 2025-01-19 14:01:23 字数 891 浏览 3 评论 0 原文

我有15分钟的时间间隔的96次列表,我试图用于数据验证。事实证明,它仅能达到一定程度。从00:00到18:30选择时间时,它可以正常工作。从18:45到23:45选择时间时,会引发错误。

您在单元B1中输入的数据违反了数据验证 在此单元格上设置的规则。

我制作了一个测试文件,以查看如果使用其他类型的数据,但是使用数字列表或文本的列表,它似乎没有问题时,它是否会发生。

有人知道为什么它与时间列表不起作用的原因吗?更重要的是,有人知道我可以使它起作用的方法吗?

编辑: Player0提供的步骤努力将其修复在上面链接的我的测试文件中,但没有改变我正在处理的真实文件。这是表现出相同问题的真实文件的副本。

请尝试在几个单元格中设置超过18:30的时间。我不断遇到相同的错误。

我想解决方法可能是不要拒绝无效数据的输入,但是我觉得这应该可以拒绝它并想知道我在哪里出错。

I have a list of 96 times in 15 minute intervals that I'm trying to use for data validation. It turns out that it works only up to a certain point. When selecting times from 00:00 to 18:30 it works fine. When selecting times from 18:45 to 23:45 it throws an error.

The data that you entered in cell B1 violates the data validation
rules set on this cell.

I made a test file to see if the same thing would happen if I used a different type of data, but when using a lists of numbers or text with the same amount of items it seems to work without issues.

https://docs.google.com/spreadsheets/d/1ClBhZk6fysOq0wqIrE5IxJgPMs_A05gJsN_kEiXoFGI/edit?usp=sharing

Does anyone know the reason why it doesn't work with the list of times? More importantly, does anyone know a way I could get it to work?

Edit:
The steps provided by player0 worked to fix it in my test file linked above, but didn't make a difference in the real file I'm working on. Here's a copy of the real file which exhibits the same problem.

https://docs.google.com/spreadsheets/d/1cOMB0BpzSBR7ZM7fJQQfhA56fniKTBJb-3TePUky6gM/edit?usp=sharing

Please try setting a time of greater than 18:30 in a couple of cells. I keep getting the same errors.

I suppose a workaround could be to not reject input on invalid data, but I feel this should just work with rejecting it and would like to know where I went wrong.

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

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

发布评论

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

评论(1

送舟行 2025-01-26 14:01:23

格式化。选择列A& B和强制时间(或纯文本):

”在此处输入图像描述”

formatting. select columns A & B and force Time (or Plain text):

enter image description here

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