
{"id":11764,"date":"2022-01-03T15:40:55","date_gmt":"2022-01-03T14:40:55","guid":{"rendered":"https:\/\/careerfoundry.inbearbeitung.de\/en\/?p=11764"},"modified":"2023-05-16T14:50:44","modified_gmt":"2023-05-16T12:50:44","slug":"data-analysis-in-excel","status":"publish","type":"post","link":"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/data-analysis-in-excel\/","title":{"rendered":"10 Essential Excel Features For Data Analysts (and How to Use Them)"},"content":{"rendered":"<p><strong>Spreadsheets are still in style! <\/strong><span style=\"font-weight: 400;\">The use of electronic spreadsheets date back to 1979 and are still one of the most popular ways to review and manipulate data. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Today, Microsoft\u2019s ubiquitous spreadsheet program Excel has over 750 million users and is used in some of the largest companies worldwide. I personally use Excel almost every day because it can sometimes lead to quicker results than spinning up Python or loading the data into a database.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">One of the reasons Excel is so popular is because it is jam-packed with features and functions that can be used to <\/span><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/what-is-data-cleaning\/\"><span style=\"font-weight: 400;\">clean<\/span><\/a><span style=\"font-weight: 400;\">, aggregate, pivot, and graph data. In this article, we\u2019ll go over the 10 features and functions for using data analysis in Excel I think every analyst needs to know:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"#pivot-table-pivot-chart\"><span style=\"font-weight: 400;\">Pivot tables and pivot charts<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"#conditional-formatting\"><span style=\"font-weight: 400;\">Conditional formatting<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"#remove-duplicates\"><span style=\"font-weight: 400;\">Remove duplicates<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"#xlookup\"><span style=\"font-weight: 400;\">XLOOKUP<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"#iferror\"><span style=\"font-weight: 400;\">IFERROR<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"#match\"><span style=\"font-weight: 400;\">MATCH<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"#countblank\"><span style=\"font-weight: 400;\">COUNTBLANK<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"#days-networkdays\"><span style=\"font-weight: 400;\">DAYS and NETWORKDAYS<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"#rank\"><span style=\"font-weight: 400;\">RANK<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"#sumproduct\"><span style=\"font-weight: 400;\">SUMPRODUCT<\/span><\/a><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">You can click any of the features to skip ahead to them.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Before we get started\u2026<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">In order to show the power of data analysis in Excel, we need some data to play around with and graph.<\/span><a href=\"https:\/\/www.kaggle.com\/imakash3011\/customer-personality-analysis\" rel=\"noopener\"> <span style=\"font-weight: 400;\">I am using the Customer Personality Analysis dataset from Kaggle in these examples.<\/span><\/a><span style=\"font-weight: 400;\"> You can download it to follow along.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11780\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/1.png\" alt=\"Customer Personality Analysis dataset from Kaggle\" width=\"600\" height=\"103\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/1.png 924w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/1-300x52.png 300w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/1-768x132.png 768w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h3><span style=\"font-weight: 400;\">&#8230; and, if you want to watch along&#8230;<\/span><\/h3>\n<p>Here&#8217;s our very own senior data scientist, Tom, explaining these functions in a video:<\/p>\n<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }<\/style>\n<div class=\"embed-container\"><iframe src=\"https:\/\/www.youtube.com\/embed\/B4dBMsOT1aA\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<h2 id=\"&quot;pivot-table-pivot-chart\"><span style=\"font-weight: 400;\">1. Pivot tables and pivot charts<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">One of my favorite features in Excel is pivot charts and, as a close follow-up feature, pivot tables. Pivot charts visualize the data expressed in a pivot table, giving us insight at a glance. Pivot tables provide a simple approach to reformatting columns and rows, transforming them into groupings, statistics, or summaries. We can create a chart along with the table using the<\/span><b> PivotChart<\/b><span style=\"font-weight: 400;\"> feature under <\/span><b>Insert<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11781\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/2.png\" alt=\"Pivot Table\/Pivot Chart\" width=\"600\" height=\"228\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/2.png 661w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/2-300x114.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Let&#8217;s say we wanted to count the records grouped by <\/span><b>Marital_Status<\/b><span style=\"font-weight: 400;\">. Using a pivot table makes that super simple, because it transforms the data and aggregates it for us.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To create a pivot chart and pivot table, first select the range of data you want to include then click <\/span><b>Insert &gt; PivotChart &gt; PivotChart &amp; PivotTable<\/b><span style=\"font-weight: 400;\">. The Create PivotTable editor will pop up.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11782\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/3.png\" alt=\"Create PivotTable\" width=\"417\" height=\"366\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/3.png 417w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/3-300x263.png 300w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">The selected range will appear in the <\/span><b>Table\/Range<\/b><span style=\"font-weight: 400;\"> field by default. Click <\/span><b>OK<\/b><span style=\"font-weight: 400;\"> and the pivot table will generate.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11783\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/4.png\" alt=\"Generated PivotTable in Excel\" width=\"600\" height=\"308\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/4.png 880w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/4-300x154.png 300w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/4-768x394.png 768w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">In the PivotChart Fields, drag <\/span><b>Marital_Status<\/b><span style=\"font-weight: 400;\"> from the field list into the <\/span><b>Axis (Categories)<\/b><span style=\"font-weight: 400;\"> box. Then drag <\/span><b>Marital_Status<\/b><span style=\"font-weight: 400;\"> from the field list into the <\/span><b>Values<\/b><span style=\"font-weight: 400;\"> box. Since the Marital_Status data is a string, the Values aggregation should default to <\/span><b>Count<\/b><span style=\"font-weight: 400;\">. If the data type were numeric, the aggregation defaults to <\/span><b>Sum<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11784\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/5.png\" alt=\"\" width=\"394\" height=\"442\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/5.png 394w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/5-267x300.png 267w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">The pivot table and chart should populate. You can add additional dimensions or filters by dragging new fields into the corresponding box. It only takes a few clicks to aggregate data and visualize it in Excel, which is why it is such a widely-used tool.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11785\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/6.png\" alt=\"\" width=\"600\" height=\"246\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/6.png 873w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/6-300x123.png 300w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/6-768x315.png 768w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h2 id=\"conditional-formatting\"><span style=\"font-weight: 400;\">2. Conditional formatting<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Thinking about it, I probably use conditional formatting more than any other feature in Excel. Conditional formatting allows you to highlight or hide cells based on a rule you specify. Apply the rules to one cell or multiple cells in the same worksheet. It is useful for highlighting <\/span><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/what-is-an-outlier\/\"><span style=\"font-weight: 400;\">outliers<\/span><\/a><span style=\"font-weight: 400;\">, duplicates, or patterns in data.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11786\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/7.png\" alt=\"\" width=\"212\" height=\"428\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/7.png 212w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/7-149x300.png 149w\" sizes=\"auto, (max-width: 212px) 100vw, 212px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Let&#8217;s say we want to highlight all <\/span><b>Year_Birth <\/b><span style=\"font-weight: 400;\">values greater than 1987 in the dataset.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Select the <\/span><b>Year_Birth<\/b><span style=\"font-weight: 400;\"> column and click <\/span><b>Conditional Formatting &gt; Highlight Cells Rules &gt; Greater Than<\/b><span style=\"font-weight: 400;\">. The editor will pop up:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11787\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/8.png\" alt=\"\" width=\"485\" height=\"147\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/8.png 485w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/8-300x91.png 300w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Enter 1987 and click <\/span><b>OK<\/b><span style=\"font-weight: 400;\">. The cells in the column with a value greater than 1987 will turn light red.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If we decide we want to adjust the conditional formatting rule we just created, follow path <\/span><b>Conditional Formatting &gt; Conditional Formatting Rules Manager<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11788\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/9.png\" alt=\"\" width=\"600\" height=\"221\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/9.png 841w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/9-300x111.png 300w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/9-768x283.png 768w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">From the manager we are able to create new rules or edit existing ones. It is possible to have multiple rules affecting the spreadsheet.<\/span><\/p>\n<h2 id=\"remove-duplicates\"><span style=\"font-weight: 400;\">3. Remove duplicates<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Data is often messy, so it is important that you know how to remove duplicates. Using conditional formatting rules, you can highlight the duplicate data to review it before deleting it. The <\/span><b>Remove Duplicates<\/b><span style=\"font-weight: 400;\"> feature is available under <\/span><b>Data &gt; Data Tools &gt; Remove Duplicates<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11789\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/10.png\" alt=\"\" width=\"345\" height=\"229\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/10.png 345w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/10-300x199.png 300w\" sizes=\"auto, (max-width: 345px) 100vw, 345px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Highlight the dataset in Excel and click <\/span><b>Remove Duplicates<\/b><span style=\"font-weight: 400;\">. The Remove Duplicates editor appears:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11790\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/11.png\" alt=\"\" width=\"529\" height=\"347\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/11.png 529w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/11-300x197.png 300w\" sizes=\"auto, (max-width: 529px) 100vw, 529px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">The editor allows us to select columns that should be included when deleting the duplicates. Make sure the <\/span><b>My data has headers<\/b><span style=\"font-weight: 400;\"> checkbox is marked if the column names are not displaying.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click <\/span><b>OK<\/b><span style=\"font-weight: 400;\">. The duplicates will be dropped from the dataset. It will tell us how many unique values remain.<\/span><\/p>\n<h2 id=\"xlookup\"><span style=\"font-weight: 400;\">4. XLOOKUP<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">XLOOKUP is like a combination of VLOOKUP and HLOOKUP, since it can go either vertically or horizontally to lookup a value from a range. It essentially allows you to use a selected range as a lookup table and return a \u201clooked up\u201d result to a cell. The syntax is as follows:<\/span><\/p>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/office\/xlookup-function-b7fd680e-6d10-43e6-84f9-88eae8bf5929\" rel=\"noopener\"><b>=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])<\/b><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Let&#8217;s say we want to look up the <\/span><b>Year_Birth <\/b><span style=\"font-weight: 400;\">based on an entered <\/span><b>ID <\/b><span style=\"font-weight: 400;\">value. In cell <\/span><b>AD2<\/b><span style=\"font-weight: 400;\">, enter an ID value\u2014for example, 8755. In cell <\/span><b>AE2<\/b>,<span style=\"font-weight: 400;\"> enter the XLOOKUP formula:<\/span><\/p>\n<p><b>=XLOOKUP(<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The<\/span><b> lookup_value<\/b><span style=\"font-weight: 400;\"> is the value we want looked up by the function, so we enter <\/span><b>AD2<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><b>lookup_array<\/b><span style=\"font-weight: 400;\"> is a column or row that contains the lookup value, so we enter <\/span><b>A2:A2241<\/b><span style=\"font-weight: 400;\"> since that will give us an array of IDs.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><b>return_array<\/b><span style=\"font-weight: 400;\"> is the column or row that contains the value we want to return, so we select <\/span><b>B2:B2241<\/b><span style=\"font-weight: 400;\"> since that will give us <\/span><b>Year_Birth<\/b><span style=\"font-weight: 400;\"> values.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The completed formula will look like this: <\/span><b>=XLOOKUP(AD2, A2:A2241, B2:B2241)<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11791\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/12.png\" alt=\"\" width=\"331\" height=\"93\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/12.png 331w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/12-300x84.png 300w\" sizes=\"auto, (max-width: 331px) 100vw, 331px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Enter in different IDs and the corresponding <\/span><b>Year_Birth<\/b><span style=\"font-weight: 400;\"> will return.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Lookup functions are very powerful, and you can even join data from different sheets or nest lookup functions within each other. For example, you could sum the value of multiple lookups.\u00a0<\/span><\/p>\n<h2 id=\"iferror\"><span style=\"font-weight: 400;\">5. IFERROR<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The <\/span><b>IFERROR<\/b><span style=\"font-weight: 400;\"> function is used to create a custom error message when a formula results in an error. For example, we can use it to wrap our XLOOKUP function so it returns a clear message if the ID isn\u2019t found. The syntax is relatively simple.<\/span><\/p>\n<p><b>=IFERROR(value, value_if_error)<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Going back to the XLOOKUP function,\u00a0 if we enter an ID in to <\/span><b>AD2<\/b><span style=\"font-weight: 400;\"> that doesn\u2019t exist in the lookup array, <\/span><b>AE2<\/b><span style=\"font-weight: 400;\"> outputs <\/span><b><i>#N\/A<\/i><\/b><span style=\"font-weight: 400;\">. Instead, let&#8217;s return \u201cID Not Found.\u201d For the value in the IFERROR function, use the XLOOKUP function. It should look like this:<\/span><\/p>\n<p><b>=IFERROR(XLOOKUP(AD2, A2:A2241, B2:B2241), \u201cID Not Found\u201d)<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11792\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/13.png\" alt=\"IFERROR message on Excel\" width=\"330\" height=\"86\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/13.png 330w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/13-300x78.png 300w\" sizes=\"auto, (max-width: 330px) 100vw, 330px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">In addition to text, you can point the <\/span><b>value_if_error<\/b><span style=\"font-weight: 400;\"> at another cell too. If you target a blank cell as the value for <\/span><b>value_if_error<\/b><span style=\"font-weight: 400;\">, <\/span><b>0<\/b><span style=\"font-weight: 400;\"> will appear in the cell.<\/span><\/p>\n<h2 id=\"match\"><span style=\"font-weight: 400;\">6. MATCH<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Similar to the lookup functions, <\/span><b>MATCH<\/b><span style=\"font-weight: 400;\"> can be used when you need the position of a value in a range instead of the value itself.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This is the syntax for MATCH:<\/span><\/p>\n<p><b>=MATCH(lookup_value, lookup_array, [match_type])<\/b><\/p>\n<p><span style=\"font-weight: 400;\">When writing the function, it is important to know which <\/span><b><i>match type<\/i><\/b><span style=\"font-weight: 400;\"> to use. Although it is optional and defaults to 1, the available options are -1, 0, or 1.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-1: Finds the smallest value that is greater than or equal to <\/span><b><i>lookup_value<\/i><\/b><i><span style=\"font-weight: 400;\">.<\/span><\/i><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">0: Finds the first value that is exactly equal to <\/span><b><i>lookup_value<\/i><\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">1: Finds the largest value that is less than or equal to <\/span><b><i>lookup_value<\/i><\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">If we want to find the first time the looked up birth year occurs, add a the following MATCH formula to cell <\/span><b>AF2<\/b><span style=\"font-weight: 400;\">:<\/span><\/p>\n<p><b>=MATCH(AE2,B:B, 0)<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11793\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/14.png\" alt=\"\" width=\"600\" height=\"108\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/14.png 812w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/14-300x54.png 300w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/14-768x138.png 768w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h2 id=\"countblank\"><span style=\"font-weight: 400;\">7. COUNTBLANK<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The <\/span><b>COUNTBLANK<\/b><span style=\"font-weight: 400;\"> function is fairly intuitive, but it is an important function for <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/data-wrangling\/\">data wrangling<\/a> in analytics because many machine learning algorithms are sensitive to nulls. By knowing how many values are null, you have a better understanding of how to approach them. For example, if a lot of values are null you should drop the column. If few values are null you should impute a value to fill the null. COUNTBLANK counts the number of empty cells in a range. The syntax is simple:<\/span><\/p>\n<p><b>=COUNTBLANK(range)<\/b><\/p>\n<p><span style=\"font-weight: 400;\">We want to count the number of nulls in the <\/span><b>Income<\/b><span style=\"font-weight: 400;\"> column, so add this formula to cell <\/span><b>AG2<\/b><span style=\"font-weight: 400;\">:<\/span><\/p>\n<p><b>=COUNTBLANK(E2:E2241)<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11794\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/15.png\" alt=\"\" width=\"551\" height=\"88\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/15.png 551w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/15-300x48.png 300w\" sizes=\"auto, (max-width: 551px) 100vw, 551px\" \/><\/p>\n<h2 id=\"days-networkdays\"><span style=\"font-weight: 400;\">8. DAYS and NETWORK DAYS<\/span><\/h2>\n<p><b>DAYS<\/b><span style=\"font-weight: 400;\"> and <\/span><b>NETWORKDAYS<\/b><span style=\"font-weight: 400;\"> are separate functions, but they are similar enough to not warrant individual entries in my list. The DAYS function simply returns the number of days between two dates, whereas the NETWORKDAYS function is slightly different in that it excludes weekends and specified holidays. It only returns the number of working days between two dates. The syntax for both is easy to remember:<\/span><\/p>\n<p><b>=DAYS(start_date, end_date)<\/b><\/p>\n<p><b>=NETWORKDAYS(start_date, end_date, [holidays])<\/b><\/p>\n<p><span style=\"font-weight: 400;\">At my job, one of the things I analyze is usage data. I use these functions for things like counting the number of days since a user has logged in or used a tool. Since our software is used in schools, sometimes it makes sense to exclude weekends and holidays from our usage data so I\u2019m thankful for the NETWORKDAYS function.<\/span><\/p>\n<h2 id=\"rank\"><span style=\"font-weight: 400;\">9. RANK<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The RANK function orders a number by its size relative to other values in a list and returns the desired rank. That means the rank of the number would be its position if the list becomes sorted by ascending or descending order. For example, sort Income in descending order so the biggest value is at the top and that could be rank 1. RANK gives duplicate numbers the same rank, but cumulatively counts. That means if two values are rank four, the next rank will be six, not five (1,2,3,4,4,6). The syntax for RANK takes 3 arguments.<\/span><\/p>\n<p><b>=RANK(number, ref, [order])<\/b><\/p>\n<p><span style=\"font-weight: 400;\">It is important to note that <\/span><b>[order]<\/b><span style=\"font-weight: 400;\"> can be set to <\/span><b>0<\/b><span style=\"font-weight: 400;\"> for descending and <\/span><b>1<\/b><span style=\"font-weight: 400;\"> (or greater) for ascending.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We want to rank the income (column E) of our customers, so we will use the following formula in cell <\/span><b>AH2<\/b><span style=\"font-weight: 400;\">:<\/span><\/p>\n<p><b>=RANK(E2, E2:E2241, 0)<\/b><\/p>\n<p><span style=\"font-weight: 400;\">In the bottom right corner of cell <\/span><b>AH2<\/b><span style=\"font-weight: 400;\">, click the square and drag it down to the last row of data and the formula will automatically copy allowing us to quickly generate a rank for each income value.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11795\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/16.png\" alt=\"\" width=\"114\" height=\"136\" title=\"\"><\/p>\n<h2 id=\"sumproduct\"><span style=\"font-weight: 400;\">10. SUMPRODUCT<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The last function on my top 10 list is <\/span><b>SUMPRODUCT<\/b><span style=\"font-weight: 400;\">. It is great when you need to do arithmetic on specific groups of values. It can be used to add, subtract, multiply or divide the selected numerical values for corresponding ranges. Although it sounds complicated, the logic is fairly intuitive once you try it. The syntax, however, is not very intuitive.<\/span><\/p>\n<p><b>=SUMPRODUCT(array1, [array2], [array3], \u2026)<\/b><\/p>\n<p><span style=\"font-weight: 400;\">We want to sum the <\/span><b>KidHome <\/b><span style=\"font-weight: 400;\">for all rows where <\/span><b>Education <\/b><span style=\"font-weight: 400;\">equals <\/span><b><i>Graduation (C2)<\/i><\/b> <span style=\"font-weight: 400;\">and <\/span><b>Marital_Status<\/b><span style=\"font-weight: 400;\"> equals <\/span><b><i>Single (D2)<\/i><\/b><i><span style=\"font-weight: 400;\">. <\/span><\/i><span style=\"font-weight: 400;\">We will add this formula to cell AI:<\/span><\/p>\n<p><b>=SUMPRODUCT((C2:C2241=C2)*(D2:D2241=D2)*(F2:F2241))<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11796\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/01\/17.png\" alt=\"\" width=\"224\" height=\"76\" title=\"\"><\/p>\n<p><span style=\"font-weight: 400;\">If we wanted to see a different Education value, PhD for example, we could change <\/span><b>C2<\/b><span style=\"font-weight: 400;\"> to <\/span><b>C6<\/b><span style=\"font-weight: 400;\"> in the formula.\u00a0<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Summary and next steps<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">This is by no means an exhaustive list of every feature and function Excel offers, but these 10 functions help me analyze and clean data without the hassle of booting up Python or loading the data in a SQL server. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Pivot charts are great for small data sets, especially if you need to share the data with non-technical people. Even though Excel seems like a cumbersome tool in a world of big data, it remains one of the most popular data analytics tools on the planet for a reason.<\/span><\/p>\n<p>But don&#8217;t take our word for it\u2014<a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/student-stories\/math-teacher-to-data-analyst\/\">CareerFoundry Data Analytics Program graduate Nick<\/a> had this advice for other potential career-changers, after successfully completing his move from math teacher to data analyst:<\/p>\n<blockquote><p>To know Excel\u2014no matter what your role\u2014is important. If you work at a business and you know some of the more intermediate-to-advanced Excel skills, it\u2019s going to help save you time, and maybe even come up with something that\u2019s going to impress your boss. Excel is a huge tool that is a lot more robust than I knew it to be.<\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">If you&#8217;d like to learn more about data analytics, try out this <\/span><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/short-courses\/become-a-data-analyst\/?popup-tracking=WYSDN-short-course-DAT\"><span style=\"font-weight: 400;\">free 5-day short course<\/span><\/a><span style=\"font-weight: 400;\">, or check out some of our other data analytics articles:<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/sql-cheat-sheet\/\"><span style=\"font-weight: 400;\">SQL Cheatsheet: Learn Your First 8 Commands<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/how-to-create-a-checkbox-in-excel\/\"><span style=\"font-weight: 400;\">How to Create a Checkbox in Excel: A Step-by-Step Guide<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/what-are-the-key-skills-every-data-analyst-needs\/\"><span style=\"font-weight: 400;\">What Are The Key Skills Every Data Analyst Needs?<\/span><\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>One of the reasons Excel is so popular is because it is jam-packed with features and functions that can be used to clean, aggregate, pivot, and graph data. In this article, we\u2019ll go over the 10 features and functions for using data analysis in Excel I think every analyst needs to know.<\/p>\n","protected":false},"author":133,"featured_media":11778,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_lmt_disableupdate":"yes","_lmt_disable":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-11764","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-analytics"],"acf":{"homepage_category_featured":false,"cards_inner_programs_lists_right":"","cards_inner_programs_lists_left":"","related_plan_cards":""},"modified_by":"Matthew Deery","_links":{"self":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts\/11764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/users\/133"}],"replies":[{"embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/comments?post=11764"}],"version-history":[{"count":2,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts\/11764\/revisions"}],"predecessor-version":[{"id":33384,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts\/11764\/revisions\/33384"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/media\/11778"}],"wp:attachment":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/media?parent=11764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/categories?post=11764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/tags?post=11764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}