Good day
Please assit wt hthe below
=IF(B7=0,COUNTIFS(Jan!$R:$R,"*"&A7&"*",Jan!$D:$D,$R$1),COUNTIFS(Jan!$R:$R,"*"&A7&"*",Jan!$D:$D,$R$1)*2)
This formula works fine as long as the text A7 does not appear more than oce in a line in column R
e.g if R1 = Cancellation R2 = Cancellaton and A7 is the...