• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Vertically Scrolling Dynamic Sparklines

hennakao

New Member
Hi there, I'm new to this forum and currently struggle with an Excel problem relating to a dashboard project I am working on Hopefully someone can enlighten me.

I have a window of vertically scrolling data and would like to add sparklines, showing a 12 month rolling trend next to it. The sparklines should scroll with their respective data.

How can I accomplish this with an INDEX formula? I am trying to avoid OFFSET because it is more resource intensive.

Please see attached my workbook. Any help would be greatly appreciated.

Thank you!
 

Attachments

  • Scrolling Sparklines.xlsx
    23.4 KB · Views: 6
Hi @hennakao

I create a name (Trend) with this formulae:

=INDEX(Workings!$P$4:$AA$26,MATCH(C4,Workings!$C$4:$C$26,),)

And refer this name into sparklines.

Please check file. Blessings!
 

Attachments

  • Scrolling Sparklines.xlsx
    22.9 KB · Views: 16
Hi @hennakao

I create a name (Trend) with this formulae:

=INDEX(Workings!$P$4:$AA$26,MATCH(C4,Workings!$C$4:$C$26,),)

And refer this name into sparklines.

Please check file. Blessings!

Awesome @John Jairo V

@hennakao While named ranges for sparklines work very well, they are cumbersome to deal with and offer some limitations (compared to how named ranges can be used in charts or formulas).

I suggest setting a 7 row range in your workings tab that extracts the relevant data based on scrollbar position. Then you can point the sparkline range to the 7 row range. This offers a lot of flexibility too (if you want to add more rows to the dashboard etc.)
 
Back
Top