avatarSid Ghani

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

2796

Abstract

es without needing to structure your data first. It can be used to quickly put together a Self-Serve report for stakeholders which they can analyse. This is something I learned late in my career from one of my previous managers at HSBC bank who was a Master at using SUMIFS and COUNTIFS.</p><p id="0ccf">In the below example we can use a SUMIFS formula to calculate the total sales of Coffee by a particular city in Table 1. Our drop-down lists in Table 2 allow users to select the Coffee type or City name to get the total value of Sales in cell I3 using a SUMIFS formula. The values in our Drop Down lists are held in both List 1 and List 2.</p><figure id="fe34"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*jxuFClhLEfOJi9jTTuuuEQ.png"><figcaption>Sum</figcaption></figure><h1 id="2050">3. Tables and Pivot Tables</h1><p id="17a7">It is important to structure data when you are using Excel, if you have a block of data, it is best you structure them into a Table (Insert > Table) that way Excel knows it is a group of data and you can easily add or delete from the Table as you need.</p><p id="336a">Tables are also a prerequisite to Pivot Tables (to me Pivot Tables are the heart of Excel), they are a brilliant way of aggregating data to analyse it further</p><p id="d1b4">Using our Coffee data, once put into a Table we can then insert into a Pivot table (Insert > Pivot Table) this then allows us to “Pivot” our data into any shape we want:</p><figure id="375d"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*8XCdvaOUEmJsEupyjjGY3g.png"><figcaption>Pivot Tables are a great way of aggregating Data quickly</figcaption></figure><h1 id="c373">4. Pivot Charts and Slicers</h1><p id="43d8">Once you have a Pivot table you can then add some further magic touches using Slicers (Insert > Slicer ) and or Pivot Charts (Insert > Pivot Chart), these bring to life your Pivot Table and similar to Point 2, they offer another way of analysing your data, again you can use Pivot Charts, Tables and Slicers to share files with clients or colleagues so they can self-serve.</p><p id="255f">Using our Pivot table created earlier we can now add some really nice visuals using a Pivot Chart, our Pivot Slicers allow users to filter the data by City or Coffee type:</p><figure id="15ff"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*QiUHTXkDYL5zdDhKr1m2Nw.png"><figcaption></figcaption></figure><h1 id="40e4">5. IF formulas</h1><p id="bdb0">An IF formula is a classic computer statement, it literally says IF a condition is THIS then give me THAT, it is present in just about every major coding language and Data tool in some form or shape. In Excel, it is written as a simple =IF followed by your condition or logic. IF formulas as grea

Options

t to use because they allow you to perform an action only if certain conditions are True or False, they allow you to produce more detailed insight when using Excel tables or data.</p><p id="79d7">In the below table in Column F, we only want to see a YES if Total Sales are above £100. The formula for this is given in the formula bar below</p><figure id="329c"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*kEibXmvlU4244MYwTAXdNA.png"><figcaption></figcaption></figure><p id="ed03">But say we want to apply this to 2 conditions, Both >£200 and only sales in London, well we can do this with an IF AND formula:</p><figure id="76c4"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*RhD3k_DPbSf5kStua7WJ0A.png"><figcaption></figcaption></figure><p id="d60b">IF formulas can be simple with single conditions or have many conditions in the form of Nested IF formulas. They are definitely worthwhile learning</p><h1 id="56ea">Conclusion</h1><p id="0651">Excel will continue to be a widely used tool in the world of Data Science and Analytics for many years to come. Even with the rise of Cloud Computing and Python, Excel remains a key tool used by practically every business.</p><p id="9f3f"><b><i>Please follow me for more articles on Excel, Python and Business</i></b></p><p id="999d">Check out some recent articles I posted below:</p><div id="5651" class="link-block"> <a href="https://readmedium.com/moving-averages-and-time-series-data-in-excel-784771217533"> <div> <div> <h2>Moving Averages and Time series data in Excel</h2> <div><h3>Analysing Time Series data is a common and often important task for Data Analysts. Anywhere you are asked to present…</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*ok9w8lhy9tvSf1u4FxQ9zg.png)"></div> </div> </div> </a> </div><div id="d172" class="link-block"> <a href="https://readmedium.com/7-essential-business-tips-for-data-analysts-and-data-scientists-bfbd2974207c"> <div> <div> <h2>7 essential business tips for Data Analysts and Data Scientists</h2> <div><h3>After spending the last 5 years of my career across 6 different companies working in various data analyst roles, I can…</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*o05Zs6g4AILsh5ka)"></div> </div> </div> </a> </div></article></body>

