문제

I have the following list validation:-

=IF(Status="Invoiced",IF([Customer Invoiced Date]<>"",TRUE,FALSE),TRUE)=IF(Status="Commission Paid",IF([Commission Paid Date]<>"",TRUE,FALSE),TRUE)=IF(Status="Delivered",IF([Order Delivered Date]<>"",TRUE,FALSE),TRUE)

to check for 3 columns, but i need to add the following to the above formula:-

if a column named "Reference Number" contain the following text "-CANCEL-" to always return true for this validation =IF(Status="Commission Paid",IF([Commission Paid Date]<>"",TRUE,FALSE),TRUE)? so can anyone advice how i can do so? Thanks

올바른 솔루션이 없습니다

다른 팁

You can change the second formula as following:

=IF(Status="Commission Paid",OR(IF([Commission Paid Date]<>"",TRUE,FALSE),NOT(ISERROR(FIND("-CANCEL-",[Reference Number])))),TRUE)

And the new list validation formula should be:

=IF(Status="Invoiced",IF([Customer Invoiced Date]<>"",TRUE,FALSE),TRUE)=IF(Status="Commission Paid",OR(IF([Commission Paid Date]<>"",TRUE,FALSE),NOT(ISERROR(FIND("-CANCEL-",[Reference Number])))),TRUE)=IF(Status="Delivered",IF([Order Delivered Date]<>"",TRUE,FALSE),TRUE)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top