MatthewBell
Technical User
Hopefully that title was clear.
I have loads of test data in a sheet. Its in pairs of columns for each series:
A=Freq1(x1) B=Amp1(y1) C=Freq2(x2) D=Amp2(y2) E=Freq3(x3) etc
What I need to do is get charts for every 5 pairs of columns so chart one has 5 series. BvsA DvsC ... JvsI
Then another chart for LvsK NvsM etc
Until there are no longer any columns of data.
The number of rows is the same for the 2cols in a pair but different for every pair. A&B have 212 rows C&D have 243rows etc.
I've recorded a macro for producing a chart so I have some code for most of the chart settings but its the loop with setting the series collections that I'm a little stumped on.
The next bit is to get one chart with a series for the average of each batch of 5column pairs. The rows dont line up for x values so I'm guessing I need to interpolate to get common x values before averaging. If any one has a clever way around this please tell. The first bit is more important though.
Many thanks, I hope its clear.
Matt![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
I have loads of test data in a sheet. Its in pairs of columns for each series:
A=Freq1(x1) B=Amp1(y1) C=Freq2(x2) D=Amp2(y2) E=Freq3(x3) etc
What I need to do is get charts for every 5 pairs of columns so chart one has 5 series. BvsA DvsC ... JvsI
Then another chart for LvsK NvsM etc
Until there are no longer any columns of data.
The number of rows is the same for the 2cols in a pair but different for every pair. A&B have 212 rows C&D have 243rows etc.
I've recorded a macro for producing a chart so I have some code for most of the chart settings but its the loop with setting the series collections that I'm a little stumped on.
The next bit is to get one chart with a series for the average of each batch of 5column pairs. The rows dont line up for x values so I'm guessing I need to interpolate to get common x values before averaging. If any one has a clever way around this please tell. The first bit is more important though.
Many thanks, I hope its clear.
Matt
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)