This satisfies your scope:
Whatever value is in cell C8, it will display in D8, as long as H8 contains the text "Mastercard"! Try using lower(H8)="mastercard".
Or you could actually, link the test word, to cell A1, as in:
Then what ever is in cell A1 will be the keyword to match for!~