O'Reilly · By George Mount
Advancing into Analytics
From Excel to Python and R
Your spreadsheet skills give you a head start in analytics. My book builds statistical intuition in Excel, then helps you carry that knowledge into R and Python, one practical example at a time.
14 chapters · 3 parts · Paperback and ebook

What readers are saying
This book is uniquely poised to be used as both a reference and a primer on business and data analytics.
Aiden Johnson, Data Scientist & Mentor at Breakthrough Data Science
George lays out exactly what you need to do to bridge from Excel into data science and analytics.
Jordan Goldmeier, Microsoft Excel MVP and Head of Anarchy Data
The book was written in a way that helps readers transfer their knowledge about data into new tools and techniques in an approachable manner.
Nicole LaGuerre, Learning & Development Consultant at s1mplythebest.com
Selected excerpts from reader reviews.
Read all 7 reader reviews
This book is uniquely poised to be used as both a reference and a primer on business and data analytics.
Aiden Johnson, Data Scientist & Mentor at Breakthrough Data Science
George lays out exactly what you need to do to bridge from Excel into data science and analytics.
Jordan Goldmeier, Microsoft Excel MVP and Head of Anarchy Data
I benefited from this book by learning the technical progression from Excel into Python and R languages. I also took conceptual knowledge of statistics into these playgrounds.
Joe Balog, Data Analyst at joesphbalog.com
The book was written in a way that helps readers transfer their knowledge about data into new tools and techniques in an approachable manner.
Nicole LaGuerre, Learning & Development Consultant at s1mplythebest.com
Not only will the reader become comfortable with using the most popular data analysis programming languages, they will also learn about techniques to wrangle, explore, and visualize data so that it comes to life and tells a story.
John Dennis, Data Analytics & Data Science Consultant
I have been looking for the most direct line to acquire the essential skills required to perform in a data analytics/data science role at an affordable price point. This book provides the closest thing to the roadmap that I've been looking for.
Barry Lilly, Claims Team Manager at Liberty Mutual Insurance
This book is a gold mine for anyone who wants to level up their analytics game. It's an excellent review of major analytical concepts and also a great starting point for learning how to munge data programmatically using R or Python.
Tobias Zwingmann, Senior Data Scientist and Co-founder of RAPYD.AI
Choose where to buy
Prefer a paperback for your desk or an ebook alongside your workbook? Pick the retailer and format that suit you.
Paperback + Kindle
Amazon
Choose a print copy or Kindle edition.
Paperback
Bookshop.org
Find the print edition at Bookshop.org.
Paperback
Barnes & Noble
Order a print copy from Barnes & Noble.
Paperback
Books-A-Million
Browse the print edition.
PDF + EPUB
eBooks.com
Choose a digital edition to read alongside your work.
Subscription
O'Reilly Learning
Read through an O'Reilly Learning subscription.
You can also browse copies at Alibris.
Formats and availability vary by retailer. O'Reilly Learning requires a subscription; see its current access options.
Build on the spreadsheet skills you already have
Data analytics can feel like a big leap from a spreadsheet. The book starts with tools you already know, using Excel to make statistical concepts concrete before introducing R and Python. You'll work toward exploratory data analysis and hypothesis testing in a programming language.
Explore
Ask better questions
Use exploratory data analysis and probability to investigate a dataset, check assumptions, and frame useful hypotheses.
Test
Make evidence-based recommendations
Build confidence with inferential statistics, correlation, and regression before moving those ideas into code.
Program
Carry your skills into R and Python
Load, wrangle, visualize, and analyze data with open source tools, including Python in Jupyter notebooks.
Published in 2021, this book uses R and Python outside Excel. Some software screens and setup details have changed; the progression from statistical thinking to analytical programming remains the focus. For Python built into the workbook, see Python in Excel for Data Analytics.
Learning objective
By the end of the book, you'll be able to conduct exploratory data analysis and hypothesis testing using a programming language, with a foundation for learning more advanced analytical techniques.
Before you begin
Who this book is for
Spreadsheet users who want a foundation in statistics and a practical introduction to analytical programming. No previous R or Python experience is assumed.
What you should know
Bring familiarity with cell references, conditional formulas, lookups, PivotTables, and basic charts. The examples build on those skills rather than starting with Excel's fundamentals.
Software setup and Excel prerequisites
Software setup
The book was written using Microsoft 365 Excel for Windows. Its original instructions support most exercises in Excel 2010 or later on Windows or Mac, with differences in PivotTables and charts. R and Python are free, open source tools; the book introduces their installation. Older software screenshots may differ from your current version.
Excel skills to bring
- Absolute, relative, and mixed cell references
- Conditional logic and aggregation, including
IF()andSUMIF()/SUMIFS() - Combining data with
VLOOKUP(),INDEX()/MATCH(), or other lookup functions - Sorting, filtering, and summarizing data with PivotTables
- Basic charts, such as bar and line charts
For additional practice, see Excel 2019 Bible by Michael Alexander and colleagues.
Your path through the book
Fourteen chapters connect statistical thinking in Excel with hands-on analysis in R and Python.
Part I · Chapters 1–5
Foundations of Analytics in Excel
- Foundations of Exploratory Data Analysis
- Foundations of Probability
- Foundations of Inferential Statistics
- Correlation and Regression
- The Data Analytics Stack
Part II · Chapters 6–9
From Excel to R
- First Steps with R for Excel Users
- Data Structures in R
- Data Manipulation and Visualization in R
- Capstone: R for Data Analytics
Part III · Chapters 10–14
From Excel to Python
- First Steps with Python for Excel Users
- Data Structures in Python
- Data Manipulation and Visualization in Python
- Capstone: Python for Data Analytics
- Conclusion and Next Steps
Get the companion files
Follow along with the datasets, workbooks, scripts, exercise solutions, and other files used throughout the book.
On GitHub, choose Code > Download ZIP for a compressed folder, or clone the repository if you use Git.
Updates and errata
September 1, 2021 — Figure 1-11: The Descriptive Statistics screenshot should have had “Summary statistics” checked. Leaving it unchecked causes an error. The screenshot was corrected on O'Reilly's website. Thanks to MG for pointing this out!
View the earlier Analysis ToolPak note
The May 19, 2021 note described an Excel Data Analysis ToolPak issue that appeared to have been resolved by Microsoft. Bill Jelen suggested XLMiner Analysis ToolPak as an alternative at the time.
Translations and further reading
Browse translated editions
- Chinese: GOTOP.com.
- Polish: Sentencja.com.pl.
- Korean: Hanbit.co.kr.
Explore the story behind the book
- Advancing into Analytics: The reading list
- Advancing into Analytics: How to try before you buy
- Advancing into Analytics: FAQ's about the book
- Advancing into Analytics: What's with the bird?
- Five reasons I wrote Advancing into Analytics
- Why most “coding for spreadsheet users” training fails
- The learning theories behind Advancing into Analytics
- Why data analysts should learn to code
- Five ways to support Advancing into Analytics (besides buying it)
- Memorable quotes from Advancing into Analytics
Ready to take your next step in analytics?
Choose your copy, download the companion files, and work through the book one practical example at a time.
Already read the book? A review helps other readers decide whether it's right for them. Share what you learned, who would benefit, or a takeaway you've put to work.
