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.
Sort and filter
You can sort and filter ranges in a spreadsheet. Learn more in the links to the Blockpad website below.
Conditional formatting
You can also conditionally format cells using Blockpad Style Rules.
Blockpad specific features
Units
Blockpad spreadsheet formulas have all the features of dynamic equations described in Calculations. So, you can do things like math with units.
Named cells
You can use a formula to assign a name to a cell, then use that name to reference it.
Custom functions
You can create your own functions and use them in the spreadsheet.
Reference document values
You can also reference values from other locations in the file.
Multiline cells
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.
Show formula
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.
Open a CSV
You can open a .csv file as a spreadsheet in Blockpad, then use it for your calculations.
Open a .csv file as a spreadsheet:
- Select File>Open in the toolbar.
- In the bottom right of the window that appears, change "All supported files (*bpad, ...)" to "CSV (comma-delimited) (*.csv)".
- Navigate to file you wish to open, select it, and click Open.
- Click the Edit as Blockpad file button.
- Treat the spreadsheet contents like any other Blockpad spreadsheet content.
Often old csv files have numbers with no units assigned. For a quick way to assign units to these tables, see the section about it in the scripts deep dive.
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.