Jump to ratings and reviews
Rate this book

Automating Excel with Python: Processing Spreadsheets with OpenPyXL and Python

Rate this book
Python is a versatile programming language. You can use Python to read, write and edit Microsoft Excel documents. There are several different Python packages you can use, but this book will focus on OpenPyXL.



The OpenPyXL package allows you to work with Excel files on Windows, Mac and Linux, even if Excel isn't installed.



In this book, you will learn about the

Opening and Saving WorkbooksReading Cells and Sheets Creating a Spreadsheet (adding / deleting rows and sheets, merging cells, folding, freeze panes)Cell Styling (font, alignment, side, border, images)Conditional FormattingChartsCommentsPrint SettingsFormulasand more!Python is a great language that you can use to enhance your daily work, whether you are an experienced developer or a beginner!

227 pages, Kindle Edition

Published November 22, 2021

19 people are currently reading
12 people want to read

About the author

Michael Driscoll

36 books4 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
5 (83%)
4 stars
1 (16%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Sundeep.
Author 9 books11 followers
January 11, 2022
Going through this book felt like someone wrote a book just for a project that I worked on 13 years back. Here's a rough list of features that would've helped me:

* Creating xlsx files with multiple sheets
* Adding data
* Formatting cells based on a known equation
* Creating charts

Instructions and examples were clear and easy to follow. Snapshots were also shown for all the examples, so you can check if you've followed along as expected. While the book is best suited if you have MS Excel, most of the examples worked for me on LibreOffice Calc. Only the charts had major differences — some types weren't supported and x/y axis label/data were problematic.

Apart from the openpyxl module, the author also briefly covered how you can use pandas, xlsxwriter and gspread (for working with Google sheets). Some features were presented at the end as Appendix chapters.

All in all, I would highly recommend this book for those wanting to use Python for automating spreadsheets.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.