This is how I ACTUALLY analyze data using Excel

Mo Chen
26 Jun 202424:05

Summary

TLDRIn this video, Moan, a data and analytics analyst, shares his Excel data analysis workflow, focusing on solving business problems rather than creating aesthetic dashboards. He demonstrates how to analyze a fictitious gym equipment sales dataset, identifying top suppliers and brands, examining year-on-year growth, market shares, and calculating year-to-date and moving annual total profit figures. Moan emphasizes practical data analysis techniques, using pivot tables, conditional formatting, and data manipulation to extract actionable insights.

Takeaways

  • πŸ˜€ The video is focused on practical Excel data analysis for solving business problems rather than creating aesthetically pleasing but non-functional dashboards.
  • πŸ’Ό Moan, a data and analytics analyst in the financial services industry, uses Excel as his primary tool for quick, ad hoc analysis of data sets.
  • πŸ“Š Excel is particularly useful for answering business-critical questions involving large data sets, such as up to a million rows.
  • 🧩 The video provides a hands-on example of analyzing a fictitious gym equipment sales data set to identify top suppliers, brands, and categories.
  • πŸ“ˆ The analysis includes year-on-year growth, market share calculations, and profit figures such as year-to-date and moving annual total.
  • πŸ“ A quick tip is shared for organizing data sets where columns are misaligned: click on the top left, double-click, and then double-click again to align columns neatly.
  • πŸ“‘ Converting data into an Excel table is recommended for easier manipulation and updating when using pivot tables and charts.
  • πŸ”’ Pivot tables are used to quickly count the number of suppliers, brands, and categories within the data set.
  • πŸ“Š Conditional formatting is applied to highlight increases and decreases in year-on-year growth with color scales for quick visual insights.
  • πŸ“ˆ The video demonstrates how to create charts to visualize market share changes over time using slicers for interactive filtering.
  • πŸ“‹ The script includes a step-by-step guide on calculating year-to-date and moving annual total profits using Excel functions like SUMIFS.

Q & A

  • What is the primary focus of the video script?

    -The primary focus of the video script is to demonstrate a practical Excel data analysis workflow for solving business problems, rather than creating visually appealing but non-functional dashboards.

  • Who is the speaker in the video script?

    -The speaker in the video script is Moan, who works as a data and analytics analyst in the financial services industry.

  • What is Moan's preferred tool for quick ad hoc analysis?

    -Moan's preferred tool for quick ad hoc analysis is Microsoft Excel, which he uses for any analysis up to a million rows when he needs quick answers to business critical problems.

  • What is the purpose of using tables in Excel as per the script?

    -Using tables in Excel simplifies the process of working with pivot tables and pivot charts, as everything automatically updates when changes are made to the table.

  • How does Moan suggest adjusting columns in Excel for better readability?

    -Moan suggests clicking on the top left cell and then double-clicking to automatically adjust all the columns for better readability, which also works for rows.

  • What is the significance of the fictitious gym equipment profit data set used in the script?

    -The fictitious gym equipment profit data set is used to demonstrate a hands-on practical example of how to identify top suppliers and brands, analyze year-on-year growth, market shares, and calculate year-to-date and moving annual total profit figures.

  • What is the shortcut Moan uses to create a pivot table in Excel?

    -Moan uses the shortcut 'Alt + VT' to quickly create a pivot table in Excel.

  • How does Moan approach analyzing year-on-year growth in the script?

    -Moan analyzes year-on-year growth by creating a pivot table, setting the year in the columns, and using the 'Show values as' feature to calculate the percent difference from the previous year.

  • What is the purpose of using conditional formatting in the pivot table as described in the script?

    -Conditional formatting is used to quickly visualize data by applying color scales to the pivot table, where darker colors represent larger increases or decreases in values.

  • How does Moan calculate market share in the pivot table?

    -Moan calculates market share by setting the year on the rows, brand on the columns, and using the 'Show values as' feature to display the percent of row total in the pivot table.

  • What is the significance of duplicating worksheets in Excel as mentioned in the script?

    -Duplicating worksheets in Excel is significant for creating multiple analyses that utilize the same pivot table, which updates dynamically across all copies when the original data changes.

Outlines

00:00

πŸ“Š Introduction to Excel Data Analysis Workflow

