Using Data Validation to prevent entering partial text found in cells of the same column

bardulinho

New Member
Joined
May 25, 2011
Messages
1
Can someone help me out with this?

I have built a spreadsheet that uses Data Validation with the VLOOKUP function to prevent me from entering duplicate data...The formula I'm using is =ISNA(VLOOKUP(B100,B$2:B100,1,FALSE))...I am also using Conditional Formatting just in case Data Validation does not work..

However, I also have cases when the data I need checked for duplicates is not in the same format, but it really is the same thing.. Ex. I already have "TEST0000" listed, but I might receive the new data that is to be entered in the spreadsheet as "GW CYM TEST0000 Locked"... How can I make sure that each time "TEST0000" is entered in any format, no matter if it's surrounded by a bunch of other data in the same cell, I get the Data Validation tool to not allow me to enter that data?

Hope I made this clear and it makes any sense - thanks guys :)
 

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

Forum statistics

Threads
1,224,584
Messages
6,179,687
Members
452,938
Latest member
babeneker

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