JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Template PreviousRow() in Coda
previousRow()
Rolling Total
DB Wood Sales
DB Wood
Moving average
DB Brussels - Paris
More
Share
Explore
DB Wood Sales
compound counting in the context of previous row
View of DB Wood Sales
Blog explaining the step you see below: ⤵️
previousRow() in Coda, a bad idea?
Why a button is your friend to track changes
huizer.medium.com
DB Wood Sales
DB Wood Sales
Name
rowIndex
wood
sold
cumul
initialStock
outcome
step01
step02
step03
step04
step05
outcomeRefined
turnover
Name
rowIndex
wood
sold
cumul
initialStock
outcome
step01
step02
step03
step04
step05
outcomeRefined
turnover
10 m3 Beech
1
Beech
10
10
410
400
10 m3 Beech
50 m3 Beech
[
10
]
[
50
]
[
10
]
[
10
50
]
10
10
400
$7,000.00
50 m3 Beech
2
Beech
50
60
410
350
10 m3 Beech
50 m3 Beech
[
10
]
[
50
]
[
10
]
[
10
50
]
10
50
60
350
$35,000.00
50 m3 Birch
1
Birch
50
10
934
924
50 m3 Birch
50 m3 Birch
[
50
]
[
50
]
[
50
]
[
50
50
]
50
50
884
$12,500.00
50 m3 Birch
2
Birch
50
60
934
874
50 m3 Birch
50 m3 Birch
[
50
]
[
50
]
[
50
]
[
50
50
]
50
50
100
834
$12,500.00
10 m3 Cherry
1
Cherry
10
10
155
145
10 m3 Cherry
50 m3 Cherry
70 m3 Cherry
[
10
]
[
50
]
[
70
]
[
10
]
[
10
70
]
[
10
70
50
]
10
10
145
$7,800.00
There are no rows in this table
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
Ctrl
P
) instead.