Search code examples
excelparameterssparklines

Passing range to sparklines in Excel


I used

CONCATENATE("N";MATCH(M4;M12:M401;0)+10;":";"N";MATCH(M4;M12:M401;1)+10)

to produce this result in cell I4

 N67:N231

I have tryed to pass this range to sparkline using CELL REFERENCE, INDIRECT(CELL REFERENCE and NAME VARIABLE. Nothing worked. Any suggestions please.


Solution

  • To get this to work I had to create a Name ranged that used indirect on the cell containing my calculated range string. Passing the name ranged to the Sparklines Data Range then works.

    Named Range SparkLine Range