How do I set the input data type limit for Excel cells?

Source: Internet
Author: User

1. Select the cells that you want to set up data validation, such as the E3 cell here. Open the Data Validation dialog box and set the validation criteria on the Settings tab. Here, in the Allow Drop-down list, select the Custom option, enter the formula =isnumber (E3) in the Formula text box, as shown in Figure 1, and set the cell input prompt in the Input Information tab. As shown in Figure 2, the error message is set on the Error Alert tab, as shown in Figure 3. When you finish setting up, click OK to close the dialog box.

Ways to restrict the type of data entered in cells in an Excel worksheet

Figure 1 Setting the Allow condition

Ways to restrict the type of data entered in cells in an Excel worksheet

Figure 2 Setting the input information

Ways to restrict the type of data entered in cells in an Excel worksheet

Figure 3 Setting Error notification information

Tips

The E3 in the formula is the address of the cell that requires input restrictions, the isnumber () function is used to determine whether the data in the cell is a number, and if so, returns false.

2, select the set of data validation of the cell will get the prompt information, as shown in Figure 4. When the input data type and settings are not the same, Excel gives a hint, as shown in Figure 5. If you need to limit the input of other cells in the column, simply drag the fill handle with the mouse to copy the formatting to the other cells, as shown in Figure 6.

Ways to restrict the type of data entered in cells in an Excel worksheet

Figure 4 Tips for selecting a cell

Ways to restrict the type of data entered in cells in an Excel worksheet

Figure 5 Message when you enter an error

Ways to restrict the type of data entered in cells in an Excel worksheet

Figure 6 Copying the input restrictions on a cell

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.