Hi all
I am so close yet so far with this.. looking for some help please.
Here's my formula
IF(AND([@[Booking Date]]<=$AH$1,[@[ Client ID ]]<>"JOHN00",AND([@[Booking Date]]<=$AH$1,[@[ Client ID ]]<>"JOHN20",AND([@[Booking Date]]<=$AH$1,[@[ Client ID ]]<>"TYCO22",AND([@[Booking Date]]<=$AH$1,[@[ Client ID ]]<>"TYCO24")))),"Pre-Process",IF([@[Booking Date]]>=$AH$1,IF(AND([@[Booking Date]]>=$AH$1,AND(LEN([@[ARN-CDF10]]=9),LEFT([@[ARN-CDF10]],2)="TX",[@[ARN-CDF10]]<>"TX0000000",RIGHT([@[ARN-CDF10]],1)<>"/")),"OK","Error"),"Pre-Process"))
I want to add in an 'or' where the ARN-CDF10 can start with either TX, ME or GT. I got this to work but also need it to still always be 9 in length to be 'OK' and this is what I miss?
Any help would be appreciated please.
Many thanks
Melissa
I am so close yet so far with this.. looking for some help please.
Here's my formula
IF(AND([@[Booking Date]]<=$AH$1,[@[ Client ID ]]<>"JOHN00",AND([@[Booking Date]]<=$AH$1,[@[ Client ID ]]<>"JOHN20",AND([@[Booking Date]]<=$AH$1,[@[ Client ID ]]<>"TYCO22",AND([@[Booking Date]]<=$AH$1,[@[ Client ID ]]<>"TYCO24")))),"Pre-Process",IF([@[Booking Date]]>=$AH$1,IF(AND([@[Booking Date]]>=$AH$1,AND(LEN([@[ARN-CDF10]]=9),LEFT([@[ARN-CDF10]],2)="TX",[@[ARN-CDF10]]<>"TX0000000",RIGHT([@[ARN-CDF10]],1)<>"/")),"OK","Error"),"Pre-Process"))
I want to add in an 'or' where the ARN-CDF10 can start with either TX, ME or GT. I got this to work but also need it to still always be 9 in length to be 'OK' and this is what I miss?
Any help would be appreciated please.
Many thanks
Melissa