I have a data set in which the first column is the x but the other columns (> 50) are the Ys. There are 6 rows. I know I can plot all the Ys on the same axis in the same chart, but I need separate graphs of Y all with the same x. However, I am clueless if it is possible to have an excel macro that will allow me to plot DIFFERENT bar graphs for as many Ys all at once. Doing it manually is a pain because I have many datasets with these dimensions. Any help would be greatly appreciated. Below is the code I used but it plotted all the bars in a single graph. Found this code online and tweaked it
Sheets("sheet1").Select
ActiveSheet.Shapes.AddChart.Select
With ActiveChart
.ChartType = xlColumnClustered
.SetSourceData Source:=Sheets("sheet1").Range("A1:D7") 'sets source data for graph including labels
.SetElement (msoElementLegendRight) 'including legend
.HasTitle = True
'dimentions & location:
.Parent.Left = 47 'defines the coordinates for the left side of the chart
.Parent.Height = 300
.Parent.Width = 600
.ChartTitle.Text = "Yield by group " & intGraphStart
End With