I need a formula that will return the contents of C1 as long as A1 does not contain the text "Q01" or "C01". The code will be placed in cell D2