Hi PEichelberg, I need to count the numbers of occurences in correct pattern format "XXXXXX/XXXX" = (6 characters before "/" and 4 characters after "/") >> IF $F{Ticket} contains a string with correct format THEN 1....Else 0. In this example, 2 corrects rows: Name TicketJohn123456/2017Mary564587/2017 Thanks again