The speaker, Moan, introduces his Excel data analysis workflow, emphasizing its practicality for solving business problems rather than creating aesthetically pleasing but functionally limited dashboards. Moan, a data and analytics analyst in the financial services industry, uses Excel for quick ad hoc analysis on large datasets. He presents a hands-on example analyzing a fictitious gym equipment sales dataset to identify top suppliers and brands, examine year-on-year growth, market shares, and calculate profit figures. Moan shares a tip for organizing datasets in Excel by using the 'double-click' trick to align columns and rows neatly.

05:01

πŸ” Analyzing Data with Pivot Tables and Charts

Moan demonstrates how to use pivot tables to analyze data, starting with counting the number of suppliers and brands. He explains the process of creating a pivot table quickly using the shortcut 'Alt + VT' and adjusting its design for clarity. The video then shifts to analyzing year-on-year growth by setting up a pivot table to show the percentage difference in profits between consecutive years. Moan uses conditional formatting to visually represent the data, highlighting increases and decreases in profits. He also discusses the importance of removing partial data sets, like the year 2024 with only five months of data, to ensure accurate year-on-year comparisons.

10:02

πŸ“ˆ Examining Market Share with Slicers and Charts

Continuing the analysis, Moan focuses on calculating market share by creating another pivot table that shows the percentage of total profits for each brand. He uses slicers to filter the data by category, allowing for a dynamic view of market share changes across different types of gym equipment. Moan adjusts the chart layout and color scheme for better visualization and interprets the chart to identify trends in market share, such as the rise of Apex Athletics and the decline of Titan Training in the airbikes category.

15:04

πŸ’Ή Calculating Year-to-Date and Moving Annual Total Profits

Moan introduces the calculation of year-to-date (YTD) profits, explaining the SUMIFS function to sum profits from the beginning of the year to the current month. He performs sense checks to ensure the calculations are accurate. Next, he tackles the calculation of moving annual total profits, which involve summing profits from the last 12 months regardless of the current month. He demonstrates the SUMIFS function again, this time including logic to account for months from the previous year when necessary. Moan also promotes his website and resources for learning practical data analysis and job application skills.

20:05

πŸ“‰ Final Analysis and Conclusion

In the final part, Moan revisits the pivot table to include the newly calculated year-to-date and moving annual total profit figures. He refines the pivot table to display only the moving annual total profit for the last month of available data, formatting the numbers for clarity. Moan concludes the video by summarizing the analysis and encourages viewers to subscribe for more content. He also points out a minor mistake in his analysis to emphasize the importance of careful data examination and the iterative nature of the data analysis process.

Mindmap

Keywords

πŸ’‘Data Analysis

Data analysis refers to the process of inspecting, cleaning, transforming, and modeling data to extract useful information, draw conclusions, and support decision-making. In the video, the speaker uses Microsoft Excel to perform data analysis on a fictitious gym equipment sales dataset. The process involves identifying top suppliers and brands, analyzing year-on-year growth, and calculating profit figures, which are all critical for solving business problems.

πŸ’‘Microsoft Excel

Microsoft Excel is a widely used spreadsheet program for organizing, analyzing, and presenting data. The video script emphasizes Excel as the primary tool for quick ad hoc analysis, demonstrating its versatility in handling data up to a million rows. The speaker showcases various Excel features like pivot tables, conditional formatting, and formulas to analyze the dataset and derive business insights.

πŸ’‘Pivot Tables

Pivot tables are a powerful feature in Excel that allows users to summarize and analyze data by organizing it into a multi-dimensional table. In the script, the speaker creates pivot tables to count the number of suppliers, brands, and categories, and to calculate year-on-year growth and market share. This tool is instrumental in providing a structured view of the data for easier analysis.

πŸ’‘Year-on-Year Growth

Year-on-year growth is a financial metric that compares data from the current year to the data from the previous year, typically used to measure the performance of a business or economic indicator. The video discusses analyzing year-on-year growth to understand how sales have changed over time, which is crucial for assessing the financial health and trends of the business.

πŸ’‘Market Share

Market share represents the portion of the total available market that a particular product or service captures. In the context of the video, the speaker calculates the market share for different brands within various categories to understand their relative position and performance in the market.

πŸ’‘Conditional Formatting

Conditional formatting in Excel is used to apply specific formatting to cells based on their values, such as colors or icons. The speaker uses this feature to visually represent the year-on-year growth, making it easier to spot increases and decreases in profits at a glance.

πŸ’‘Slicers

Slicers in Excel are interactive filters that allow users to control and filter data in a pivot table or chart. The video script mentions using a slicer to filter data by category, which helps in dynamically viewing market share changes across different types of gym equipment.

