Show filter or drop down list item description

AndiFHall

New Member
Joined
Jan 19, 2018
Messages
1
I have a validation table for a drop down list that contains codes we need for our database. For example, CategoryCode: D-S; D-P; D-E, etc. The person entering data into the spreadsheet may not know which code to use or make a simple error.

Is there a way to include a label or to append a brief description, yet only capture the code into the cell? Ex: D-S - “Donor Scholarship”. I only want the “D-S” code captured in the spreadsheet.

No VBA. If not, ideas for another solution to help us with data integrity would be welcomed.

Thank you.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Welcome to the MrExcel board!

If no VBA is allowed then I would suggest set up a code/description/combined table like I have shown in columns E:G and use the 'Both' column as your Data validation choices - see cell A2.
Then use a formula in another cell (B2 for me) to extract the code for use elsewhere in your worksheet.

22 05 22.xlsm
ABCDEFG
1DV ChoiceCodeCodeDescriptionBoth
2D-P (Descr 2)D-PD-SDescr 1D-S (Descr 1)
3D-PDescr 2D-P (Descr 2)
4D-EDescr 3D-E (Descr 3)
5
DV with Description
Cell Formulas
RangeFormula
B2B2=LEFT(A2,FIND(" (",A2)-1)
G2:G4G2=E2&" ("&F2&")"
Cells with Data Validation
CellAllowCriteria
A2List=$G$2:$G$4
 
Upvote 0

Forum statistics

Threads
1,215,425
Messages
6,124,826
Members
449,190
Latest member
rscraig11

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top