## Spreadsheets

#### Spreadsheet in a file

A spreadsheet frame works and acts exactly like a spreadsheet, but with Blockpad formula features.

Plus, you can reference document values from a spreadsheet, so your calculations can be connected.

###### Insert a spreadsheet in a file:

- Click the insert button.
- Select spreadsheet.
- Click OK.

For the basics, you can have tables of text and numbers.

You can have cells with formulas for math calculations, and use normal spreadsheet functions inside of them.

You can sort and filter ranges in a spreadsheet. Learn more in the links to the Blockpad website below.

You can also conditionally format cells using Blockpad Style Rules.

Blockpad spreadsheet formulas have all the features of dynamic equations described in Calculations. So, you can do things like math with units.

You can assign names to values and use them in other places.

And create your own functions.

You can also reference values from other locations in the file.

You can change a cell to be multiline, where you can do anything that can be done in a report. See multiline cells in Calculations to learn how.

In spreadsheets some things are not displayed in a formula after entering. In a spreadsheet cell, the formula is automatically hidden. Only the result and the assigned name are shown. If there is not an assigned name, then only the result is shown.

You can show and hide formulas and results, just like in dynamic equations.

###### Control cell formula visibility:

- Select a cell with a formula.
- Open the properties window.
- Near the bottom, under
*Formula*, toggle*Show Formula*,*Show Name*, or*Show Result*.

#### Mini-spreadsheets in a document

Blockpad also supports mini-spreadsheet tables inside of a document. See the section on tables in calculations for more information.

#### Table of Contents

- Drawing inside a document or file
- Drawing objects
- Lines, points, and shapes
- Text labels
- Linear dimension labels
- Textboxes
- Images
- Selecting multiple objects
- Ordering objects
- Using the point snapping
- Points you can snap to
- Horizontal and vertical from points
- Parallel or perpendicular lines
- Point snap options
- Transformations - resizing and moving
- Format drawings
- Keyboard input and canvas scales

- Top level frames
- Frames in Frames
- Value containers and location
- Frames and sections are containers
- Containers inside containers
- Dot notation to specify a value in a container
- Capture values

- What is a block?
- Block example
- Use the block results
- Block inputs
- View block as table
- Block instances and block definitions
- More examples
- Create a block
- When to make a block
- Make a block with Blockpad calculations
- Update a block definition
- Create a block using scripts
- Block tables

- Examples library
- Use library items in a document
- Use the long form library item name
- Assign a shortcut name to the library
- Include a library in a file
- Use a library number value
- Use a library function
- Use items in a library frame
- Use a library data table as function
- Use library blocks
- Core, built-in, and subscription libraries
- Create personal libraries
- Save items to your library
- Manage your library online
- Library subscriptions