Skip to content

A simple Excel workflow automation script using openpyxl to process spreadsheets. It updates a column's values, adds a bar chart, and saves the modified file.

Notifications You must be signed in to change notification settings

RazaAli313/Automating-Excel-WorkFlows-Using-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Automating-Excel-WorkFlows-Using-Python

Excel Workflow Automation with OpenPyXL This Python script automates Excel spreadsheet processing using the openpyxl library. It modifies numerical values, adds a bar chart, and saves an updated version of the file.

Features Reads an Excel file and processes data in Sheet1.

Updates values in the third column (reducing by 10%) and writes them to the fourth column.

Adds a bar chart to visualize the updated values.

Saves a new Excel file with modifications.

Requirements Python 3.x

openpyxl library

Installation bash Copy Edit pip install openpyxl Usage Ensure your Excel file (e.g., sales.xlsx) exists in the script's directory.

Run the script with:

python Copy Edit process_spreadsheet("sales.xlsx") The modified file is saved as sales_updated.xlsx.

About

A simple Excel workflow automation script using openpyxl to process spreadsheets. It updates a column's values, adds a bar chart, and saves the modified file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages