New Tool Radar

AI for Data & Spreadsheets

How to Check an AI-Written Data Validation Dropdown for the Right Source Range

Check whether a data validation dropdown points at the right source list, and whether blank cells in that list show up as empty choices.

Schematic with three steps: Read the source range in the validation; Open the dropdown and count the choices; Fix the source range and re-test.

A dropdown list in data validation takes its choices from a source range, and the list shows exactly what that range holds, including blank cells and duplicates. An AI-written dropdown can point at a range that is one row short, includes a blank, or sits on a sheet that gets deleted. Open the validation settings and read the source before relying on the list.

What you need

  • The cell with the dropdown and its validation settings
  • The source list, with its first and last items known
  • The list of choices the reader should see

Step 1: Read the source range in the validation settings

Select the dropdown cell, open Data, Data Validation, and read the Source box. Check that the range covers every item in the list and no extra blank rows below it.

Step 2: Open the dropdown and count the choices

Open the dropdown and count the entries, including any blank entry at the end. A blank choice means the source range reaches past the last item; a missing choice means the range stops short.

Step 3: Fix the source range and re-test

Correct the source range to cover exactly the list items, then open the dropdown again and check that every expected choice is there and no blank entry remains.

Worked example: synthetic region dropdown

The table below is a synthetic example. It shows the expected result of checking an AI-written data validation dropdown; no formula was run.

Check Value Result
Source range as written Lists!A2:A10 Nine rows, one blank
Dropdown choices shown 9 Includes one blank entry
Blank cell in source A10 Empty row below the list
Corrected range Lists!A2:A9 Eight choices, no blank

Expected result (UNTESTED). the dropdown shows nine choices, one of them blank, because the source range Lists!A2:A10 reaches one row past the list; narrowing it to Lists!A2:A9 shows exactly eight choices. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • A dropdown source on another sheet must be a range reference, not a typed list, if the list is to stay editable in one place.
  • Deleting the sheet that holds the source list breaks every dropdown that points at it.
  • Data validation stops new typed entries but does not remove values that were already in the cells.
  • A list with duplicate items shows the duplicates in the dropdown, so clean the source list first.

Sources

See all