πŸ’‘Year-to-Date (YTD)

Year-to-date (YTD) refers to a period starting from the beginning of the current year up to the present. The speaker calculates YTD profit figures to understand the cumulative profit for the months leading up to the current month, which is essential for tracking financial performance throughout the year.

πŸ’‘Moving Annual Total (MAT)

Moving Annual Total (MAT) is a calculation that sums up data points over a rolling 12-month period. In the script, the speaker computes the MAT profit to analyze the financial performance over a consistent timeframe, regardless of the month, providing a more stable view of the business's profitability.

πŸ’‘Data Visualization

Data visualization involves creating graphical representations of data to communicate information clearly and effectively. The video discusses creating line charts and using color scales to represent data, which aids in interpreting complex data sets and making informed decisions.

Highlights

Introduction to a practical Excel data analysis workflow for business problem-solving.

Excel as a go-to tool for quick ad hoc analysis up to a million rows.

Demonstration of a hands-on example analyzing fictitious gym equipment sales data.

Technique to quickly organize a messy dataset in Excel by adjusting columns.

Advantages of using Excel tables for easier management of pivot tables and charts.

Step-by-step guide to creating a pivot table for basic data analysis.

Method to identify the number of suppliers, brands, and categories in a dataset.

How to calculate year-on-year growth in profits using pivot table value settings.

Use of conditional formatting to visually represent data changes.

Analysis of market share using pivot tables and slicers.

Explanation of year-to-date profit calculations with practical examples.

Tutorial on calculating moving annual total profit figures.

Importance of sense checks in data analysis to ensure accuracy.

Real-time demonstration of updating pivot tables with new calculations.

Final thoughts on the simplicity and effectiveness of the presented Excel analysis techniques.

Call to action for viewers to subscribe for more valuable content.

Transcripts

play00:00

it's been 6 years now since the first

play00:02

time I analyzed a bunch of data at work

play00:04

using Microsoft Excel and today I want

play00:07

to show you my Excel data analysis

play00:09

workflow that covers 99% of the types of

play00:13

analysis I do using the tool this is not

play00:16

going to be a video about building

play00:18

beautiful but nevertheless useless and

play00:20

random dashboards this is going to be a

play00:23

video about how I solve business

play00:25

problems using Excel how I analyze data

play00:28

and get insights and next steps using

play00:31

Excel for those of you who are new here

play00:33

my name is moan and I work as a data and

play00:36

analytics analyst in the financial

play00:38

services industry Excel is my go-to tool

play00:42

for any quick ad hoc analysis up to say

play00:45

a million rows anytime when I want quick

play00:47

answers to some business critical

play00:49

problems I use Excel let me show you how

play00:53

by walking you through a Hands-On

play00:55

practical example where I'll identify

play00:57

the top suppliers and Brands across very

play01:00

ious categories in my fictitious gym

play01:02

equipment sales data set look at

play01:04

year-on-year growth to see how sales

play01:06

have changed over time analyze market

play01:09

shares and even calculate year-to-date

play01:11

and moving annual total profit figures I

play01:15

think that's enough of an overview for

play01:16

now let's dive into the

play01:20

analysis all right cool so this is going

play01:22

to be a pure data analysis exercise this

play01:25

is like I said not going to be one of

play01:27

those YouTube videos where I'm going to

play01:29

create a bunch of the shiny stuff that

play01:30

is completely useless and random I'm

play01:33

going to show you what I use Excel for

play01:35

which is quick ad hoc data analysis to

play01:37

get the answers to whatever business

play01:40

critical problems that I have and then I

play01:41

just move on so this is our data set

play01:44

it's a fictitious uh sales oh no it's a

play01:47

fictitious profit data set sorry it's a

play01:49

fictitious gym equipment profit data set

play01:52

and a super quick tip for you if you get

play01:55

a data set and the columns are all over

play01:56

the place you can click in the top left

play01:58

and then double click and and then you

play02:00

can see that all of the columns are

play02:02

beautifully adjusted obviously this

play02:04

works for rows as well so let me just

play02:07

mess up my data set just a little bit

play02:09

you can see that I'll mess this column

play02:10

up as well and this one and this one

play02:13

click on the top left double click and

play02:15

then you can double click again and you

play02:17

have a neat and tidy data set so first

play02:20

things first let's understand the

play02:21

columns we have only six again it's a

play02:24

simple fictitious data set so I try to

play02:26

filter out all of the noise and we'll

play02:28

just focus on these col col s category

