Spreadsheets
The following sections describe how to use Spreadsheet in Scifeon. Spreadsheets are used to register, modify, and hold data in Scifeon.
Creating and Editing Spreadsheets
Section titled “Creating and Editing Spreadsheets”In the ELN click + Section (1) and select Spreadsheet, then after that the spreadsheet is added to the ELN.
Our Spreadsheet section works just like a very basic excel.
We support the following basic features directly from the Spreadsheet header -
- Undo & Redo - The option to undo and redo recent actions.
- Text Decorations – Size, colors, position and text formatting.
- Cell Styling – Merging cells and adding borders.
- Cell Locking – Locking and unlocking of cells to ensure they cannot be accidentally edited.
- Cell Validation – Rules to validate cells and clearly mark if something is wrong.
- Cell Typing – Change cell type to Standard, Number, Percent, or Text.
- Decimal Point – Easily change decimal point position.
- Import Excel – Import excel sheet directly into the ELN.
- Export Excel – Export your ELN Spreadsheet to excel or CSV.
- Full Screen mode – Expand the Spreadsheet to fill your whole screen.
- Save – The Spreadsheet section will automatically save after ~10 seconds, but you can manually save as well.

A Spreadsheet that has unsaved data in it will have a yellow line in the left side. This a general way to tell a section has unsaved data. (1)
As in a Excel you can use the standard function like AVERAGE(), SUM(), COUNT() etc. (2)
You can also have multiple sheet (3), and all sheets are connected throughout the ELN.

Checking All Formulas
Section titled “Checking All Formulas”The Formulas panel lists every formula in a Spreadsheet, so you can check them all without clicking each cell. Use it for a 100% formula check when you validate a procedure template.
- Open the panel - Click the “Formulas” button in the Spreadsheet toolbar. A slide in modal appears in the right side of the Spreadsheet. You can keep working in the Spreadsheet while it is open.
- Formulas per sheet - Every formula is listed under its sheet, column by column. A formula filled down or across is listed once, with the cells it fills, such as D2:D7, and the formula of the first cell. Click a sheet name to collapse or expand it.
- Formula differs - Like Excel’s inconsistent formula warning, a formula is flagged when it does not match the pattern of the formulas next to it: the formulas on both sides of the cell, above and below or left and right, are the same once filled down or across, but this one is not. For example, if G2:G7 multiply by the dilution in their own row and G6 uses the dilution in the row above, G6 is flagged. A formula at the end of a range, such as a total, is not flagged. Check the flagged formulas first.
- Go to a cell - Click a formula in the list to scroll to its cells in the Spreadsheet and select them. When you select a cell in the Spreadsheet, its formula is highlighted in the list, which scrolls to it.

The right column of the panel depends on where you open it -
- In a procedure template - It shows whether each formula cell is locked. Unlocked formula cells show No, because anyone running an experiment created from the template can overwrite them. Lock them with Cell Locking.
- In an experiment - It shows the current value of each formula, or the lowest to highest value for a formula that fills several cells. The values update when the Spreadsheet recalculates.
The panel only shows formulas. It does not change the Spreadsheet.
Inserting ELN data into Spreadsheets
Section titled “Inserting ELN data into Spreadsheets”It is possible to insert any data from the ELN into a Spreadsheet.
Here how to -
- Queries & Connections - Click the “Queries & Connections” button in the Spreadsheet toolbar.
- Configure table - A slide in modal will appear in the right side of the Spreadsheet.
- Set Table Start Cell - Select the cell from where the table should start from. You can either manually type this, or use the cell picker.
- Select an Entity Source - Click the “Select Entities” button.

- Select Entity type - Select desired type e.g Samples, Batches, Animals or Fermentations
- Select Step Input/Output - The step where your entities are/will be located.
- Save Source - Save the selected configurations.

- Overview of found Entities - Here a list of all found entities are shown.
- Select columns to show in Spreadsheet - Select the columns from your entity that you wish to appear in the Spreadsheet.
- Closing Table Configuration - Clicking a cell that is not part of the entity table will close the slide in modal.
- Opening Table Configuration - Clicking a cell that is part of an entity table will open the slide in modal with all set configurations.
- Deleting Table Configuration - You can delete the inserted table by using the trashcan in the bottom right corner of the slide in modal.
- Error Handling - If there is not enough space for your table it will appear as “#ERROR”. Ensure the whole table can fit in the Spreadsheet, and won’t override other data.

