{"id":277,"date":"2017-06-07T16:50:27","date_gmt":"2017-06-07T16:50:27","guid":{"rendered":"http:\/\/www.alandaletraining.com\/software-tips\/?p=277"},"modified":"2017-06-07T16:51:09","modified_gmt":"2017-06-07T16:51:09","slug":"using-conditional-formatting-highlight-row-data-excel","status":"publish","type":"post","link":"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/","title":{"rendered":"Using Conditional Formatting to highlight a row of data\u00a0 in Excel"},"content":{"rendered":"<p>If you have rows of data in an Excel spreadsheet it can sometimes be handy to highlight the row based on the value in one of the cells in that row. In the example below, when I put an x in the Paid column, I want the row to be highlighted.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-278\" src=\"http:\/\/www.alandaletraining.com\/software-tips\/wp-content\/uploads\/2017\/06\/Highlight-row-with-conditional-formatting.jpg\" alt=\"\" width=\"275\" height=\"156\" \/><\/p>\n<p>You can do this with Conditional Formatting:<br \/>\n1. Select the block of cells. In the example above I selected seven rows and four columns of data.<br \/>\n2. On the Home tab in the Styles group, select Conditional Formatting<br \/>\n3. Select New Rule<br \/>\n4. In the Select a Type of Rule list, select Use formula to determine which cells to format<br \/>\n5. In Format values where this formula is true box, enter =<br \/>\n6. Click on the cell in the Paid column for the first row of data<br \/>\n7. Delete the second $ in the cell address so $D$2 becomes $D2<br \/>\n8. Complete the formula: = $D2 = &#8220;x&#8221;<br \/>\n9. Click on the Format button and choose the formatting you want applied<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-279\" src=\"http:\/\/www.alandaletraining.com\/software-tips\/wp-content\/uploads\/2017\/06\/New-Rule-dialog-box-300x294.jpg\" alt=\"\" width=\"300\" height=\"294\" srcset=\"https:\/\/www.alandaletraining.com\/software-tips\/wp-content\/uploads\/2017\/06\/New-Rule-dialog-box-300x294.jpg 300w, https:\/\/www.alandaletraining.com\/software-tips\/wp-content\/uploads\/2017\/06\/New-Rule-dialog-box.jpg 373w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><br \/>\n10. Click on OK twice<\/p>\n<p>Notes:<br \/>\n\u2022 Conditional Formatting applies formatting when the formula returns a TRUE result. You might want to experiment with the formula you are going to use before you create a rule. This will be useful in getting the logic and syntax of the formula correct before you dive into conditional formatting. So, in the example above I clicked in a column to the right of Paid and created the formula I wanted to use. = D2 = &#8220;x&#8221;<br \/>\n\u2022 If you are going to use text in a formula you need to put it in &#8221; &#8221; otherwise you\u2019ll get a #NAME error<br \/>\n\u2022 If one of your columns contained dates, you could use conditional formatting to highlight rows that had today\u2019s date or all dates in the last seven days.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have rows of data in an Excel spreadsheet it can sometimes be handy to highlight the row based on the value in one of the cells in that &#8230;<\/p>\n","protected":false},"author":4,"featured_media":278,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-277","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-excel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using Conditional Formatting to highlight a row of data\u00a0 in Excel - Alandale Training Software Tips<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using Conditional Formatting to highlight a row of data\u00a0 in Excel - Alandale Training Software Tips\" \/>\n<meta property=\"og:description\" content=\"If you have rows of data in an Excel spreadsheet it can sometimes be handy to highlight the row based on the value in one of the cells in that ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/\" \/>\n<meta property=\"og:site_name\" content=\"Alandale Training Software Tips\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-07T16:50:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-06-07T16:51:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.alandaletraining.com\/software-tips\/wp-content\/uploads\/2017\/06\/Highlight-row-with-conditional-formatting.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"275\" \/>\n\t<meta property=\"og:image:height\" content=\"156\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"John Chandler\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John Chandler\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using Conditional Formatting to highlight a row of data\u00a0 in Excel - Alandale Training Software Tips","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/","og_locale":"en_US","og_type":"article","og_title":"Using Conditional Formatting to highlight a row of data\u00a0 in Excel - Alandale Training Software Tips","og_description":"If you have rows of data in an Excel spreadsheet it can sometimes be handy to highlight the row based on the value in one of the cells in that ...","og_url":"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/","og_site_name":"Alandale Training Software Tips","article_published_time":"2017-06-07T16:50:27+00:00","article_modified_time":"2017-06-07T16:51:09+00:00","og_image":[{"width":275,"height":156,"url":"https:\/\/www.alandaletraining.com\/software-tips\/wp-content\/uploads\/2017\/06\/Highlight-row-with-conditional-formatting.jpg","type":"image\/jpeg"}],"author":"John Chandler","twitter_card":"summary_large_image","twitter_misc":{"Written by":"John Chandler","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/#article","isPartOf":{"@id":"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/"},"author":{"name":"John Chandler","@id":"https:\/\/www.alandaletraining.com\/software-tips\/#\/schema\/person\/4354e1f8ae425698db32a15825a8ecb4"},"headline":"Using Conditional Formatting to highlight a row of data\u00a0 in Excel","datePublished":"2017-06-07T16:50:27+00:00","dateModified":"2017-06-07T16:51:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/"},"wordCount":300,"image":{"@id":"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.alandaletraining.com\/software-tips\/wp-content\/uploads\/2017\/06\/Highlight-row-with-conditional-formatting.jpg","articleSection":["Excel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/","url":"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/","name":"Using Conditional Formatting to highlight a row of data\u00a0 in Excel - Alandale Training Software Tips","isPartOf":{"@id":"https:\/\/www.alandaletraining.com\/software-tips\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/#primaryimage"},"image":{"@id":"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.alandaletraining.com\/software-tips\/wp-content\/uploads\/2017\/06\/Highlight-row-with-conditional-formatting.jpg","datePublished":"2017-06-07T16:50:27+00:00","dateModified":"2017-06-07T16:51:09+00:00","author":{"@id":"https:\/\/www.alandaletraining.com\/software-tips\/#\/schema\/person\/4354e1f8ae425698db32a15825a8ecb4"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.alandaletraining.com\/software-tips\/2017\/06\/07\/using-conditional-formatting-highlight-row-data-excel\/#primaryimage","url":"https:\/\/www.alandaletraining.com\/software-tips\/wp-content\/uploads\/2017\/06\/Highlight-row-with-conditional-formatting.jpg","contentUrl":"https:\/\/www.alandaletraining.com\/software-tips\/wp-content\/uploads\/2017\/06\/Highlight-row-with-conditional-formatting.jpg","width":275,"height":156},{"@type":"WebSite","@id":"https:\/\/www.alandaletraining.com\/software-tips\/#website","url":"https:\/\/www.alandaletraining.com\/software-tips\/","name":"Alandale Training Software Tips","description":"Weekly Software Tips","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.alandaletraining.com\/software-tips\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.alandaletraining.com\/software-tips\/#\/schema\/person\/4354e1f8ae425698db32a15825a8ecb4","name":"John Chandler","sameAs":["http:\/\/AlandaleTraining.com"],"url":"https:\/\/www.alandaletraining.com\/software-tips\/author\/john1973\/"}]}},"_links":{"self":[{"href":"https:\/\/www.alandaletraining.com\/software-tips\/wp-json\/wp\/v2\/posts\/277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alandaletraining.com\/software-tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alandaletraining.com\/software-tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alandaletraining.com\/software-tips\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alandaletraining.com\/software-tips\/wp-json\/wp\/v2\/comments?post=277"}],"version-history":[{"count":1,"href":"https:\/\/www.alandaletraining.com\/software-tips\/wp-json\/wp\/v2\/posts\/277\/revisions"}],"predecessor-version":[{"id":280,"href":"https:\/\/www.alandaletraining.com\/software-tips\/wp-json\/wp\/v2\/posts\/277\/revisions\/280"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.alandaletraining.com\/software-tips\/wp-json\/wp\/v2\/media\/278"}],"wp:attachment":[{"href":"https:\/\/www.alandaletraining.com\/software-tips\/wp-json\/wp\/v2\/media?parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alandaletraining.com\/software-tips\/wp-json\/wp\/v2\/categories?post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alandaletraining.com\/software-tips\/wp-json\/wp\/v2\/tags?post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}