You could still do it the same way, with the range selected in your example above you just need to change A1 to M2 in the formula then apply it to the whole range.
That's my bad, I was sure that the method could be used in CF but not in data validation.
Try this one instead (I haven't tested this but it should work, it doesn't use any of the methods that are not permitted).
Actually, a slightly easier to follow formula, the position is set by the division part of the formula
ones (see note below)
Excel Formula:
=SEARCH(MOD(INT(M2/1),10),"3489")
tens
Excel Formula:
=SEARCH(MOD(INT(M2/10),10),"3489")
hundreds
Excel Formula:
=SEARCH(MOD(INT(M2/100),10),"3489")
Note that INT and the division part are not necessary for the ones formula but I've left them in so that it is easier to follow. This one could be changed to
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.