# How-to guides

These pages assume you know the basics from the [tutorial](<https://justybase.github.io/xlspy/learn/index.md>) and want to solve a specific task.

### [Choose XLSX or XLSB](<https://justybase.github.io/xlspy/guide/choose-format/index.md>)

Compatibility, speed, file size and reader support.

### [Writing workbooks](<https://justybase.github.io/xlspy/guide/writing/index.md>)

Sheet options, large exports, cell text rules, failures and errors.

### [Formatting and layout](<https://justybase.github.io/xlspy/guide/styling/index.md>)

Number formats, styles, column widths, headers, tables, conditional formats, groups.

### [Formulas, charts and objects](<https://justybase.github.io/xlspy/guide/objects/index.md>)

Formulas, validation, links, images, printing, charts, sparklines, slicers, pivots.

### [DataFrames](<https://justybase.github.io/xlspy/guide/dataframes/index.md>)

`to_xlsx`, `to_xlsb` and `write_dataframe`.

### [Updating workbooks](<https://justybase.github.io/xlspy/guide/updating/index.md>)

`XlsxUpdater`, `XlsmUpdater` and `XlsbUpdater`.

### [Reading workbooks](<https://justybase.github.io/xlspy/guide/reading/index.md>)

`ExcelReader` and the read modes.

### [Workbook model](<https://justybase.github.io/xlspy/guide/model/index.md>)

`load_workbook()` and the openpyxl-like model.

### [Troubleshooting](<https://justybase.github.io/xlspy/guide/troubleshooting/index.md>)

Common errors and what to do about them.

## Pick by goal

| Goal | Start here |
| :--- | :--- |
| Export a query result | [Streaming](<https://justybase.github.io/xlspy/guide/writing/index.md#streaming-large-exports>) |
| Make a polished report | [Formatting and layout](<https://justybase.github.io/xlspy/guide/styling/index.md>) |
| Add a chart or table | [Formulas, charts and objects](<https://justybase.github.io/xlspy/guide/objects/index.md>) |
| Refresh a template | [Updating workbooks](<https://justybase.github.io/xlspy/guide/updating/index.md>) |
| Read values fast | [Reading workbooks](<https://justybase.github.io/xlspy/guide/reading/index.md>) |
| Edit an existing file | [Workbook model](<https://justybase.github.io/xlspy/guide/model/index.md>) |
| Use pandas or polars | [DataFrames](<https://justybase.github.io/xlspy/guide/dataframes/index.md>) |
