I have an Excel 2010 sheet that content editors use for rewriting urls. Of course certain characters aren't allowed to be entered but they do it anyway.So I want to set a rule on this.
Let's for simplicity just take spaces.
I select the column in question, go to Data>Data Validation, select Allow>Custom and as the formula enter SUM(IFCOUNT(" "))>0. This doesn't work, it generates an error on every value in that column, even if it doesn't have any spaces in it. I also, for spaces, used TRIM(), SUBSTITUTE(" ", "") but they all lead to the same result.
So, what would be the best way to prevent a user to enter or add a space, or any other illegal character, in a cell in a specific column in an Excel sheet?
Thanks in advance.