Smart Systems for Home

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

Excel Drop Down List with Two Columns

· 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 create a drop-down list in Excel that displays two columns of data — such as product codes and names — you can’t do it natively with Data Validation alone, but you can simulate it using a combo box from the Developer tab or by combining Data Validation with VLOOKUP or INDEX/MATCH to show related data from a second column when an item is selected. This guide shows the practical, widely used method: using Data Validation for selection and a formula to pull the related second column value automatically. It saves time, reduces errors, and keeps forms clean without needing VBA.

What You'll Need

  • Microsoft Excel (2016 or later for full compatibility; works on Windows and Mac)
  • A list of items in two adjacent columns (e.g., Column A = ID, Column B = Name)
  • A blank cell where you want the drop-down list to appear
  • A second cell where you want the corresponding second column value to auto-fill

Step-by-Step

  1. Prepare your data source: Enter your two-column list in a quiet area of your worksheet — for example, put product IDs in Column A (A2:A15) and product names in Column B (B2:B15). Do not leave blank rows within the list. Name this range by selecting A1:B15, then typing "ProductList" in the Name Box (left of the formula bar) and pressing Enter. This makes your formula easier to read and maintain.
  2. Select the cell where you want the drop-down list to appear — for example, cell D2. Go to the Data tab on the Ribbon, then click Data Validation in the Data Tools group.
  3. In the Data Validation dialog box, under the Settings tab, set Allow to "List". In the Source field, type: =INDEX(ProductList,0,2). Wait — that’s incorrect. Correction: You must reference only the first column for the drop-down. Type: =ProductList!$A$2:$A$15. Alternatively, if you named the range as ProductList, you can use =INDIRECT("ProductList[Column1]") if using an Excel Table — but for simplicity, stick with =A2:A15 if your list is static. For best results, use a named range that references only the first column: select A2:A15, name it "ProductIDs", then in Source, type =ProductIDs.
  4. Click OK. Now cell D2 has a drop-down arrow showing only the IDs from Column A.
  5. Now, in the cell next to it — say E2 — enter this formula to pull the corresponding product name: =IF(D2="","",VLOOKUP(D2,ProductList,2,FALSE)). This says: if D2 is empty, show nothing; otherwise, look up the value in D2 within the first column of ProductList, and return the value from the second column.
  6. Copy the formula in E2 down to other rows if you have multiple drop-downs (e.g., E3, E4, etc.) and repeat step 2–4 for each drop-down cell (D3, D4, etc.). Ensure each drop-down references the same ProductIDs named range.
  7. Test it: Select an ID from the drop-down in D2. The product name should instantly appear in E2. If it doesn’t, check for typos in the formula or ensure the lookup value matches the data type (e.g., text vs number).
  8. Optionally, format your worksheet: Apply borders or shading to D2:E2 to group them visually. You can also add a header like "Select Product" above D2 and "Product Name" above E2.

Common Mistakes

  • Using the full two-column range in the Data Validation Source — Excel will only show the first column’s values, but may cause errors if you reference the wrong range.
  • Forgetting to lock the range in the VLOOKUP formula with absolute references (e.g., $A$2:$B$15). If you copy the formula down and the range shifts, it breaks.
  • Having extra spaces or different capitalization between the drop-down selection and the lookup table. Excel is exact-match sensitive. Use TRIM() and UPPER() if needed: =VLOOKUP(TRIM(D2),ProductList,2,FALSE).
  • Not naming the range or using a dynamic range — if you add new items later, the drop-down won’t update unless you use an Excel Table (Insert > Table) and reference the table column: =ProductTable[ProductID].
  • Believing the drop-down shows both columns — it doesn’t. Only the ID appears. The name appears in the adjacent cell via formula. This is normal and intended.

Tips

  • Convert your data source to an Excel Table (Ctrl+T) — then use structured references like =ProductTable[ProductID]. This makes your list dynamic: adding rows auto-expands the drop-down.
  • Use conditional formatting on E2 to highlight when a product name is found — select E2, go to Home > Conditional Formatting > New Rule > Use a formula: =D2<>"", then set a light green fill.
  • If you have hundreds of items, consider using a ComboBox from the Developer tab (Insert > ActiveX Control) for true two-column display, but this requires enabling Developer tab and VBA, and is not portable to all Excel versions or web-based Excel.
  • Always test with a duplicate ID — VLOOKUP returns the first match. If IDs are not unique, use INDEX/MATCH with a helper column or pivot to a different data structure.
  • For users unfamiliar with formulas, add a small note below the drop-down: "The product name will auto-fill after you make a selection."

Troubleshooting

  • Formula returns #N/A: The value in D2 does not exist in the first column of ProductList. Check spelling, case, extra spaces, or data type (e.g., "123" vs 123). Use =ISNUMBER(MATCH(D2,INDEX(ProductList,0,1),0)) to test if the value exists.
  • Drop-down doesn’t appear: Ensure Data Validation is applied to the correct cell and that Source is not blank. Sometimes Excel clears validation if you paste over the cell — reapply it.
  • Formula shows as text: The cell might be formatted as Text. Select the cell, change format to General, then press F2 and Enter to re-evaluate.
  • Names don’t update when new items are added: If you used a static range like A2:A15, expand it manually. Better: Convert to an Excel Table first. After creating a table, use =TableName[ColumnName] as your Source in Data Validation.
  • Works on desktop but not in Excel Online: Excel Online does not support named ranges in Data Validation Source. Use direct cell references like =$A$2:$A$15 instead of named ranges if sharing online.

Frequently Asked Questions

Can I show both columns in the drop-down menu itself?

No, Excel’s built-in Data Validation only shows one column in the drop-down list. To display two columns simultaneously in the dropdown, you need a ComboBox control from the Developer tab, which requires enabling the Developer tab and inserting an ActiveX control — this is not supported in Excel for the web or on Mac and can cause compatibility issues.

Why does my VLOOKUP return #REF!?

This happens if the ProductList range is smaller than the column index you’re referencing. If you use VLOOKUP(...,2,FALSE), your range must include at least two columns. Double-check that ProductList includes both the ID and name columns.

Can I use this with dates or numbers?

Yes. The method works with any data type — text, numbers, or dates — as long as the lookup value and source data match exactly. For numbers, ensure no leading zeros or formatting differences (e.g., 00123 vs 123).

What if I have more than two columns to pull?

You can extend the formula. For example, if you have a third column for price, add another cell with =VLOOKUP(D2,ProductList,3,FALSE). You can pull as many columns as needed, each in its own cell.

Is this method compatible with Excel for Mac?

Yes. All steps work identically on Excel for Mac 2016 and later. Named ranges and Data Validation function the same. The only difference is the Developer tab may need to be enabled manually via Preferences > Ribbon.

Can I make the drop-down list update automatically when I add new items?

Yes — convert your source data to an Excel Table (select the range, press Ctrl+T). Then use the table column name in your Data Validation Source: =ProductTable[ProductID]. New rows added at the bottom will automatically appear in the drop-down.