0

I have three years of cost and quantity data for three program categories. I would like to combine them into one chart.

The cost data by program type looks like this:

enter image description here

The quantity data by program type looks like this:

enter image description here

I would like to create a clustered bar chart with the quantity of each program type clustered by year and three cost trend lines as a secondary axis.

I think I am going for a chart that looks like this:

enter image description here

I am not sure how to do this in Excel. I have tried different combination charts but doesn't seem to work. I would be grateful for any advice.

Thanks in advance

2
  • Welcome to SuperUser! Can you edit your question and add an image of your data? Jul 11, 2020 at 0:40
  • Hi, thank you. I added the images of the data and edited the entry. Please let me know if there are additional revisions or changes needed. Many thanks, Jul 11, 2020 at 0:50

1 Answer 1

0

First, create a column chart based on the quantity table. I selected the range and used Insert>Charts>2-D Column:

enter image description here

Next, add the Cost data by copying the cost range, then right-click the chart (white-spaces, not a series) and use Paste from the context menu. This will paste the selected data as new series in the chart:

enter image description here

Next, right-click the chart again and select "Change Chart Type". Then select Combo at the bottom of the Change Chart Type dialog. If you expand the size of the dialog a little, you'll see you can select secondary axis for certain series. So, select Secondary Axis for the three cost series:

enter image description here

Now click OK and adjust the other chart elements however you like.

1
  • That worked perfectly. - thank you. I greatly appreciate it! Jul 11, 2020 at 16:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .