Self-made Excel drop-down menu quick batch Input

Source: Internet
Author: User

When using the import function, it is necessary to provide users with an import template.
When creating an imported excel template, there is often a need to restrict user input. A drop-down box is a good form.

 

Because of work requirements, the name of the construction company is often entered into an Excel table, because the names of the same company must be entered each time, I used "Data Validity" to create a drop-down list for input.
However, since there are more than 150 organization names, the drop-down list is too long and it is inconvenient to choose from, so I improved it, achieve the goal of selecting a category list and quickly unified input. Download Sample Files
Use the instance interface:

1. database creation
Start excel2000 (XP), switch to the shift2 Worksheet (other worksheets are also available), and enter the names of the construction enterprises in cells of different columns according to their qualification levels, create an enterprise name database (1 ).

[Note] if other enterprises are added, you can enter the names in the cells in the column at any time.
2. Name
In the shift2 worksheet, select column A (the column where the first-level enterprise name is located) and place the light in the name column (on the left side of the edit column, 2 ), enter "Level 1" and press "enter" to confirm.

Follow the preceding steps to name columns B, C, and D as "level 2, level 3, and Level 4 ".

 

3. Create
Switch to the sheet 1 worksheet, select the columns (such as column C) that need to enter the enterprise qualification level, execute the "Data → validity" command, and open the "Data Validity" dialog box (3 ). Go to the "Settings" tab, click the drop-down button on the right of "allow", select the "sequence" option, and enter "Level 1, level 2, and level 3" in the "Source" box that appears below, level 4 sequence. After the input is complete, confirm to exit.

[Note] when entering a "sequence", use commas to separate the elements in the sequence.
Select the columns (such as column D) for which you want to enter the enterprise name. In the "Data Validity" dialog box, select the "sequence" option and enter the formula in the "Source" box: = indirect (C1). Confirm to exit.
4. Use
Select any cell (such as C4) in Column C, and a drop-down button appears on the right. Click this button to select the enterprise qualification level and fill in the corresponding cells. Then, select cell (4) in column D corresponding to the cell, and a drop-down button appears on the right of the cell. Click this button, you can select the desired enterprise name from the Enterprise Name List of the corresponding qualification level and fill in the cell.

How is it? Enter the company name in this way (of course, this method is not only applicable to entering the company name). Is it fast and unified ?!

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.