play02:31

suppliers Brands year month and the

play02:33

monthly profit so that's the data that

play02:35

we have before we even jump in the one

play02:38

thing I like to do is you can see that

play02:39

this is what's called a range and I like

play02:42

using tables because it's just so much

play02:45

easier to use tables when you have a

play02:47

bunch of pivot tables and pivot charts

play02:49

and then everything automatically

play02:50

updates I won't go into too much detail

play02:53

about you know this in this video but uh

play02:57

I guess yeah if you want to learn more

play02:58

about Excel or SQL actually or Tableau

play03:01

or python then course careers have a

play03:04

super data analytics course they've been

play03:06

a well yeah they've been a partner of

play03:08

mine for quite a while now so yeah

play03:10

they're good check out their course if

play03:12

you want to but anyway um yeah so let's

play03:15

turn this into a table and the easiest

play03:17

way to turn this into a table is to

play03:19

press control and then T I'm a man of

play03:22

shortcuts you hit okay and there you go

play03:25

what's the big difference now if you go

play03:27

to the top here you can see table design

play03:29

which you didn't have before let me just

play03:30

undo this you see at the top now you

play03:33

don't have table design so contrl T hit

play03:37

okay and then this is a bit too much for

play03:40

me this design so I'm going to tone it

play03:41

down just a little bit I think this

play03:44

looks about right so the first thing I

play03:45

really want to know is how many

play03:47

suppliers do I have how many brands do I

play03:49

have for each supplier and how many

play03:51

categories of gym equipment uh well

play03:54

profit data do I have here so a really

play03:57

simple way to do it is to insert a pivot

play03:59

table and start doing some analysis so

play04:02

I'm going to do that I'll show you two

play04:03

ways to do it I'll show you the shortcut

play04:05

way which is just going to be alt and VT

play04:08

hit enter and then that's a pivot table

play04:10

it took me probably 2 seconds to do it

play04:13

but I'll uh delete this sheet for now

play04:15

and I'll show you the point and click

play04:17

way as well so you go to the top insert

play04:20

pivot table from table hit okay there

play04:24

you go you have your pivot table and

play04:26

then let's see how many suppliers do we

play04:29

have three three suppliers okay

play04:31

fantastic easy and if you're not sure

play04:34

about the count or the sum or any kind

play04:36

of summary figures that Excel would show

play04:37

you you can always go to the bottom

play04:40

right right here and then you'll see the

play04:42

numbers all right so we have three

play04:44

suppliers how many brands do we have we

play04:47

have nine Brands and what I like to do

play04:49

is go to Design Within design change the

play04:53

report layout to show in tabular form

play04:56

remove the

play04:57

totals and then it's just an easier way

play05:00

to look at all of the brands and then

play05:02

I'll drag in the categories as well so

play05:05

how many categories do I have I have

play05:07

three categories airbikes rowing

play05:09

machines and treadmills super simple all

play05:12

right so now I answered some super basic

play05:14

questions so we have three suppliers

play05:17

nine Brands and then we have three

play05:19

categories just click into the filter

play05:21

and you'll know next thing I want to

play05:23

know is the year- on-year growth for

play05:25

each of these brands in terms of profits

play05:28

so what I will do is I'll go to my

play05:30

worksheet on the bottom here hold down

play05:32

control and then duplicate the the

play05:35

worksheet yeah so this is good because

play05:37

you're duplicating the the uh pivot

play05:40

table as well which is going to come in

play05:41

really handy when you're starting to use

play05:43

uh slicers and timeline filters across

play05:47

all of your pivot tables and pivot

play05:49

charts in a dynamic dashboard so yeah

play05:51

it's going to be great for that I'm not

play05:52

going to go into much detail in this

play05:55

video on that kind of stuff if you you

play05:57

know really want to learn more you can

play05:59

get get some certifications and you can

play06:01

do some courses online uh yeah they'll

play06:04

teach you a lot about it yeah and I

play06:06

guess on on that note you could you know

play06:07

say for example go to data Camp they

play06:09

have a bunch of good courses not just on

play06:11

Excel but you know a bunch of other data

play06:13

stuff as well I learned a bunch of

play06:15

Tableau skills on data Camp because they

play06:18

have a like a skills track a

play06:19

certifications track they have case

play06:21

studies they have various tutorials so

play06:24

yeah they're pretty good and I recently

play06:26

started partnering with them as well

play06:29

because yeah they're genuinely good but

play06:31

anyway um yeah second question year

