do both of the valures have to be present, or only 1 or the other?

if only 1 or the other has to be there, change the "and" to "or"