{"id":5218,"date":"2026-04-22T08:27:56","date_gmt":"2026-04-22T08:27:56","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=5218"},"modified":"2026-04-22T08:27:57","modified_gmt":"2026-04-22T08:27:57","slug":"google-sheets-colour-whole-row-based-on-column-value","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=5218","title":{"rendered":"Google Sheets &#8211; Colour Whole Row based on Column Value"},"content":{"rendered":"\n<p>A useful visualisation on your Google Sheets is where you perhaps have a column for &#8220;Yes&#8221; or &#8220;No&#8221; or &#8220;Done&#8221; or &#8220;Not Started&#8221; and when this cell changes value, the whole row changes colour to make it obvious that action\/item has been completed.<\/p>\n\n\n\n<p>You can do this as follows:<\/p>\n\n\n\n<p>Let&#8217;s say you have a spreadsheet like this, we want the value of &#8220;Completed&#8221; column Yes or No, to change the colour of the whole row.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"518\" height=\"191\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-17.png\" alt=\"\" class=\"wp-image-5219\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-17.png 518w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-17-300x111.png 300w\" sizes=\"auto, (max-width: 518px) 100vw, 518px\" \/><\/figure>\n\n\n\n<p>Highlight the whole set of data.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"466\" height=\"156\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-18.png\" alt=\"\" class=\"wp-image-5220\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-18.png 466w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-18-300x100.png 300w\" sizes=\"auto, (max-width: 466px) 100vw, 466px\" \/><\/figure>\n\n\n\n<p>Right click, select &#8220;more cell actions&#8221; then &#8220;Conditional Formatting&#8221;.<\/p>\n\n\n\n<p>You&#8217;ll see some default rule in there, just use this and change it to be as follows for &#8220;Yes&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"299\" height=\"484\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-19.png\" alt=\"\" class=\"wp-image-5221\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-19.png 299w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-19-185x300.png 185w\" sizes=\"auto, (max-width: 299px) 100vw, 299px\" \/><\/figure>\n\n\n\n<p>And then click &#8220;Done&#8221; and create another for &#8220;No&#8221; as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"296\" height=\"489\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-20.png\" alt=\"\" class=\"wp-image-5222\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-20.png 296w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-20-182x300.png 182w\" sizes=\"auto, (max-width: 296px) 100vw, 296px\" \/><\/figure>\n\n\n\n<p>Click &#8220;Done&#8221; and and you are done, your rows should now be coloured based on the value of that column!<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"507\" height=\"165\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-21.png\" alt=\"\" class=\"wp-image-5223\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-21.png 507w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2026\/04\/image-21-300x98.png 300w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/figure>\n\n\n\n<p>You may get a default &#8220;if cell empty&#8221; rule, you may need to manually remove this if this is the case.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A useful visualisation on your Google Sheets is where you perhaps have a column for &#8220;Yes&#8221; or &#8220;No&#8221; or &#8220;Done&#8221; or &#8220;Not Started&#8221; and when this cell changes value, the whole row changes colour to make it obvious that action\/item has been completed. You can do this as follows: Let&#8217;s say you have a spreadsheet &#8230; <a title=\"Google Sheets &#8211; Colour Whole Row based on Column Value\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=5218\" aria-label=\"Read more about Google Sheets &#8211; Colour Whole Row based on Column Value\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":5223,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-5218","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-random"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/5218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5218"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/5218\/revisions"}],"predecessor-version":[{"id":5224,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/5218\/revisions\/5224"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/media\/5223"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}