vba to create scatter chart with new range every day

jalea148

Board Regular
Joined
Mar 23, 2012
Messages
58
Col A has dates [date in row k > date in row k -1]. Col B & Col C has the values [on any date only one has a value; the other null].
Every day, Mon - Friday, new data added to bottom row.
Want to plot most recent 50 rows as a scatter chart.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
amended question:

Col A has dates [date in row k > date in row k -1]. Col B & Col C has the values [on any date only one has a value; the other null].
Every day, Mon - Friday, new data added to bottom row.
Want to plot most recent 50 rows as a scatter chart.

Maybe the simplest solution is to copy the most recent 50 row to D1:D50, E1:E50, F1:F50 and plot that. Would need sub for the copy.
 
Upvote 0

Forum statistics

Threads
1,216,745
Messages
6,132,473
Members
449,729
Latest member
davelevnt

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top