A packge to quickly split an Excel report into multiple sheets or multiple reports based on unique column values.
Project description
Excel Splitter
This is a package which will allow you to quickly split a single Excel sheet into either separate tabs of the same report or into different Excel reports.
IMPORTANT: Your sheet must contain a header row to function properly!
Once installed, you can call the split_sheet() function which contains the following parameters:
split_sheet(split_type, input_report_path, column_number_to_split_by)
ACCEPTED PARAMETER VALUES:
split_type = "separate_files" or "split_tabs" input_report_path = the path to the report to be split column_number_to_split_by = the # of the Excel column to split by (A = 1, B = 2, C =3, etc.)
EXAMPLE OF SPLITTING AN EXCEL SHEET BY UNIQUE VALUES IN COLUMN B INTO DIFFERENT REPORTS
split_sheet(split_type='separate_files, input_report_path='PATH_TO_REPORT.xlsx', column_number_to_split_by=2)
KNOWN ISSUE:
The current version of this script does not support transfer of formulas!!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for excel_splitter-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d1e04f0b7efae9329b45b53661c9843eb74f6e39c0cf61ff3c17e16386d81ec |
|
MD5 | 11e863b6d4e8c91afd5d2ee06b482327 |
|
BLAKE2b-256 | 09e28f47fd6fa22f4df2d1a67a012c749ceca999d1199acea323b891800759b5 |