play06:34

on-year growth how am I going to solve

play06:37

that problem so not that difficult let

play06:39

me remove the category for now drop in

play06:42

the monthly profit and then let me grab

play06:45

the year and move it onto the columns so

play06:48

now these numbers here these are the

play06:52

total profit numbers but what I'm

play06:54

looking for is the year-on-year

play06:55

difference so basically I want to see

play06:57

what's the difference between 2019 and

play06:59

201 18 2020 and 2019 so on and so forth

play07:02

so I go to

play07:04

values value field settings show values

play07:07

as and then all I have to do is Select

play07:09

percent difference from and then the

play07:12

base field is obviously year and then

play07:15

the base item is previous yep and then I

play07:19

hit okay and there you go it looks yeah

play07:23

pretty good I think there you go some

play07:25

quick calculations 2024 is straight away

play07:28

I can see off the chart charts now why

play07:30

is that we can go into the data and we

play07:33

can have a look quickly so let me go

play07:35

2024 select a couple here there you go

play07:38

2024 is off the charts because we only

play07:40

have 5 months worth of data up to and

play07:43

including May that's why the numbers are

play07:45

off the charts because you're comparing

play07:46

five months of profits to 12 months of

play07:48

profits in 2023 so let me just remove

play07:52

2024 because it's not a full year and

play07:54

then the numbers look much better I

play07:56

think all right so these numbers

play07:58

obviously it's it's you know quite hard

play08:00

to spot which one's good which one's bad

play08:03

what I like to do is this is honestly so

play08:05

simple go to conditional formatting and

play08:07

then choose some color scales so

play08:09

whatever you want you can choose your

play08:10

own rules I don't care too much cuz I'm

play08:14

really just after some numbers so I'll

play08:15

go with the let me go with this one I

play08:18

think blue is good red is bad yeah there

play08:21

we go so the darker the blue the larger

play08:24

the increase and the darker the red the

play08:26

larger the decrease so that's some quick

play08:28

insights for you right there biggest

play08:31

growth

play08:32

6.91% right here biggest decrease what

play08:36

was it

play08:37

7.7 right here yeah that's it quick

play08:40

insights all right so I answered year-

play08:42

on-year growth now the next thing I

play08:44

probably want to look into is market

play08:46

share so let me again duplicate my sheet

play08:49

hold down control drag and drop the

play08:51

sheet and then I have a new sheet now so

play08:54

all I'm going to do differently this

play08:56

time is I'm going to move the year onto

play08:58

the rows I'll move probably suppliers

play09:01

onto the columns let me move that away

play09:05

and then oh actually yeah I want to move

play09:06

the brand probably onto the columns yeah

play09:08

that makes a lot more sense and this

play09:11

time let's change the calculation so go

play09:14

to Value field settings show values as

play09:18

and it's not a difference from all I

play09:19

want to see really is the row total the

play09:21

percent of row total hit okay and now I

play09:26

want to add back 2024 because we're

play09:28

comparing like like and what I want to

play09:31

do now is remove the conditional

play09:33

formatting so you go to conditional

play09:34

formatting manage rules and then you

play09:36

just delete the rule hit apply hit okay

play09:39

done so now What's Happening Here is

play09:42

that each of these rows should add up to

play09:45

100 and if you go to the bottom right

play09:47

here you can see that the sum is indeed

play09:49

100 you can check this one as well is

play09:51

indeed 100 or you can just do a sum

play09:54

function so it's going to be sum B5 to

play09:58

what is it J five there we go and then

play10:01

you can drag it down and there you go

play10:04

everything's 100% fantastic okay so the

play10:07

market share cannot be more than 100%

play10:09

right because that's that's all of the

play10:11

profits in the market so that's the

play10:13

entire market so all I'm going to do

play10:16

here is insert a line chart I'll pick

play10:19

this one and then it looks obviously not

play10:21

great right now because we didn't

play10:23

actually select in which category do we

play10:26

want to look at the market share so so I

play10:29

go to pivot table analyze and then

play10:31

insert slicer and I want the category

play10:34

hit okay and now we have a pretty decent

play10:38

slicer all right so airbikes cool let me

play10:41

look at that there we go make it a bit

play10:44

bigger and yeah there you go I have

play10:47

three different categories you can click

play10:48

through and you can see how the market

play10:50

shares change over time if you don't

play10:52

like the layout of this chart you can

play10:53

quickly change you know the layout into

play10:56

something else let me pick something

play10:58

