Stock inventory spreadsheet
Create stunning reports for your stock inventory
- Template type spreadsheet ods medium
- Carbone min. v4.24.0+
- Features loop alias
- Target inventory checking new sheet custom
Objectives
You want to generate a spreadsheet for your stock inventory with the following features:
- Automatically create new sheets,
- Display products using a loop,
- Show characteristics from a nested array.
Solution
Here’s how you can achieve this using Carbone:
Design your template
Use Carbone tags to define how your data is displayed, using loops and nested loops.
Example:
{d.brands[i].products[i].name} {d.brands[i].products[i].packaging[i].size} {d.brands[i].products[i].packaging[i].quantity} {d.brands[i].products[i].packaging[i+1]} {d.brands[i].products[i+1]}
Define alias
Use
{#...=...}
to define alias.Example:
{#sheet1 = d.brands[i].name} {#sheet2 = d.brands[i+1].name}
Rename sheets using aliases
Right click on the tab, and select "Rename sheet..." option.
Write
{$...}
to use the alias previously definedExample:
{$sheet1}
and{$sheet2}
And there you go!
Trusted by 600+ paid customers in 40+ countries
Finance
Healthcare
Public
Retail
Industries
Energy
Software
Telecom