Hi Chris.
I came up with the solution that Regina proposes. Another solution was
to have the countif statements in other hidden cells and use a macro to
pop a message if you get duplicate data (but conditional background
should be as obvious).
It is possible to use the countif in the data validation in the data
field of the criteria tab but LO precedence may not match Excell
precedence (I don't have excell) in evaluation of the statement.
i.e. if I use COUNTIF(F4;K380,F4) in the data validation it uses the
data in currently (previously entered) in F4 rather than the data I wish
to enter into F4, the data you are trying to enter is not available to
the statements in the data field of the criteria tab. Not sure that
makes much sense but I will try to explain.
If the sequence in LO for data validation was as below I think it would
be easier;
Enter data in cell,
press enter or click another cell,
data is placed in cell,
value (in the criteria tab of validation) is calculated,
if value meets the requirements, allow entry, if value does not meet the
requirements, back out the entry (for stop) or issue warning.
It would also be useful if the Data field in the criteria tab of
validation had TRUE and FALSE as options, but to use these the data that
you are attempting to input must be available to the statements in the
data field.
steve