Share via

Conditional Formatting a cell using multiple words within cell

Anonymous
2013-04-04T16:05:50+00:00

I have a cell that contains the following text, "HOLD-PO NEW". I have cells with many different iterations ("HOLD-PO OLD","HOLD-PO", "HOLD-AR", "GOOD-PO"), but contains basically the same information. How can I conditional format the cell by saying: highlight if cell contains the words "HOLD" AND "New".

I've been looking all over the place I haven't been able to figure it out.

I tried

=AND(A1="HOLD", A1="NEW") and that didn't work.

I tried with the *  :

=AND(A1="HOLD*", A1="*NEW") and that didn't work

Please help!

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2013-04-04T16:18:27+00:00

Hi,

You can try this CF formula

=ISNUMBER(SEARCH("Hold",A1)+SEARCH("New",A1))

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2013-04-04T16:30:31+00:00

    Thank you very much Mike. That worked perfectly

    Was this answer helpful?

    0 comments No comments