A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
This worked for me.
Select cells B4:G4 (next to John), and use the conditional formula
=AND($B4=$B$1,$C4=$C$1,$D4=$D$1,$E4=$E$1,$F4=$F$1,$G4=$G$1)
Then use the "Format Painter" to copy the conditional format to columns B:G in subsequent rows.
Hope this helps getting started.