7th Meeting
Advanced Excel tools for Data Analyst
Analysis ToolPak – Solver – Forecast Worksheet
August 18st, 2018
Lai Trung Minh Duc | DucLTM@outlook.com
Microsoft Student Partners Vietnam | Vietnam BI Community
Agenda
• Analysis ToolPak
• Statistic overview
• Descriptive statistical
• Regression
• Solver
• Forecast
• Last words
Introduction
Lai Trung Minh Duc
Former External Economics student @ FTU
Former Solution Architect @ Savills Vietnam
Information Assurance student @ FPT
Tech-writer @ Duck’s Tech Zone
Full stack Developer @ Pizitech LTD.
Tech-trainer @ Microsoft Student Partners Vietnam
Tech-love: ASPNET Core, Python, Angular, Docker, SQL
Interests: Data Visualization, Data Analytics, Finance, Marketing
Analysis ToolPak
Chapter 42 – Summarizing data by using descriptive statistics
Chapter 57 – Introduction to multiple regression
What is it?
• Microsoft Add-in for Statistical (Support from Excel 97)
• If you need to develop complex statistical or engineering analyses,
you can save steps and time by using the Analysis ToolPak. You
provide the data and parameters for each analysis, and the tool uses
the appropriate statistical or engineering macro functions to calculate
and display the results in an output table. Some tools generate charts
in addition to output tables.
Features
https://support.office.com/en-us/article/use-
the-analysis-toolpak-to-perform-complex-
data-analysis-6c67ccf0-f4a9-487c-8dec-
bdb5a2cefab6?ui=en-US&rs=en-US&ad=US
Why using it instead of SPSS and MiniTab?
• Free
• Pre-installed in Excel (from Excel 97)
• No need to install third-party software
• Light-weight
• Interact with Excel directly
Analysis ToolPak
Demo – Activate Analysis Toolpak in Excel
Analysis ToolPak
Descriptive Statistics
Definition
Descriptive statistics are brief descriptive coefficients that summarize
a given data set, which can be either a representation of the entire or
a sample of a population.
Descriptive statistics are broken down into measures of central
tendency and measures of variability (spread).
Measures of central tendency include the mean, median, and mode.
Measures of variability include the standard deviation, variance, the
minimum and maximum variables, and the kurtosis and skewness.
Terms
Kurtosis (độ nhọn)
Skewness (độ lệch)
Analysis ToolPak
Descriptive Statistics - Financial Sample.xlsx
Analysis ToolPak
Regression
Definition
Regression is a statistical measure used in finance, investing and other
disciplines that attempts to determine the strength of the relationship
between one dependent variable (usually denoted by Y) and a series of other
changing variables (known as independent variables). Regression helps
investment and financial managers to value assets and understand the
relationships between variables, such as commodity prices and the stocks of
businesses dealing in those commodities.
https://www.investopedia.com/terms/r/regression.asp
Definition
Terms
http://www.statisticshowto.com/excel-regression-analysis-output-explained/
Terms
http://www.statisticshowto.com/excel-regression-analysis-output-explained/
Terms
http://www.statisticshowto.com/excel-regression-analysis-output-explained/
Note
• P-value của biến càng thấp (< 0.05) → ảnh hưởng của biến đến KQ
của PT Hồi quy càng cao. (Trang 570)
• Residual: Phần dư = giá trị thực tế - giá trị predicted.
• R-squared fit model: http://blog.minitab.com/blog/adventures-in-
statistics-2/regression-analysis-how-do-i-interpret-r-squared-and-
assess-the-goodness-of-fit
Analysis ToolPak
Demo – Regression
Single regression
Multiple regression
Solver
Chapter 29 to Chapter 37
Problems
What is it?
• Microsoft Add-in for What-If analysis (Support from Excel 2007)
• Use Solver to find an optimal (maximum or minimum) value for a formula
in one cell — called the objective cell — subject to constraints, or limits, on
the values of other formula cells on a worksheet. Solver works with a group
of cells, called decision variables or simply variable cells that are used in
computing the formulas in the objective and constraint cells. Solver adjusts
the values in the decision variable cells to satisfy the limits on constraint
cells and produce the result you want for the objective cell.
Parameters of Solver
• Target Cell (Objective)
• Changing cells
• Constraints
Example of Solver
• Target Cell (Objective): Profit from Xbox and Games
• Type: Maximize
• Changing cells: Console and games price
• Constraints: Keep price close to competitor’s price.
Solver lesson in Excel Book
• Chapter 29 to Chapter 37
Solver
Demo – Chapter 31 - Using Solver to determine the optimal product mix
Drug companies sample (in exercises folder resource of the book)
Solver
Demo – Chapter 31 - Using Solver to determine the optimal product mix
Forecasts
https://www.k2e.com/tech-update/tips/1131-tips-building-better-forecasts-with-
excels-forecast-sheet-feature
Forecast Functions
https://support.office.com/en-us/article/forecasting-functions-
reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e?ui=en-
US&rs=en-US&ad=US
Forecast Worksheet
(Support in Office 2016)
Forecast Worksheet
http://www.scmfocus.com/demandplanning/2011/03/alpha-beta-and-gamma-in-forecasting/
For Alpha, Beta, Gamma
Last words
• Download Excel book (in our group)
• Download exercises of the book: http://aka.ms/ExcelData2016/downloads
• Every-month, we will have Excel discussion from the knowledge in the book, and
review the module.
• Next course will be PowerBI, and will introduce next week.
THANK YOU

7th meeting - Analysis Toolpak - Solver - Forecast Worksheet