1. Introduction to the topic
Business users often reach the limits of manual spreadsheet work when data volume and repetition increase. Here, the relationship between Excel and Python is defined, together with the purpose of combining them and the types of tasks this connection is meant to support.
- connecting the Excel program with Python,
- purpose and application of the connection.
2. Review of Excel basics
Accurate spreadsheet work depends on correct data entry and clear sheet structure. The section revisits formats for numbers, currencies, percentages, text and dates, then moves to alignment, borders, data series, grouping, formula tracing, and copy tools including Paste Special.
- correct data entry – number, currency, percentage, text, date format,
- font: alignment and borders,
- data series – text, date and time series, ascending, descending, constant, numeric data series, custom data series,
- format painter tool,
- grouping rows and columns,
- formula tracing, tracing dependencies and precedents,
- copy tool, paste special.
3. Preparing an Excel spreadsheet
A well-structured worksheet makes later import, automation and analysis more predictable. This part addresses how to arrange spreadsheet content so that Python can process it consistently, with attention to layout clarity, data organization and readiness for further operations.
4. Introduction to the Python language
Python syntax is introduced through the essentials needed for later work with Excel data. The section covers core programming concepts and flow control, so participants can read simple scripts, build basic logic and understand how code executes in analytical tasks.
- basics of programming,
- flow – control.
5. Environment setup
Before any analysis begins, the tools need to be installed and arranged into a usable workspace. This section covers the setup of Python and Jupyter, package installation, and practical use of the Jupyter interface for running code, testing steps and organizing notebook-based work.
- installation,
- Jupyter – installation and packages,
- using the Jupyter interface.
6. Connecting Excel and Python
Working between the spreadsheet and code starts with moving data reliably in both directions. Participants handle reading Excel files into Python, writing processed results back to workbooks, and using Python to automate recurring Excel operations and support data analysis workflows.
- loading data from an Excel file into Python,
- saving data from Python to an Excel file,
- automation of activities in Excel using the Python language,
- data from Excel in analysis using Python.
7. Application of the Excel connection with Python in fields
Across business functions, the Excel-Python link supports different types of work with the same data foundation. Examples show how it can be used in marketing and sales, finance and accounting, as well as logistics and transport, with emphasis on analysis, reporting and repeatable processing.
- marketing and sales,
- finance and accounting,
- logistics and transport.
8. Data visualization libraries in Python
Charts and analytical visuals help turn worksheet data into readable conclusions. The section focuses on Python libraries used to build plots, compare categories, show trends and present results generated from Excel-based datasets in a form suited to further analysis.
9. Python packages for the Excel program
openpyxl, xlwings or pandas form the technical base for working with Excel from Python. This part distinguishes the roles of key packages, the scope of file and workbook operations they support, and criteria for selecting a library for editing, analysis or task automation.