Hi
I want to write a validation formula to show an error message for the following conditions: if the value in a certain cell <> "S" then the values all of the following 5 cells in the row must be Null, else if the value does equal 'S' then all of the values in the 5 cells must not be Null.
I've made a start as below and got the message to show if the cell equals S and all 5 are Null, but as soon as I put a value in any of the 5 it disappears. Any help appreciated.
=IF(AND(H11="S",I11="",J11="",K11="",L11=""),"Columns I - M must be completed if Absence type is S","")
I want to write a validation formula to show an error message for the following conditions: if the value in a certain cell <> "S" then the values all of the following 5 cells in the row must be Null, else if the value does equal 'S' then all of the values in the 5 cells must not be Null.
I've made a start as below and got the message to show if the cell equals S and all 5 are Null, but as soon as I put a value in any of the 5 it disappears. Any help appreciated.
=IF(AND(H11="S",I11="",J11="",K11="",L11=""),"Columns I - M must be completed if Absence type is S","")