Not so sure what you mean by "wildcard combination", but try...

=IF(M2<>"",Q2,"Unknown")

...if this does not do it, please show what you have tried.