Function Problems

How to Show Two Columns in an Excel Dropdown but Return One Value

Tauseeq MagsiTauseeq Magsi Oct 26, 2026 869 views

Question details

Display multiple pieces of related information (like a cost code and location) in an Excel dropdown list while ensuring only the primary identifier is inputted into the target cell.

Product
Excel
Device & OS
not provided
Scenario
Setting up a searchable dropdown list in a worksheet where users need to see additional context to make the right choice, but the system or layout requires only the core code to be recorded.
Observed behavior
Native Excel data validation dropdowns only support selecting and displaying a single column's value, and they cannot natively show a multi-column view that yields a single specific value upon selection.
Before you start

Ensure your reference data is organized in clear, adjacent columns on a separate sheet (e.g., Cost Codes in Column A, Locations in Column B), and consider making a backup copy of your workbook if you plan to implement VBA solutions.

Solution 1Recommended

Use a Helper Column and Text Extraction Formula

Combine both data points into a single text string for the dropdown list, and use a formula in an adjacent cell to extract only the needed value.

Since native Excel Data Validation cannot display multiple columns, the most reliable workaround is to concatenate (join) the columns into one helper column. Once the user selects the combined string, you can use formulas to parse out the primary value.

1
Create a combined helper column

On the sheet containing your source data (Sheet 2), insert a new column. Use a concatenation formula like `=A2 & " - " & B2` to combine the Cost Code and Location. Drag this down for all rows.

2
Set up the Data Validation dropdown

Go to your main worksheet (Sheet 1) and select the cell where you want the dropdown. Navigate to Data > Data Validation, choose 'List' from the Allow dropdown, and select your new helper column range as the Source.

3
Extract the single value

In the cell where you actually need the isolated Cost Code to appear, enter a formula to extract the characters before the delimiter: `=LEFT(C2, FIND(" - ", C2)-1)` (assuming C2 is your dropdown cell). This pulls just the cost code out of the combined selection.

Use a Helper Column and Text Extraction Formula
Hide the helper columns: To keep your workbook clean, you can select the helper column on Sheet 2, right-click the column letter, and select 'Hide'. Your dropdowns will continue to function normally.

Create Advanced Dropdown Lists Seamlessly in WPS Spreadsheet

WPS Spreadsheet fully supports Data Validation, concatenation, and text extraction formulas just like Excel. You can quickly set up helper columns to display multi-column contexts in your dropdowns without needing a premium subscription.

  1. 1. Open your data file in WPS Spreadsheet: Launch WPS Office and open your workbook containing the cost codes and locations.
  2. 2. Create a combined reference column: Use the `&` operator in an empty column to merge your data, for example: `=A2 & " | " & B2`.
  3. 3. Apply Data Validation: Select your target cell, navigate to the Data tab, click Data Validation, and set your Source to the newly created merged column.
  4. 4. Extract your final value: Use the `LEFT` and `FIND` functions in your final destination cell to isolate the required code from the user's dropdown selection.
Fully compatible with Microsoft Excel formulas and .xlsx formatsSupports advanced Data Validation list settingsFeatures a familiar, easy-to-use interface for managing data rangesFree alternative to premium office suites
microsoft office alternative - wps office

Frequently Asked Questions

Can I natively show two separate columns in a standard Excel dropdown without combining them?

No, standard Data Validation lists in Excel and WPS Spreadsheet do not natively support multi-column display. You must either concatenate the data into a helper column or build a custom VBA UserForm with a Combo Box control.

Why does my LEFT and FIND extraction formula return a #VALUE! error?

This usually occurs if the text selected in the dropdown does not contain the exact separator you specified in your FIND function. Check that your helper column combination formula and your extraction formula use the exact same delimiter (e.g., spaces and hyphens).

Will hiding the helper column break the Data Validation dropdown?

No. Once you have set the source range for your Data Validation list, you can safely hide the column containing the combined text. The dropdown will continue to read the data correctly.