How to do a background fill, based on another cell not being blank?

I need to have cells A5:D5 have a background color based on if cell G1 is not blank.
I cannot get this to work, any suggestions? Thanks.
Background color.odt (18.1 KB)

_dave.ods (9.4 KB)

Thank you, it works.