that looks well not ugly so yeah maybe

play11:03

this one I think this one looks all

play11:04

right and then you can change the colors

play11:06

as well

play11:07

so people like dark stuff oh that is

play11:10

very glowy um maybe this

play11:13

one yeah all right okay this is not too

play11:16

bad so I'll go with this one and let me

play11:18

just interpret the charts for you really

play11:20

quickly so let's pick airbikes for

play11:22

example what can I see straight away so

play11:24

the thing I can see straight away is

play11:26

that Apex Athletics they started

play11:29

increasing their market share and their

play11:31

profits uh you know they yeah it's it's

play11:34

at 17. 97% fantastic and then what's

play11:38

that Spartan Sports they're the worst as

play11:40

of 2024 rowing machines I can see that

play11:44

is this Elevate Fitness yes Elevate

play11:46

Fitness improved over time which is

play11:49

fantastic and then the purple one Titan

play11:51

training they yeah they definitely

play11:53

didn't improve over time they're

play11:55

actually at the bottom of the list now

play11:57

and if we're looking at treadmills it's

play11:59

going to be Spartan Sports who have uh I

play12:02

wouldn't say dominated the market share

play12:04

but obviously you know they increased

play12:05

their market share over time and then

play12:08

Hercules gear did the exact opposite

play12:12

simple analysis that's it let's move on

play12:14

so the next thing we're going to do is I

play12:16

did tell you that we were going to do

play12:19

some calculations so we're going to do

play12:21

some year-to-date calculations and we're

play12:23

going to do some moving annual total

play12:26

profit calculations all right super

play12:29

quick break and don't worry this is not

play12:32

a sponsored message this is a message

play12:34

from me Mo if you gained any value out

play12:37

of this video or any one of my videos so

play12:39

far then can I ask you three simple

play12:42

favors please one subscribe to the

play12:45

channel it helps everything I do more

play12:47

than you know two check out the ultimate

play12:50

data portfolio why because it gets you

play12:52

closer to your next data job if you

play12:55

don't believe me just check out what

play12:57

others have said and three if you're

play13:00

truly committed to getting your next

play13:02

data job and making more money then

play13:04

check out my onet toone mentorship

play13:06

program so year to date essentially is

play13:08

let me pick an example say if we're in

play13:10

um 2018 may I want all of the profit to

play13:15

be summed up from January to May that's

play13:18

it and then if we're in August then I

play13:21

want all of these profits so the 8

play13:23

months worth of profits to be summed up

play13:25

but if we're in 2019 July then I want

play13:27

obviously the first s months of profits

play13:30

to be summed up so let me call this uh

play13:33

new column profit year to date because

play13:35

well it is the profit year to date and

play13:38

it's going to be super simple so nothing

play13:39

to worry about a bunch of sum

play13:42

ifs so first of all it's asking for the

play13:45

sum range so I'm just going to use my

play13:47

keyboard to navigate around if you're on

play13:49

a Windows it's just the arrow keys and

play13:51

the control key and then if you're on a

play13:53

Mac it's going to be the arrow keys and

play13:55

the command key super simple so okay so

play13:58

the sum range for me and I'm going to

play13:59

hold down control right now and press uh

play14:02

space and then I select the entire

play14:04

column fantastic okay the first criteria

play14:06

range is going to be the

play14:08

category and then the category obviously

play14:11

has to be equal to the to the category

play14:13

of the current row so yeah treadmill in

play14:16

this case and then criteria range two

play14:18

supplier again it has to be the supplier

play14:21

that occupies that row of data so in

play14:24

this case Peak Performance gear criteria

play14:27

range three it's going to have to be the

play14:29

brand that's in the current row and then

play14:32

year it has to be the current year so

play14:35

again in this case 2018 and then

play14:38

month and this is where it's going to

play14:41

get a little bit tricky not too tricky

play14:43

but because we want the year-to-date um

play14:46

profits to be summed up we want all of

play14:48

the months up to and including the

play14:50

current month so it's just a simple math

play14:52

calculation less than or equal to m%c

play14:55

sign and then you pass in the current

play14:58

month and then if this doesn't work now

play15:01

then I'm going to look like a fool but

play15:04

it did work fantastic okay so let me

play15:07

just do some formatting because we're

play15:08

talking about uh profit figures here

play15:10

currency and you can see that it's uh

play15:13

British pound here because I live in the

play15:15

United Kingdom so yeah it's not US

play15:17

Dollars this time I won't change it to

play15:19

