RobbieC
Active Member
- Joined
- Dec 14, 2016
- Messages
- 376
- Office Version
- 2010
- Platform
- Windows
Hi there, I have 2 columns of data that are used in my chart. They are on Sheet 'Calcs' and are columns K6:K60 & M6:M60.
The 'Chart data range' is =Calcs!$K$6:$K$60,Calcs!$M$60:$M$60
This is fine if I have the both columns to row 60, but most of the time is less.
I have worked out the length of the column K & M in a seperate cell named 'chtLen' in cell V1 using: =SUMPRODUCT(MAX((K6:K60<>"")*ROW(K6:K60)))
This returns the number of entries in the column, for example '49'
So, I'm now hoping that I can replace the 'Chart data range' with something like:
="Calcs!$K$6:$K$" & chtLen, "Calcs!$M$6:$M$" & chtLen
If you can point me in the right direction to get this working, I'd be very grateful
Many thanks
Rob
The 'Chart data range' is =Calcs!$K$6:$K$60,Calcs!$M$60:$M$60
This is fine if I have the both columns to row 60, but most of the time is less.
I have worked out the length of the column K & M in a seperate cell named 'chtLen' in cell V1 using: =SUMPRODUCT(MAX((K6:K60<>"")*ROW(K6:K60)))
This returns the number of entries in the column, for example '49'
So, I'm now hoping that I can replace the 'Chart data range' with something like:
="Calcs!$K$6:$K$" & chtLen, "Calcs!$M$6:$M$" & chtLen
If you can point me in the right direction to get this working, I'd be very grateful
Many thanks
Rob