Highlight the row/column.
Conditional formatting.
New rule
Format only cells that contain
Change box to specific text containing
Yes in the next box.
Press format button to show how you want it looking, ie, red fill black text.
OK.
Repeat process for no cells.