dollars because yeah whatever it can be

play15:21

pounds this time for a change

play15:24

so let's do some sense check so for the

play15:27

first year uh these profits right let's

play15:29

just do some sense checks so let's pick

play15:31

2018 May and then the 65 476 this number

play15:35

should be equal to the sum of these 5

play15:39

months and you can go to the bottom and

play15:41

check 65 476 yes it is fantastic all

play15:45

right we can move on and obviously we

play15:46

can do the first 12 months there you go

play15:49

profit year to date it's going to be 152

play15:52

585 and on the bottom here you can see

play15:54

that it's 152 585 indeed so the profit

play15:57

year-to date numbers are legit fantastic

play16:00

let's just pick another one just in case

play16:02

this one right here let's add up the

play16:04

profits for the first three months right

play16:05

here so this 41 036

play16:09

41036 okay I did a sense check

play16:11

everything works cool next thing I'm

play16:13

going to do is we're going to calculate

play16:15

the profit um what should I call it

play16:20

total moving annual total yeah I think

play16:25

that sounds good because essentially

play16:26

what we're going to do now is let me

play16:29

explain really simply we're always going

play16:30

to look at a 12-month period so I want

play16:32

the profit figures summed up for the

play16:34

last 12 months no matter where I am so

play16:38

if I pick uh

play16:39

2019 May for example I want the profits

play16:42

for this year so this is the

play16:44

year-to-date profit and on top of that I

play16:46

would also like seven months from the

play16:50

year before so all of these months so

play16:52

seven months from the year before 5

play16:54

months from the current year so that's 7

play16:56

plus 5 12 months and that would be the

play16:58

profit for the last 12 months but if I

play17:00

pick another month for example 2020 uh

play17:03

October so I have 10 months in this year

play17:06

I want all of these profits and then I

play17:08

would like two more months from the last

play17:10

year so to calculate the profit moving

play17:14

annual

play17:15

total we need to first of all um well

play17:20

yeah pick the profit year to date and on

play17:22

top of that we just add on whatever

play17:25

months we want to make it a full

play17:27

12-month period from the previous year

play17:29

so this is going to be profit year to

play17:31

date plus again it's going to be Su ifs

play17:34

I bet it's boring by now but the sum

play17:36

range is going to be the profit month

play17:38

and then the category again it has to be

play17:40

equal to the category of the current row

play17:44

and then second criteria supplier has to

play17:47

be equal to the supplier in the current

play17:49

row and then we have brand has to be

play17:53

obviously equal to the brand of the

play17:55

current row and then we have year

play17:59

and it gets a little bit tricky here

play18:01

because I want

play18:03

obviously the year but I want the

play18:05

previous year so take away one because

play18:08

you already included the profit year to

play18:10

date so you already have the profits

play18:11

from the current year what you're trying

play18:13

to do is onto the current Year's profit

play18:16

you want to add on last year's profit

play18:19

however many months you need to make it

play18:21

a full 12 month period so that's why the

play18:23

minus one to get to the previous year

play18:25

and then in terms of months again simple

play18:28

math calculation so the month has to be

play18:31

greater than whatever current month

play18:33

you're in in this year so greater than

play18:36

and then m per sign and then the current

play18:40

month and then hit enter and again if

play18:43

it's not going to work I'm going to look

play18:45

like a fool but it did work so good oh

play18:49

by the way the only thing I would like

play18:50

to add as well if you want to learn this

play18:52

type of thinking how to actually solve

play18:54

problems using data and how to like you

play18:57

know actually approach

play18:59

job applications and and how to do stuff

play19:01

in the real world then I would honestly

play19:04

I would I would urge you to go onto my

play19:06

websites and look around there and check

play19:08

out the resources because yeah you know

play19:10

like all the stuff I created really the

play19:12

ultimate data portfolio the ultimate

play19:14

data road map and like the six other

play19:16

bonuses that come with it the job Seeker

play19:19

Academy the ultimate project Builder

play19:21

they they focus on implementation they

play19:23

focus on Hands-On stuff they focus on

play19:24

practical stuff they focus on relevant

play19:27

stuff so I've I've done so much learning

play19:32

and sometimes you know you're in this

play19:34

forever cycle of not implementing things

play19:36

so make sure you actually Implement

play19:38

things like this for

play19:40

example okay let's compare the numbers

play19:42

for the first 12 months they should be

play19:44

the same because there was no previous

play19:46

year makes sense all of these numbers

play19:47

