I am trying to add a Macro in Excel to change the data points on the x axis of a line chart. We have .csv files that are created with two columns and a variable number of rows. We use excel to chart the data of column A to Column B. The data in column A is in feet and the data in column B is in milli inches. Ex. 0.2500. For every foot, we sample a variable thickness and record it in this .csv format. We would like the user to be able to select a number of feet that is averaged to be shown in the chart. For example, if there are 100 feet, each with a measurement, and the user chooses 20 feet, we need to average every 5 data sets and show each average as a data point on the chart. Hopefully, this is clear. I don't know if it's possible to do this outside of VBA or not. Any help would be appreciated. Thank you.