Data & CSV
CSV lagged change
Compare each numeric value with an earlier row in the current order.
A clear answer. Here’s how.
Appends the difference from the row lag positions earlier and 100×difference/absolute prior value. Initial rows, blank current/prior cells and percentage changes from zero remain blank where undefined. Preserves row order and rejects other non-numeric values; no dates or groups are inferred.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- Your CSV data
ID,Name,Department,Amount,Date 001,Ada,Design,120,2026-01-05 002,Sam,Writing,80,2026-01-06 003,Jo,Design,150,2026-01-07 004,Lee,Writing,,2026-01-08 005,Alex,Design,60,2026-01-09
- Column separator
- Comma
- Numeric column
- Amount
- Rows back
- 1
Example result
| ID | Name | Department | Amount | Date | Amount.change | Amount.percentChange |
|---|---|---|---|---|---|---|
| 001 | Ada | Design | 120 | 2026-01-05 | ||
| 002 | Sam | Writing | 80 | 2026-01-06 | -40 | -33.3333333333 |
| 003 | Jo | Design | 150 | 2026-01-07 | 70 | 87.5 |
| 004 | Lee | Writing | 2026-01-08 | |||
| 005 | Alex | Design | 60 | 2026-01-09 |