{"id":20668,"date":"2019-06-12T19:21:45","date_gmt":"2019-06-13T00:21:45","guid":{"rendered":"https:\/\/breakingintowallstreet.com\/biws\/?post_type=biws_kb&#038;p=20668"},"modified":"2024-08-14T06:39:52","modified_gmt":"2024-08-14T11:39:52","slug":"how-to-color-code-in-excel","status":"publish","type":"biws_kb","link":"https:\/\/breakingintowallstreet.com\/kb\/excel\/how-to-color-code-in-excel\/","title":{"rendered":"How to Color Code in Excel for Financial Models (PC\/Windows Version) [Tutorial Video] (32:42)"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-flat ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">How to Color Code in Excel for Financial Models (PC\/Windows Version)<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/breakingintowallstreet.com\/kb\/excel\/how-to-color-code-in-excel\/#How_to_Color_Code_in_Excel_Key_PC_and_Mac_Shortcuts\">How to Color Code in Excel: Key PC and Mac Shortcuts<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/breakingintowallstreet.com\/kb\/excel\/how-to-color-code-in-excel\/#How_to_Color_Code_in_Excel_What_Financial_Models_Should_Look_Like\">How to Color Code in Excel: What Financial Models Should Look Like<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/breakingintowallstreet.com\/kb\/excel\/how-to-color-code-in-excel\/#Other_Principles_of_Financial_Model_Formatting\">Other Principles of Financial Model Formatting<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/breakingintowallstreet.com\/kb\/excel\/how-to-color-code-in-excel\/#How_to_Automate_the_Color-Coding_Process_in_Excel\">How to Automate the Color-Coding Process in Excel<\/a><\/li><\/ul><\/nav><\/div>\n\n<style>.enteremail__large--inline{margin:60px auto!important}<\/style>\n<p>This sample lesson from our Excel\/VBA course covers\u00a0<strong>how to color code in Excel<\/strong> and some of the key principles for\u00a0<strong>formatting financial models.<\/strong><\/p>\n<p><strong>Table of Contents:<\/strong><\/p>\n<p><strong>1:06:<\/strong> Formatting Principles<\/p>\n<p><strong>11:02:<\/strong> Demonstration of Walmart Model Fixes<\/p>\n<p><strong>19:59:<\/strong> Exercise \u2013 Summary Spreadsheet Fixes<\/p>\n<p><strong>30:34:<\/strong> Recap and Summary<\/p>\n<p>We have some general guidelines for model formatting, but these are not like the laws of physics (gravity, momentum, speed of light, etc.) &#8211; they&#8217;re &#8220;rules of thumb&#8221; rather than &#8220;laws of nature.&#8221;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Color_Code_in_Excel_Key_PC_and_Mac_Shortcuts\"><\/span><strong>How to Color Code in Excel: Key PC and Mac Shortcuts<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We use the following colors for different types of cells:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-21956 size-full\" title=\"How to Color Code in Excel - Standards\" src=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075550\/Color-Code-01.jpg\" alt=\"How to Color Code in Excel - Standards\" width=\"1021\" height=\"131\" srcset=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075550\/Color-Code-01.jpg 1021w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075550\/Color-Code-01-300x38.jpg 300w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075550\/Color-Code-01-768x99.jpg 768w\" sizes=\"(max-width: 1021px) 100vw, 1021px\" \/><\/p>\n<p>To find and select these cells, you can use the following <strong>PC\/Windows shortcuts<\/strong>:<\/p>\n<p><strong>F5:<\/strong> Jump to Cell<\/p>\n<p><strong>F5, Alt + S, O, X:<\/strong> Select Constants (Drop the X if you want to highlight text constants)<\/p>\n<p><strong>F5, Alt + S, F, X:<\/strong> Select Formulas (Drop the X to highlight textual formulas)<\/p>\n<p><strong>Ctrl + 1:<\/strong> Format Dialog Box<\/p>\n<p><strong>Ctrl + F:<\/strong> Find<\/p>\n<p>For example, if you press F5, Alt + S, O, X, that will highlight all constants on the spreadsheet. You can then press Ctrl + 1 to change their font color to blue, or you can access the font color commands from the &#8220;Home&#8221; tab in the ribbon menu.<\/p>\n<p>To find direct links to other spreadsheets in the file, you can press Ctrl + F and search for the &#8220;!&#8221; character, which always indicates links to other sheets.<\/p>\n<p>To find links to other files, search for &#8220;.xls&#8221; using Ctrl + F, and change the font color to red for each instance.<\/p>\n<p>In the <strong>Mac version of Excel<\/strong>, you can use these shortcuts instead:<\/p>\n<p><strong>F5 or Ctrl + G:<\/strong> Jump to Cell<\/p>\n<p><strong>F5 or Ctrl + G, Special, Constants:<\/strong> Select Constants (Drop the X if you want to highlight text constants)<\/p>\n<p><strong>F5 or Ctrl + G, Special, Formulas:<\/strong> Select Formulas (Drop the X to highlight textual formulas)<\/p>\n<p><strong>\u2318 + 1:<\/strong> Format Dialog Box<\/p>\n<p><strong>\u2318 + F:<\/strong> Find<\/p>\n<div class='code-block code-block-4' style='margin: 8px 0; clear: both;'>\n<div class=\"kb-adinsert-modal\">\n    <div class=\"kb-adinsert-top\">\n      <div class=\"media\">\n          <img decoding=\"async\" class=\"alignnone size-full wp-image-28448\" src=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2024\/05\/07054849\/Excel-VBA-Ico.png\" alt=\"Excel & VBA\" width=\"128\" height=\"128\" \/>\n      <\/div>\n      <div class=\"content\">\n          <h3>Learn Excel Shortcuts, Formulas, Graphs, Data, and VBA for Automation<\/h3>\n      <\/div>\n    <\/div>\n    \n    <div class=\"full_text\">\n    \t<ul>\n        \t<li>\n            \t<h4>Become a shortcut, formula & formatting machine<\/h4>\n              <p>Excel will be your \u201cnative language\u201d after you finish this course<\/p>\n\t\t\t    <\/li>\n          <li>\n          \t<h4>Learn the skills with dozens of practice exercises<\/h4>\n            <p>Learn by doing and check your work against the solutions<\/p>\n\t\t\t    <\/li>\n          <li>\n          \t<h4>Shave hours off your workday with VBA and macros<\/h4>\n            <p>Automate repetitive tasks, format spreadsheets quickly, and more\n\n<\/p>\n\t\t\t  <\/li>\n      <\/ul>\n        \n      <a class=\"cta-link orange-button-medium\" href=\"https:\/\/breakingintowallstreet.com\/excel-vba\/\" target=\"_blank\">Full Details<\/a>\n      \n      <a class=\"cta-link orange-button-medium bg-blue\" href=\"https:\/\/biws-support.s3.us-east-1.amazonaws.com\/Course-Outlines\/Excel-VBA-Course-Outline.pdf\" target=\"_blank\" rel=\"noopener\">Short Outline<\/a>\n    <\/div>\n<\/div>\n<\/div>\n\n<h2><span class=\"ez-toc-section\" id=\"How_to_Color_Code_in_Excel_What_Financial_Models_Should_Look_Like\"><\/span><strong>How to Color Code in Excel: What Financial Models Should Look Like<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you follow these standards for color coding, your financial models should look like the examples below.<\/p>\n<p>Here\u2019s the normal color-coding scheme:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-21957 size-large\" title=\"How to Color Code in Excel: Green, Black, and Blue\" src=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075550\/Color-Code-02-1024x255.jpg\" alt=\"How to Color Code in Excel: Green, Black, and Blue\" width=\"1024\" height=\"255\" srcset=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075550\/Color-Code-02-1024x255.jpg 1024w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075550\/Color-Code-02-300x75.jpg 300w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075550\/Color-Code-02-768x191.jpg 768w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075550\/Color-Code-02.jpg 1343w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>We use a yellow background and grey border for \u201cinput cells\u201d that are assumptions or drivers in the model, while we use a white background with no borders for historical financial data:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-21958 size-full\" title=\"How to Color Code in Excel: Assumptions and Historical Financial Data\" src=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075549\/Color-Code-03.jpg\" alt=\"How to Color Code in Excel: Assumptions and Historical Financial Data\" width=\"878\" height=\"475\" srcset=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075549\/Color-Code-03.jpg 878w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075549\/Color-Code-03-300x162.jpg 300w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075549\/Color-Code-03-768x415.jpg 768w\" sizes=\"(max-width: 878px) 100vw, 878px\" \/><\/p>\n<p>Here are a few other examples of cell colors based on their categories and contents:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-21959 size-full\" title=\"Color Coding by Cell Category\" src=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075548\/Color-Code-04.jpg\" alt=\"Color Coding by Cell Category\" width=\"813\" height=\"275\" srcset=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075548\/Color-Code-04.jpg 813w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075548\/Color-Code-04-300x101.jpg 300w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075548\/Color-Code-04-768x260.jpg 768w\" sizes=\"(max-width: 813px) 100vw, 813px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Other_Principles_of_Financial_Model_Formatting\"><\/span><strong>Other Principles of Financial Model Formatting<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In addition to the points above about color-coding, we follow these guidelines with other types of formatting:<\/p>\n<p><strong>Centering:<\/strong> We use the &#8220;Accounting&#8221; format and variations of the &#8220;Percentage&#8221; format for most numbers, so centering is not an issue there. For the input boxes, we prefer to center percentages, dates, text, and normal numbers, but we do not apply it to anything in the &#8220;Accounting&#8221; format.<\/p>\n<p><strong>Dollar or Other Currency Signs:<\/strong> Only display these in the top row and bottom row of schedules. Sometimes it&#8217;s a bit ambiguous what a &#8220;schedule&#8221; is &#8211; often, we&#8217;ll display these in the top and bottom rows of each major segment.<\/p>\n<p><strong>&#8220;Units&#8221;:<\/strong> We like to use an extra column to display the units, especially in schedules that mix $ per Sq Ft and Sq Ft and other figures with actual $, to remove ambiguity.<\/p>\n<p><strong>Indentation:<\/strong> We indent the individual rows within each category, and we use multiple indents for sub-categories. We also indent percentages used for informational purposes such as the margin formulas.<\/p>\n<p><strong>Signs:<\/strong> On the IS and CFS, we often use (+) and (-) when it is meaningful to do so &#8211; for example, if everything in a row is going to be positive or negative, and it&#8217;s easy to specify which is which.<\/p>\n<p><strong>Italics:<\/strong> We usually italicize <em>percentages used for informational purposes<\/em> &#8211; so, the overall margins and revenue growth rates, but not the assumptions used to calculate them in the first place. Those are in the yellow input boxes!<\/p>\n<p><strong>Decimals:<\/strong> It doesn&#8217;t matter what you do as long as you&#8217;re consistent. Use 1 decimal, 0 decimals, or 2 decimal places for all the financial figures in your model\u2026 exceptions apply for the Share Price and EPS figures, which almost always use 2 decimal places because of how share prices are displayed.<\/p>\n<p>We also usually use at least 1 decimal place, sometimes up to 2-3, to display the company&#8217;s share count. Usually 1 decimal place for valuation multiples and percentages as well &#8211; even if the financial figures in the model have 0 decimal places, as is the case here.<\/p>\n<p><strong>Headers:<\/strong> We use a blue background color, white text, and the &#8220;FY&#8221; format for the top header with the Historical and Projected years. We then use a grey background color for the other headers in a schedule &#8211; sometimes display the years on top depending on the spacing.<\/p>\n<p>You can view examples of these standards in action below:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-21960 size-large\" title=\"Header and Unit Formatting\" src=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075548\/Color-Code-05-1024x503.jpg\" alt=\"Header and Unit Formatting\" width=\"1024\" height=\"503\" srcset=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075548\/Color-Code-05-1024x503.jpg 1024w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075548\/Color-Code-05-300x147.jpg 300w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075548\/Color-Code-05-768x377.jpg 768w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075548\/Color-Code-05.jpg 1263w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-21961 size-large\" title=\"Income Statement Formatting\" src=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075547\/Color-Code-06-1024x448.jpg\" alt=\"Income Statement Formatting\" width=\"1024\" height=\"448\" srcset=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075547\/Color-Code-06-1024x448.jpg 1024w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075547\/Color-Code-06-300x131.jpg 300w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075547\/Color-Code-06-768x336.jpg 768w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075547\/Color-Code-06.jpg 1352w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-21963 size-large\" title=\"Financial Model Formatting - Indentations\" src=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075546\/Color-Code-07-1-1024x507.jpg\" alt=\"Financial Model Formatting - Indentations\" width=\"1024\" height=\"507\" srcset=\"https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075546\/Color-Code-07-1-1024x507.jpg 1024w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075546\/Color-Code-07-1-300x148.jpg 300w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075546\/Color-Code-07-1-768x380.jpg 768w, https:\/\/biwsuploads-assest.s3.amazonaws.com\/biws\/wp-content\/uploads\/2019\/06\/19075546\/Color-Code-07-1.jpg 1297w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Automate_the_Color-Coding_Process_in_Excel\"><\/span><strong>How to Automate the Color-Coding Process in Excel<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>It&#8217;s difficult to automate &#8220;all&#8221; this formatting, but you can automate much of the color-coding process if you feel comfortable using VBA, which we cover in the final module of this course.<\/p>\n<p>In short, you can use the .SpecialCells, Union, and Intersect commands to find the appropriate cells, loop through them, and change the colors appropriately.<\/p>\n<p>You can get the full Excel file (.xlsm) or just the .xlam file for the VBA code itself below:<\/p>\n<p><a href=\"https:\/\/samples-breakingintowallstreet-com.s3.amazonaws.com\/Color-Code-Macro-Excel-File.xlsm\" target=\"_blank\" rel=\"noopener noreferrer\">Full Excel File with Color-Code Macro<\/a><\/p>\n<p><a href=\"https:\/\/samples-breakingintowallstreet-com.s3.amazonaws.com\/Color-Code-Macro.xlam\" target=\"_blank\" rel=\"noopener noreferrer\">Color-Code Macro VBA Code<\/a><\/p>\n<p><strong>Note:<\/strong> You must know Excel fairly well to use macros. If not, you could do serious damage to your spreadsheets. If you have little experience in Excel, then you should not mess around with this macro.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this lesson, you\u2019ll learn how to apply color coding and formatting to financial models and fix problems with decimals, currency signs, indentation, alignment, links vs. formulas vs. constants, and more \u2013 and you\u2019ll practice by fixing the formatting on the Summary spreadsheet.<\/p>\n","protected":false},"featured_media":29303,"template":"","class_list":["post-20668","biws_kb","type-biws_kb","status-publish","has-post-thumbnail","hentry","kb_category-excel"],"acf":[],"_links":{"self":[{"href":"https:\/\/breakingintowallstreet.com\/wp-json\/wp\/v2\/biws_kb\/20668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/breakingintowallstreet.com\/wp-json\/wp\/v2\/biws_kb"}],"about":[{"href":"https:\/\/breakingintowallstreet.com\/wp-json\/wp\/v2\/types\/biws_kb"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/breakingintowallstreet.com\/wp-json\/wp\/v2\/media\/29303"}],"wp:attachment":[{"href":"https:\/\/breakingintowallstreet.com\/wp-json\/wp\/v2\/media?parent=20668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}