Share via

Sparklines

Anonymous
2015-05-08T17:29:06+00:00

Hello,

I need to create  sparklines for a set of data that keeps changing based on a selection.

I am trying to give a dynamic range for the data range like [ =R5 : OFFSET(R5,0,A1-1) ] because the data in the source gets populated by the value in cell A1.

When I give a formula for data range excel returns a error message "Data source reference is not valid".

Any help is welcome to fix this.

Thanks

SS

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2015-05-09T23:30:14+00:00

For me its working absolutely fine. I will suggest you to do exactly same what I did in my previous thread in a new workbook. Once it works fine then you do in your final file.

Still if you face issue, please upload your file with sample data on Onedrive and share the link here.

Was this answer helpful?

0 comments No comments

Answer accepted by question author

Anonymous
2015-05-08T22:48:20+00:00

For this create a Name.

Go to Formula/Name Manager/New/Give a name say its "Spark"/Now there give this formula in refer to,

=OFFSET(Sheet1!R5,0,,,Sheet1!$A$1)

Now in your sparkline range give formula as 

=Spark

Hope it helps

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2015-05-09T19:35:56+00:00

    Hi Vijay,

    Getting the same erroe message;

    Was this answer helpful?

    0 comments No comments