Using form values in Spreadsheets (FORMV)
Section titled “Using form values in Spreadsheets (FORMV)”FORMV("Variable", "SubjectID") returns the value of a form field in the same experiment, so a Spreadsheet can use values entered in Forms.
- Variable is the form field’s Variable, in quotes. Upper and lower case do not matter.
- SubjectID is only for grid forms, where each column has its own value: the ID of the column’s subject, e.g.
"S00123". Without it, FORMV gives the first value it finds.
// The value of the field with the variable rpm:FORMV("rpm")
// The rpm entered for the Sample S00123 in a grid form:FORMV("rpm", "S00123")Number fields give numbers; other fields give their text. FORMV reads the saved form values, so the Spreadsheet updates when the form is saved. A variable that is not found gives #N/A. FORMV only works in Spreadsheets; in form calculations, use the variable directly.
Extracting Results from the Spreadsheet into the ELN
Section titled “Extracting Results from the Spreadsheet into the ELN”You can extract Result Values from the Spreadsheet that are saved as structured data in Scifeon. You do this with Dynamic Results: each row in a range of the sheet becomes a Result Value on the sample in that row.
Here is how to -
- Open Dynamic Results - Click the “Results” button in the Spreadsheet toolbar.
- Configure the rows - A slide in modal appears in the right side of the Spreadsheet, with one Dynamic Results configuration per range. Click + Dynamic Results to add another one. See the guide below on how to fill it out.
- Check the summary - The header of each configuration sums up what it saves, for example Rows 2–9 → Concentration in mg/L from column C, on the sample in column A, and shows how many rows are ready or skipped.
- Save - Click Save in the panel to keep your changes. The footer shows how many Result Values will be written.
- Save the spreadsheet - The Result Values are written when the spreadsheet is saved, not when you click Save in the panel. They are shown in a result set section below the Spreadsheet section.
- Editing or deleting a configuration - Click the “Results” button to see the configurations for the current sheet. Delete one with the trashcan in its header. Its Result Values are removed the next time the spreadsheet is saved.

Each Dynamic Results configuration has four parts -
-
Rows to include - Set From row and To row. Type the row numbers, or click a field and then a cell in the Spreadsheet. The row above the range is read as column names and shown next to each column you pick.
-
Result data
- Sample - The column with the sample IDs. It must hold the IDs of samples that exist in Scifeon.
- Value - The column with the measured result.
- Type - What was measured. Choose Same for all and type it, for example Concentration, or choose From column and pick the column that holds it.
- Unit (optional) - Choose Same for all and type it, or choose From column. Leave it empty for no unit.
- Std. dev. (optional) - The column with the standard deviation.
-
Result set (optional) - The result set the Result Values are saved in, shown as a section below the Spreadsheet. Leave it empty to save them in the step’s SpreadsheetExtractedResults result set. Type a name, for example Titration, to save them in a result set of that name. Configurations with the same result set name share it, also across sheets and spreadsheet sections of the step. Once Result Values are saved in it, the field is locked.
-
Preview - Lists the rows in the range and what happens to each when the spreadsheet is saved:
- Ready - The row is saved as a Result Value.
- Sample not found - The sample ID does not exist in Scifeon, so the row is not saved.
- Empty, skipped - The row has no sample ID or no value, so it is not saved. If a row has only one of the two, the Spreadsheet section also shows a warning, as that is often a mistake. Rows that are fully empty are skipped without a warning, unless the row held a saved Result Value: the warning then says that saving the spreadsheet removes it.
Tick Only rows that are not saved to find the problem rows quickly. The preview updates when you change the sheet.
You can rename a configuration by clicking its name.
In a procedure template, Dynamic Results save no Result Values and show no preview. Experiments created from the template save Result Values with the same settings.

Macros
Section titled “Macros”Macros let you write JavaScript that reads and writes spreadsheet data in your ELN. They run in an isolated sandbox with a hard 10-second timeout, so an accidental infinite loop or a copy-pasted snippet that tries to call out to the internet will never freeze or compromise the app.
Managing macros
- Click the Macros button in the Spreadsheet toolbar.
- Click + Macro to create a new macro, give it a name and optionally a description.
- Write your JavaScript in the source editor. Two globals are available:
context(spreadsheet API) andmath(the mathjs library). - Click Run inside the dialog to test the macro immediately against the live spreadsheet.
- Toggle Active to surface the macro as a click-to-run button in a dedicated toolbar row below the formula bar — visible to anyone who opens the spreadsheet.
- Click Save to persist your changes.
See the Spreadsheet Macros reference for the full API, common patterns, and error catalogue.