Tutorials by topic

Excel and document tasks

Organize tables and check numbers to create clear work documents.

Articles on this topic 7

Step by step, with examples

Excel and document tasks04

Find duplicate Excel rows and separate them for review

Find rows with exact matches in all four columns and collect them in a new Excel file with their original row numbers. Review each duplicate group, including its first occurrence.

ExcelDuplicate checksopenpyxl
Excel and document tasks06

Check tables, numbers, and units before writing a document

Before turning a table into sentences, align the subject, period, denominator, and unit. Use a synthetic monthly results table to check a value that changed from 80 % to 82 % and a unit conversion, then build a reusable checklist.

Document checksUnitsPercentages
Excel and document tasks24

Merge PDFs and extract a page range with pypdf

Merge several PDFs into one file, extract an inclusive page range into a second file, and verify the resulting page counts and order. A synthetic set of blank pages with deliberately different dimensions makes the result checkable by hand.

PythonPDFpypdf
Excel and document tasks25

Standardize mixed date formats in a CSV and list unparsed values

Convert several known date formats into ISO-style YYYY-MM-DD values while keeping the original CSV unchanged. Values that do not match an approved format or are not valid calendar dates are written to a separate review file.

PythonCSVDates
Read → Run → Check

All examples are for practice. Automotive data is synthetic and used for illustration.