
Data Validation Lists and Their Limits in Excel Sheets
How Excel data validation lists behave and where they stop: the 255 character typed list, range sources, long lists, dependent dropdowns and pasting.
Everything you need to level up your coding skills.

How Excel data validation lists behave and where they stop: the 255 character typed list, range sources, long lists, dependent dropdowns and pasting.

Control what goes into a shared spreadsheet: templates, data validation, tables, protection, error flags and import checks that stop bad data at the source.

Avoid misleading axes in Excel charts: start bars at zero, set scales on purpose, avoid dual axes, use consistent scales across charts and label the units.

Export charts as PNG or SVG from a script: draw with matplotlib from the same data, render headless with LibreOffice, or use Windows COM.

Build an Excel dashboard from SQL output: one data sheet per query, a presentation sheet of tiles and charts, scheduled refresh and tie-out checks.

Add sparklines, data bars, color scales and icon sets to a table so readers can scan 40 rows in seconds, written from XlsxWriter with accessible choices.

Fix charts that miss new rows or show blank gaps when data size changes: Excel tables, dynamic named ranges, generated ranges and refresh settings.

diff -w hides YAML indentation changes that alter meaning. Normalize both files with yq sort_keys and compare as data to ignore layout and order only.

Deep-merge a base and an override with yq eval-all, choose whether lists replace or append, and check what a null or an empty value in the override does.

Load YAML, validate it with pydantic models and get every error with its path. The Norway problem caught, extra keys rejected and ranges enforced.

A YAML file can hold several documents separated by three dashes. safe_load fails on them, safe_load_all reads them and safe_dump_all writes them.

Edit a YAML file from Python and keep its comments, key order, quotes and block strings with ruamel.yaml round-trip mode, plus settings and caveats.
We send one email when a new article is published. No spam.