Hi All,
I’m trying to create a custom validation formula (Excel 2003). It seems like it should be easy but “easy” isn’t working.
I have a cell S4 where, via dropdown box, I can set a reason for closing; the list for the dropdown is stored in a range and has the values nothing (an empty cell), “snow”, etc. All reason codes, other than nothing, are at least 3 characters in length.
In cell C4, I want to allow entries as follows:
– if S4 is not nothing, don’t allow any entries
– if S4 is nothing, allow either “out” or a positive number
For my custom validation rule, I have:
=AND(LEN(S4)0)))
With this, anything seems to be allowed when LEN(S4)=3 (first dash above), nothing is allowed (this is OK).
If I delete the test on S4 (not really the end of the world), it works fine in allowing only “out” or a positive number.
What am I missing?
TIA
Fred