Help with Drop downs

SlurpeeD

New Member
Joined
Jul 25, 2024
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello I have a sheet that has a drop down. I want the drop downs to have options like 1. Annual Leave, 2. Sick Leave, 3. Holiday Leave and so on. When clicking on the drop down I want to be able to see the number and the text but when one is selected I only want to be able to see the number. is that possible?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
What kind of "drop down" is this? Validation list? Forms control? ActiveX control? If the latter, on a userform?
 
Upvote 0
What kind of "drop down" is this? Validation list? Forms control? ActiveX control? If the latter, on a userform?
Yeah, I should've asked that. I assumed it was Validation drop down.
 
Upvote 0
Yeah, I should've asked that. I assumed it was Validation drop down.
If is a Validation drop down and you're okay with VBA. Put this in the Sheet with the Drop down.
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Validation.Value = True Then
    Target.Value = Left(Target.Value, 1)
End If
End Sub
 
Upvote 0

Forum statistics

Threads
1,225,739
Messages
6,186,741
Members
453,370
Latest member
juliewar

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