Headers appear offset or misaligned when using:
-
CellRange -
PREVIOUS_ROWheader option
Why this happens
With CellRange:
-
Data is sliced first
-
Header resolution depends on range boundaries
When using PREVIOUS_ROW:
-
Sparkflows explicitly reads the row above the selected range
-
That row becomes the header source
-
The range itself is treated as pure data
Important distinction
PREVIOUS_ROW refers to the Excel row, not the first row inside the range.
Recommendation
When using CellRange:
-
Double-check header row position
-
Prefer
FIRST_ROWif headers are inside the range