Here is one way of doing this:
Select a range of cells that will hold the result of the following formula which is an array formula for the whole range. For example select C2:C32 (for 30 days) and enter this formula
Make sure to enter with Ctrl + Shift + Enter.
This will produce a listing of 30 values. This range of 30 cells with the values is what you will enter in the Sparklines Data Range.
This will produce the Sparklines chart for the 30 days.
Explanation of formula
$A$2 is where the dates are starting in column A.
MATCH(TODAY()-30 is the rows offset from today's date in column A it is looking for a date equal to today - 30.
$A$2:$A$300 is the range of cells where the dates are.
1 is the offset of 1 column making the column to return values from column B
30 is the height of the array in rows from which to return values.
1 is the width of the array from which to return values.
Bookmarks