Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Data Validation from Another Sheet: Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To validate data in one sheet against a list stored on another sheet, use Excel's Data Validation with a named range or an indirect reference. The quickest reliable method: create a named range for your source list, then on the target sheet open Data > Data Validation, choose List, and enter =MyListName in the Source box. This keeps the dropdown working even if the source sheet is renamed or moved, and it avoids the most common cross-sheet reference errors.

What You'll Need

  • Excel (Microsoft 365, Excel 2019 or later recommended) or Google Sheets. The steps below cover Excel; a short Google Sheets note follows in the Tips section.
  • Two sheets in the same workbook: one containing the list of allowed values (the source sheet) and one where users will enter data (the target sheet).
  • The source list must be a single column or row with no blank cells in the middle.
  • Edit access to the workbook. If the workbook is shared, you need permission to change data validation rules.

Step-by-Step

  1. Set up the source list. On the sheet that holds your allowed values, type each value in its own cell down a single column (for example, A2:A20). Do not leave blank rows inside the list. Give the column a header in A1 if you like, but exclude the header from the range you will select.
  2. Create a named range. Select the cells that contain the list (for example, A2:A20). Click in the Name Box (the small box to the left of the formula bar), type a name such as ProductList, and press Enter. Names cannot contain spaces; use an underscore if needed. This step is optional but strongly recommended because it makes the validation formula portable.
  3. Go to the target sheet. Click the sheet tab where users will type data. Select the cells you want to validate. You can select a single cell, a column, or a block of cells.
  4. Open Data Validation. On the ribbon, click Data > Data Validation (the icon looks like a checkmark and a stop sign). In some versions the button is labelled Data Validation directly; in others you may need to click the small arrow next to it first. Menu labels can differ slightly by version, device and region.
  5. Choose the List option. In the Data Validation dialog, under the Settings tab, open the Allow dropdown and choose List.
  6. Enter the source reference. In the Source box, type an equals sign followed by your named range, for example =ProductList. If you did not create a named range, you can type a direct cross-sheet reference such as =Sheet2!$A$2:$A$20. The sheet name must be exact; if it contains spaces, wrap it in single quotes, like ='Product List'!$A$2:$A$20.
  7. Set the dropdown behaviour. Leave In-cell dropdown checked so users see a list arrow. Decide whether to check Ignore blank (allows empty cells) and whether to show an input message or error alert. The error alert is what actually blocks invalid entries; choose Stop if you want to prevent anything outside the list.
  8. Click OK and test. Click a validated cell and confirm the dropdown appears. Type a value that is not on the list and press Enter; you should see the error alert you configured. If the dropdown is empty or the error does not appear, see Troubleshooting below.
  9. Copy the validation to other cells (optional). Select the cell with the working validation, press Ctrl+C (Cmd+C on Mac), select the destination cells, then use Paste Special > Validation. This copies only the rule, not the formatting or content.

Common Mistakes

  • Selecting the header row. If your source range includes the header, the header text becomes a valid choice in the dropdown. Start the range one row below the header.
  • Leaving blanks in the source list. A blank cell in the middle of the list can cut the dropdown short or cause unexpected behaviour. Keep the list contiguous.
  • Using a direct reference to a closed workbook. Data validation cannot read a list from a workbook that is closed. Keep the source sheet in the same workbook, or open both files.
  • Forgetting the equals sign. Typing ProductList in the Source box is treated as a literal list of one item. Use =ProductList.
  • Sheet name typos with spaces. A sheet named Product List must be referenced as 'Product List'!$A$2:$A$20, with single quotes around the name.
  • Assuming validation blocks pasted data. Data Validation does not stop users from pasting values that are not on the list. It only checks typed entries. If you need stricter control, consider protecting the sheet or using conditional formatting to flag invalid pasted values.

Tips

  • Use a named range rather than a direct sheet reference. If you later rename or move the source sheet, the named range still points to the right cells.
  • Keep the source list on a separate, hidden sheet if you do not want users to edit it. Right-click the sheet tab and choose Hide. The validation still works.
  • For long lists, sort the source values alphabetically so the dropdown is easier to scan.
  • In Google Sheets, the equivalent is Data > Data validation, then choose List from a range and enter the range like Sheet2!A2:A20. Google Sheets does not use named ranges in the same way for validation, so a direct range reference is normal there.
  • If you want to allow a value only when another cell meets a condition, use a custom formula in Data Validation instead of a list. For example, =COUNTIF(ProductList,A1)>0 checks membership without a dropdown.

Troubleshooting

  • The dropdown does not appear. Check that In-cell dropdown is ticked in the Data Validation dialog. Also confirm the cell is not protected and that the workbook is not in a mode that disables validation.
  • The dropdown is empty. The source range is probably wrong. Open Name Manager (Formulas > Name Manager) and confirm the named range points to the correct cells. If you used a direct reference, check the sheet name and cell range.
  • Invalid entries are accepted. Open Data Validation and check the Error Alert tab. If Show error alert is unticked, or the style is set to Warning or Information, users can bypass the rule. Set the style to Stop to block invalid entries.
  • Validation disappears after copying cells. Normal paste overwrites validation. Use Paste Special > Validation, or reapply the rule to the destination cells.
  • The source list is on another workbook. Excel does not support cross-workbook validation when the source workbook is closed. Move the list into the same workbook, or keep both files open (less reliable).
  • You see a circular reference or formula error. This usually means the validation formula refers to the same cells it is validating. Point the source range to a different sheet or a different column.

Frequently Asked Questions

Can I use data validation from another sheet without a named range?

Yes. In the Source box, type a direct reference such as =Sheet2!$A$2:$A$20. Named ranges are more robust but not required.

Why does my dropdown show the header text?

Your source range includes the header row. Edit the range to start one row lower, for example A2:A20 instead of A1:A20.

Does data validation prevent pasting invalid values?

No. It only checks typed entries. Pasted values bypass the rule. Use sheet protection or conditional formatting if you need to catch pasted data.

Can I validate against a list in a different workbook?

Not reliably. Excel data validation cannot read from a closed workbook. Keep the source list in the same workbook as the validated cells.

How do I copy validation to other cells without copying formatting?

Copy the validated cell, select the destination, then use Paste Special > Validation. This applies only the validation rule.

Does this work in Google Sheets?

Yes, with a different menu path: Data > Data validation, then choose List from a range and enter the range such as Sheet2!A2:A20.