October 5, 2010
Hi,
Please attach your workbook.
Have you tried using the code in this blog post
Regards
Phil
Active Member
October 6, 2020
B2 cell is the real time data. I want to get changed data under K column and get the last 30 data under the L column so I can get L column in to a chart.
I have tried your sample codes but it did not work out for me. Sorry I am not an expert maybe I am doing so many things wrong.
October 5, 2010
Hi,
I don't know if you have dynamic arrays (available in Office 365) so I've written a solution that doesn't use them - see attached.
The chart plots the data in Column N. Bid Price changes in B2 are fed into L2 with existing data in Column L moved down 1 row.
Col L holds all previous prices, with the most recent 34 prices copied to Col N.
The chart plots 34 data points which is what you had in your example but this is easily changed to whatever you want. Just right click on the chart -> Select Data.
Regards
Phil
1 Guest(s)