excel数据有效性限制用户输入
时间:2022-09-10 17:26:16
有时需要在Excel表格中限制用户只能输入数值,而不能输入其他类型的数据,这时可通过设置数据有效性来实现。以Excel 2010为例,方法如下。
方法一:
1.选择需要限制输入的区域,如H3:H100,在功能区中选择“数据”选项卡,在“数据工具”组中单击“数据有效性→数据有效性”。
2.在弹出的对话框中选择“设置→自定义”,在“公式”下方的文本框中输入公式:
=ISNUMBER(H3)
也可输入下列公式:
=TYPE(H3)=1
或:
=COUNT(H3)
3.单击“确定”。
方法二:
在上述“数据有效性”对话框中的”允许“下选择“小数”,将最小值设置为“-9.99999999999999E+307”,最大值设置为“9.99999999999999E+307”,单击确定。
说明:Excel中允许输入的最大数值为“9.99999999999999E+307”或简写为“9E+307”,允许输入的最小数值为“-9.99999999999999E+307”或简写为“-9E+307”。
标签:Excel,Excel2007,excel数据有效性
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Word2007:页面背景之渐变颜色设置
2022-06-08 23:34:05
![](https://img.aspxhome.com/file/2023/9/25199_0s.jpg)
苹果Mac 3D 渲染软件:KeyShot
2023-08-12 21:37:42
![](https://img.aspxhome.com/file/2023/8/a206448_0s.jpeg)
如何检测你的Windows10是否正受CPU熔断和幽灵漏洞影响?
2023-10-16 23:31:58
![](https://img.aspxhome.com/file/2023/26/a224820_0s.jpg)
Win7设备管理器驱动有黄色感叹号如何去除?
2022-01-30 17:11:16
![](https://img.aspxhome.com/file/2023/27/a232802_0s.jpg)
明年SSD继续紧俏:QLC量产、240GB成主流
2023-03-13 18:01:00
![](https://img.aspxhome.com/file/2023/3/a293158_0s.jpg)
数据挖掘的基本步骤是什么
2022-03-15 07:51:14
![](https://img.aspxhome.com/file/2023/9/a342405_0s.jpg)
Windows内存诊断没有结果怎么修复?
2023-02-06 03:50:19
![](https://img.aspxhome.com/file/2023/6/a321430_0s.jpg)
电脑开机后一直响怎么回事?
2022-11-21 12:12:37
![](https://img.aspxhome.com/file/2023/6/a323166_0s.jpg)
迅雷软件一直出现崩溃问题怎么解决?
2022-12-27 09:52:59
![](https://img.aspxhome.com/file/2023/1/a272342_0s.jpg)
如何处理WPS中已经插入的图片,设置大小
2023-10-25 09:34:24
Snipaste取消开机自启动方法教程
2022-08-26 18:24:17
![](https://img.aspxhome.com/file/2023/30/a265211_0s.jpg)
如何在wps表格中添加边框
2022-05-07 09:12:58
excel表格点击加号展开功能的创建教程
2022-07-22 06:36:17
怎么用笔记本当副屏?笔记本当副屏的操作方法
2023-02-18 17:55:31
![](https://img.aspxhome.com/file/2023/6/a322871_0s.png)
如何使用mac终端修改系统时间
2023-08-17 13:29:11
![](https://img.aspxhome.com/file/2023/2/a208652_0s.png)
手机wps中如何添加分页符图文教程
2022-02-02 18:56:39
Win10系统怎么设置正常桌面操作?设置正常桌面操作步骤
2023-04-08 06:17:45
![](https://img.aspxhome.com/file/2023/26/a222657_0s.png)
Win8.1预览版中隐藏的“上帝模式”(God Mode)开启方法
2023-06-16 03:40:13
![](https://img.aspxhome.com/file/2023/29/a257067_0s.jpg)
Word2010取消密码
2022-06-16 05:07:53
微软称今后所有的Win10发行包都是累积的
2023-09-10 00:37:16
![](https://img.aspxhome.com/file/2023/28/a247080_0s.png)