This project demonstrates how to automate Excel tasks using Python and OpenPyXL.
- Read data from Excel
- Calculate discounted values
- Write results to a new column
- Generate a bar chart automatically
- Python
- OpenPyXL
The script processes transaction data, updates the workbook, and generates a bar chart automatically.
- Install OpenPyXL
pip install openpyxl-
Place
transactions.xlsxin the project directory. -
Run:
python xl_automation.py- Open the updated Excel file to view the calculated values and chart.
