Data Validation Problem

kashif.special2005

Active Member
Joined
Oct 26, 2009
Messages
443
Hi,

I am facing problem in data validation, I have a name range called "State_Unique" (Name Range Address:= A1:A300), all values in the name range are in capital letters, now in a cell in other sheet, I applied a data validation from that name range ("State_Unique"), it is working fine when user select value from the drop down, but the problem is the values in the drop down are showing in capital letters, and when I type that drop down value in small letters in that cell, it is accepting.

Like, value shows in the drop down "AL" and when I type al, it is accepting, which is I don't want, I want that user select value from the drop down only.

Please help me to resolve that problem.

Thanks
Kashif
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
If you can do without having a dropdown list from which to choose, you can use a custom formula instead. This means that the user will always have to manually type a value in the cell. So, for example, to apply the data validation for C1...

Code:
Allow:  Custom

Formula:  =MATCH(TRUE,EXACT(State_Unique,C1),0)

Hope this helps!
 
Upvote 0
Hi Domenic,

Thanks for reply, however I need drop down data validation, because user does not know the state code.

Thanks
Kashif
 
Upvote 0
Have you thought about using an ActiveX combobox?
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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