are the same now if we look at row 14 my

play19:51

profit moving annual total is 152 423 so

play19:56

this should be the profit in 20 19 uh

play19:59

January plus the 11 months before so if

play20:02

I select these 12 months I can see if I

play20:05

go to the bottom right that I have 152

play20:07

423 okay great let's pick something

play20:10

randomly I'll pick row 86 so I'm in

play20:13

August which means this profit right

play20:16

here this

play20:17

9555 2 this should be the year-to date

play20:21

profit um

play20:24

plus the the four months from before so

play20:29

1 2 3 4 5 6 7 8 and then oh sorry yeah

play20:33

actually I picked the wrong one uh

play20:35

because obviously I'm in 2018 here

play20:36

there's no prior year apologies so let

play20:39

me pick another one 2019 August for

play20:41

example it just goes to show you know

play20:43

with data analysis trial and error and

play20:46

I'm pretty certain I'm going to leave

play20:47

this piece in as well I'm not going to

play20:50

cut it out just to show you that you

play20:51

know not everything has to be perfect

play20:53

first time clearly I didn't pay

play20:54

attention here and I should have lesson

play20:56

learned so 2019 August

play20:59

um the moving annual total profit is 152

play21:02

337 so this number should be these 8

play21:06

months in the current year so this is

play21:07

the year to date and then the four

play21:09

months from the previous year so 1 2 3 4

play21:12

and what's the number 152 337 on the

play21:15

bottom right here fantastic The Profit

play21:18

moving annual total numbers are correct

play21:20

as well and just to do some I guess you

play21:23

know pivot table data analysis

play21:25

manipulation with it let me go back to

play21:27

this sheet right here

play21:29

and let me duplicate it so holding down

play21:31

control dragging and dropping the sheet

play21:33

I'll remove this chart because I don't

play21:36

need it I'll remove the slicer as well

play21:39

click into the table and this time let's

play21:41

do something different so first of all

play21:42

go to pivot table analyze and then you

play21:44

go refresh refresh all and then now all

play21:47

of a sudden you see that our two new

play21:49

calculations the two new columns they

play21:51

appeared right here okay so I'm going to

play21:54

remove the monthly profit figures

play21:56

because I don't need them and then the

play21:58

next thing I'm going to do put year on

play22:00

the filters I'll put month on the

play22:02

filters I'll put brand on the rows and

play22:04

then I'll put suppliers on the rows as

play22:07

well and now the only thing I really

play22:09

want to see is the moving annual total

play22:12

profit for a specific month obviously

play22:15

these figures now are large very very

play22:18

large because my year and my month I'm

play22:20

selecting all which I shouldn't I just

play22:22

want the moving annual total profit for

play22:25

the last month of data that I have so

play22:27

I'll pick 2024 for 2024 I think May was

play22:31

the last month probably yeah let me just

play22:32

go back and see

play22:34

2024 and yes may is the last month okay

play22:38

so I'm back here let me just uh format

play22:40

this oh yeah this is another thing you

play22:42

can do you don't always have to go to

play22:43

values right here on the right and then

play22:45

go to Value field settings you can just

play22:48

double click and it gets you to the same

play22:51

place so I'll do some quick formatting

play22:53

number format number yeah thousand

play22:55

separator okay it's just easier to look

play22:57

at the number and there there you go

play22:58

this is the this is the moving annual

play23:01

total profit for these brands for these

play23:03

suppliers which means that over the last

play23:06

12 months up to an including 2024 May

play23:09

iron strength equipment Co for the forge

play23:13

Fitness brand sold well made this much

play23:16

profit and you can obviously add in the

play23:18

category as well if you want to and then

play23:21

you'll see a different kind of breakdown

play23:23

and that if you select everything then

play23:25

you would see the total across all of

play23:29

the brands all of the categories and all

play23:31

of the suppliers so yeah I think pretty

play23:35

simple stuff that's about it all right

play23:37

that's all from me for now if you

play23:40

enjoyed this video then please subscribe

play23:42

to the channel as there's definitely a

play23:44

lot more value ad content like this one

play23:46

coming and you should probably also

play23:49

check out these videos right here thank

play23:52

you so much for taking just a little

play23:54

time out of your day to watch this and I

play23:56

shall see you in the next one

play23:59

a

play24:00

[Music]

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Excel AnalyticsData AnalysisBusiness SolutionsPivot TablesYear-on-Year GrowthMarket ShareProfit CalculationsConditional FormattingData VisualizationFinancial Insights