Currently Empty: £0.00
Requirements
-
Basic Python knowledge – Don’t worry, we will cover each code snippet
-
You will need a computer with Python 3 installed, then we will cover how to install OpenPyXL
-
Some form of spreadsheet program. I use Excel, but you can also use OpenOffice or similar applications
Description
Become an Excel Power User – Learn how to control & automate Excel with Python and OpenPyXL
Do you have a bunch of Excel files that you need to format or put some value in a cell on each page? Do you need to create Charts on your spreadsheets or insert formulas? Maybe you just want to show off at the office! Whatever your needs, you can expect a comprehensive guide going through the nuts and bolts of how automating Excel works. The course dives straight into OpenPyXL, so you will be up and running creating and manipulating spreadsheets in no-time.
I have had so much use of OpenPyXL when dealing with spreadsheets. You can create advanced sorts and filters, insert and delete rows, copy cells, set custom formatting and much more. I even got a job based on my OpenPyXL knowledge. I am sure you will benefit from learning OpenPyXL if you have even the slightest interest in making your everyday life easier.
After taking this course you will:
-
Know how to create and manipulate Workbooks and Sheets
-
Read cell data with absolute and relative references
-
Iterate over cells and perform actions on each cell
-
Know how to delete rows and columns
-
Insert formulas and tables
-
Format your spreadsheets with fonts, colors and cell types
-
Understand how you could apply this knowledge to your own work
-
Create files and folders
-
Interact with open and save file dialogs
Whether it’s gaming, business, engineering, or data you’re passionate about, this course will give you everything you need for working on spreadsheets with Python. Take this course today, and begin your journey to having a full-fledged career as an Excel Power User!
Who this course is for:
-
Anyone interested in controlling and automating Excel with Python – with or without coding experience. People who want to get rid of manually editing hundreds of spreadsheets by hand
-
Especially suitable for those who would like to extract or add data on multiple spreadsheets or automate the creation of spreadsheets from input data
-
People who would like to know more about solving Excel problems with Python
-
People who would like to start consulting services by automating Excel tasks
Using OpenPyXL, Workbooks and Sheets
Reading data from Cells
Iterating over Cells
Manipulating Cells
Formatting and Filtering
-
25Manipulating Cells introduction
-
26Deleting and inserting rows and columns
In this lecture, we are inserting and deleting rows and columns. Note that OpenPyXL has changed from a 0-based index to a 1-based index when inserting and deleting rows. The source code is updated to reflect these changes but the video shows the 0-based index usage.
-
27The append method for rows
-
28Moving and copying Ranges of Cells
-
29Inserting formulas
-
30Tables
-
31Halfway through!
-
32Manipulating Cells quiz
Summary quiz for Manipulating Cells
Visuals
-
33Formatting & filtering introduction
-
34Formatting cells, fonts, colors, cell type (date, text etc)
-
35Copying cell formatting
CORRECTION: In the video we are setting the old_cell font to
old_cell.font = Font(name='Arial', size=18, color=colors.RED).
Since then OpenPyXL has updated to not use the colors constants RED, BLUE etc.
Instead we have to write the colors as a HEX value. The code for red is "FF0000" and thus the new line becomes:
old_cell.font = Font(name="Arial", size=18, color="FF0000")
https://www.rapidtables.com/web/color/RGB_Color.html has a picker as well as a table for HEX colors.
-
36Merge and unmerge cells
-
37Autofilter
Learn how to apply autofilter. Sorting cannot currently be done with OpenPyXL. I have attached the file 6.4_resources.py that contains the Win32 library that can apply the sort.
-
38Freeze panes
-
39Page setup
-
40Fold
-
41Formatting and Filtering quiz
Summary quiz for Formatting and Filtering.
Useful Python code with OpenPyXL
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
Stars 5
402
Stars 4
291
Stars 3
122
Stars 2
14
Stars 1
16