How to create external data validation in another sheet or workbook?
Generally, we use Data Validation to limit users to enter the values we want, but have you ever tried to create an external data validation in anther sheet or workbook, which means that the source data and the data validation are not in the same sheet or even same workbook? In this article, I will introduce the method on handling with this problem in Excel.
Take creating drop down list for example, I will create the source in one sheet, then use Range Name to create the drop down list in another sheet based on the value source.
1. Create the source value of the drop down list in a sheet as you want. See screenshot:
2. Select these source values, and go to the Name Box to define a range name for the cells, here I enter Country in the Name Box, and then press Enter key to finish the naming. See screenshot:
3. Go to the sheet you want to create this external drop down list, and select a cell or range to place the drop down list, G1:G4, for instance, and click Data > Data Validation. See screenshot:
4. In the Data Validation dialog, click Settings tab, and select List from the Allow drop down list, then enter =Country (Country is the name you have defined for the source range in step 2, you can change it as you want) the into the box of Source. See screenshot:
5. Click OK, now the external data validation has been created.
To create external data validation in another workbook, you also need to use Name Range.
Take creating drop down list for instance.
1. Create the source values as you need in a sheet, and then select source values, and go to Name Box to give the source range a name, and press Enter key, take CusName for instance. See screenshot:
2. Then go to the workbook you want to create drop down list, select a blank column in a sheet, Column J for instance, and click Formulas > Define Name. See screenshot:
3. In the New Name dialog, enter a name in the Name box, and select Workbook from the Scope list, and then type this formula =Source.xlsx!CustName (Source is the workbook name of workbook the source data in, and CustName is the range name you created for the source data in step1, you can change them as you need) in the Refers to text box. See screenshot:
4. Click OK. And then go to select the range you want to create the external drop down list, L1:L4, and click Data > Data Validation. See screenshot:
5. In the Data Validation dialog, click Settings tab, and select List from Allow drop down list, and enter this formula =MyCustList (MyCustList is the range name you give the blank column in step 3, you can change it as you need) into the Source box. See screenshot:
6. Click OK. Now the external data validation in another workbook has been created. See screenshot:
Note: Only when the two workbook are open at the same time (the source data workbook and the data validation workbook), the external data validation can correctly work.
Best Office Productivity Tools
Supercharge Your Spreadsheets： Experience Efficiency Like Never Before with Kutools for Excel
Kutools for Excel boasts over 300 features, ensuring that what you need is just a click away...
Supports Office/Excel 2007-2021 & newer, including 365 | Available in 44 languages | Enjoy a full-featured 30-day free trial.
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!