christossol, Good morning.
Try to use:
Select desired row: A5:X5 (as your necessity)
Conditional Format Menu --> Using Formula -->
Type: =$G$5="YES" (It's an example only)
Format Fill Color as desired --OK
Is that what you want?
I hope it helps.
Belo Horizonte, MG - Brasil.