Data validation conundrum - validating various combined comma separated values in single cell

Nobby_the_Mouse

New Member
Joined
Apr 24, 2016
Messages
7
Dear Excel brains of the world,

I have a data validation conundrum; spent an hour looking for a solution to no avail :(

I have the following list of values:

AR, ARNC, ARNF, ARSAP, B, C, E, ER, ES, N, T, V

To prevent user error, I need to be able to add a Data Validation rule into the columns' cells to allow any combination of the above to be successfully entered, separated by commas. Examples of successful entries could therefore be...

AR, B, V
ES, ARSAP, V, E, C, B
ES
ER, T

...you get the idea; I hope!

This is for a charity project to conserve reptile species, so your help would be much appreciated :cool:

Cheers,
Ben
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
AR, B is different to AR,B

is the space optional - and would a vba solution be acceptable ? (color red any that "fail")
 
Upvote 0
Hi peoples,

Many thanks for speedy response... in answer to questions...

I do not wish to use a vba code as the spreadsheet already has a complicated macro in place.

Preferably I'd like a space to be present, but not essential; the choice of both would be the best option.

Does this help or hinder?

Cheers,
Ben
 
Upvote 0
I do not wish to use a vba code as the spreadsheet already has a complicated macro in place.
If you insist on that restriction, I do not believe you will get a solution to your problem. Besides, the VBA code you need is not a macro, rather, it would be an event procedure so that it can act just like data validation would... automatically without the need for the user to do anything. If you change your mind about using a VBA solution like I have outlined, post back with the range of cells that will need this data validation routine applied to them.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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