
In Excel 2013, you need to change the chart type by right clicking the column, and select Change Series Chart Type to open the Change Chart Type dialog, then click All Charts tab and specify series chart type and the secondary axis in Choose the chart type and axis for your data series section, then click OK. Click OK to close dialog, and you see the chart is inserted with two y axes. In Change Chart Type dialog, click Line in left pane, and select the line chart type you like. Then right click the red column in the chart, select Change Series Chart Type.

Then in Format Data Series dialog, check Secondary Axis in the Plot Series On section, and click the Close button. Right click a column in the chart, and select Format Data Series in the context menu. Select the data range, and insert a chart first by clicking Insert and selecting a chart you need in the Chart group.Ģ. So one way that we can make a Dynamic Chart in Excel is with the Offset Function.Amazing! Using Efficient Tabs in Excel Like Chrome, Firefox and Safari! Save 50% of your time, and reduce thousands of mouse clicks for you every day!įollowing the below steps, you will find that making two y axes in chart is very easy.ġ. If we create a chart of all the data points, we will have lots of blanks in our data and the chart would look like this: But we have a problem because we need to create a chart of only 3 data points (in our example). You can now see that we have the data points that have a “YES” grouped for our chart. Your chart data range should now look like this:ĥ) Define 2 Named Formula Using Offset for Categories and Data Points Then copy it down from Cell G3 to Cell G13. So put this formula in cell G3 and change the array from A1:A13 to B1:B13 like this: This is the same formula that we did in step 3, but we just need to change the list of data in our Index formula. Now put this formula in cell F2:Ĥ) Use Index to Return the Smallest Row Data Point Now that we have a unique identifier for each selected data point, let’s use that in an index function to return the Horizontal Axis Categories. Your data range will now look like this:ģ) Use Index to Return the Smallest Row Category We will use these row values in our Index formula in the next steps. Here is my solution to the determining a unique identifier as to if a data point should be included in the chart. Excel won’t move past the first “Yes” and will keep returning the same data point. Now we have identified the data points we want to show in our Excel chart, but we need a unique identifier for each data point. And you would want to mark a few data points with “YES” so that we will know if our test works.Ģ) Determine the Row of a Selected Data Point