5 must know Excel functions and why you should learn them

Every Data professional at some point needs to use Excel, many will be comfortable with other tools (PowerBI, Alteryx) and languages (SQL, Python) but Excel remains the backbone for many businesses, it is also the most widely adopted data tool in the world today. Knowing key functions and features in Excel will really make a difference in how quick you can produce a piece of insight or analysis, often when you have unknown data sets to work with.

These are my top 5 excel functions and why they are important:

The Data file for each function can be accessed below:

1. VLOOKUP

Many regard VLOOKUPs as the “Bread and Butter” of Excel. It is your quintessential function for joining data. It is the equivalent of a LEFT JOIN in SQL. By using a VLOOKUP you can quickly “connect” pieces of data together to build deeper insight and analysis. VLOOKUPs can be used to add on additional data points sat in other CSV or excel files.

The other big trick which many people don’t know about VLOOKUP is that it can be used to calculate ranges. The below example uses a VLOOKUP to identify a range of values instead of using an Exact Match, we use an Approximate Match.

In Table 1, we can see we need the Age Group for each student, the Age Group range is provided in Table 2, we use a VLOOKUP formula to automatically populate Column D in Table 1 simply by adding TRUE to the end of our VLOOKUP to invoke the Approximate Match.

The last mention is that there are alternative methods to using VLOOKUP, including the INDEX MATCH method, but it is worth mastering VLOOKUP first as a good initial step.

2. SUMIFS and COUNTIFS

Using these two functions can really make life a lot easier when you need to filter data by particular values without needing to structure your data first. It can be used to quickly put together a Self-Serve report for stakeholders which they can analyse. This is something I learned late in my career from one of my previous managers at HSBC bank who was a Master at using SUMIFS and COUNTIFS.

In the below example we can use a SUMIFS formula to calculate the total sales of Coffee by a particular city in Table 1. Our drop-down lists in Table 2 allow users to select the Coffee type or City name to get the total value of Sales in cell I3 using a SUMIFS formula. The values in our Drop Down lists are held in both List 1 and List 2.

Sum

3. Tables and Pivot Tables

It is important to structure data when you are using Excel, if you have a block of data, it is best you structure them into a Table (Insert > Table) that way Excel knows it is a group of data and you can easily add or delete from the Table as you need.

Tables are also a prerequisite to Pivot Tables (to me Pivot Tables are the heart of Excel), they are a brilliant way of aggregating data to analyse it further

Using our Coffee data, once put into a Table we can then insert into a Pivot table (Insert > Pivot Table) this then allows us to “Pivot” our data into any shape we want:

Pivot Tables are a great way of aggregating Data quickly

4. Pivot Charts and Slicers

Once you have a Pivot table you can then add some further magic touches using Slicers (Insert > Slicer ) and or Pivot Charts (Insert > Pivot Chart), these bring to life your Pivot Table and similar to Point 2, they offer another way of analysing your data, again you can use Pivot Charts, Tables and Slicers to share files with clients or colleagues so they can self-serve.

Using our Pivot table created earlier we can now add some really nice visuals using a Pivot Chart, our Pivot Slicers allow users to filter the data by City or Coffee type:

5. IF formulas

An IF formula is a classic computer statement, it literally says IF a condition is THIS then give me THAT, it is present in just about every major coding language and Data tool in some form or shape. In Excel, it is written as a simple =IF followed by your condition or logic. IF formulas as great to use because they allow you to perform an action only if certain conditions are True or False, they allow you to produce more detailed insight when using Excel tables or data.

In the below table in Column F, we only want to see a YES if Total Sales are above £100. The formula for this is given in the formula bar below

But say we want to apply this to 2 conditions, Both >£200 and only sales in London, well we can do this with an IF AND formula:

IF formulas can be simple with single conditions or have many conditions in the form of Nested IF formulas. They are definitely worthwhile learning

Conclusion

Excel will continue to be a widely used tool in the world of Data Science and Analytics for many years to come. Even with the rise of Cloud Computing and Python, Excel remains a key tool used by practically every business.

Please follow me for more articles on Excel, Python and Business

Check out some recent articles I posted below:

Excel
Data Science
Data Analysis
Business
Analytics
Recommended from ReadMedium