How to Add a Target Line to a Bar Graph in Excel

Cody Schneider

Adding a target line to an Excel bar graph instantly shows you how performance stacks up against a goal. This simple addition transforms a standard chart from a data-for-your-information visualization into a powerful performance snapshot, telling you exactly where you're winning and where you need to improve. This guide will walk you through the simplest and most effective method to create one, making your reports clearer and much more impactful.

Before You Begin: Set Up Your Data Correctly

The foundation of any great chart is well-organized data. Before creating your graph, you need to structure your data table properly. For a target line chart, you need at least two columns: one for your actual metric values and one for your target value.

Let's use a common example: monthly sales figures against a quarterly sales target.

Your data in Excel should look something like this:

  • Column A: The category (in our case, the month).

  • Column B: The actual sales figure for that month (e.g., 'Actual Sales').

  • Column C: The sales target (e.g., 'Sales Target').

Here's the key trick: for a straight, horizontal target line, the target value must be repeated for every row of data you want to plot. This tells Excel to plot a point at that value for each month, which will later be connected to form a line.

Your simple table would look like this:

Month

Actual Sales

Sales Target

January

$45,000

$50,000

February

$52,000

$50,000

March

$48,000

$50,000

With your data set up like this, you're ready to build your chart.

The Easiest & Best Method: Creating a Combo Chart

The most flexible and reliable way to add a target line is by using Excel's built-in Combo Chart feature. This allows you to combine different chart types - like bars and lines - into a single, consolidated visual. Here's the step-by-step process.

Step 1: Create a Basic Bar Chart

First, we'll create a standard clustered bar (or column) chart.

  1. Highlight the entire data range you prepared, including the headers (in our example, a range like A1:C4).

  2. Go to the Insert tab on the Excel ribbon.

  3. In the 'Charts' group, click on Insert Column or Bar Chart.

  4. Select 'Clustered Column'.

Excel will immediately generate a chart that shows two sets of columns for each month: one for Actual Sales and one for Sales Target. This isn't what we want yet, but it's the necessary first step.

Step 2: Change the Chart Type to a Combo Chart

Now, we'll tell Excel to display one of our data series as a line instead of a bar.

  1. Right-click anywhere on the chart area to bring up the context menu.

  2. Select 'Change Chart Type...' from the menu.

  3. This opens the Change Chart Type dialog box. On the left, select the 'Combo' category at the bottom of the list.

Step 3: Configure the Combo Chart Settings

This is where the magic happens. In the Combo chart dialog, you'll see your two data series (Actual Sales and Sales Target) listed, with a dropdown menu next to each one for 'Chart Type'.

  1. For the 'Actual Sales' series, make sure the Chart Type is set to 'Clustered Column'. This keeps your actual values as bars.

  2. For the 'Sales Target' series, click the dropdown and change the Chart Type to 'Line'.

As you make these changes, you'll see a live preview of your chart update to show beautiful blue bars for sales and an orange line representing the target. Click OK to apply the changes.

You've successfully added a target line!

Step 4: Style Your Target Line and Finalize the Chart

Your chart is functional, but let's make it look more professional and easier to read.

  • Format the Line: A solid line can sometimes be visually heavy. Let's make it a dash. Right-click directly on the target line in your chart and select 'Format Data Series...'. In the 'Format Data Series' pane that appears on the right, click the paint bucket icon ('Fill & Line'). Under the 'Line' options, you can change the color, width, and, most importantly, the 'Dash type'. A dotted or dashed line often works best for targets.

  • Clean Up the Legend: Excel automatically adds a legend, but since the target line is self-explanatory, you might not need a 'Sales Target' entry. You can either delete the legend entirely or click on the 'Sales Target' label within the legend and press Delete to remove just that entry.

  • Add a Chart Title and Labels: Always title your chart clearly (e.g., "Monthly Sales Performance vs. $50k Target"). If your bars represent large numbers, adding data labels can help with readability. Right-click a bar, select 'Add Data Labels', and the values will appear on top.

An Advanced Tip: Creating a Dynamic Target Line

Constantly editing your 'Sales Target' column is tedious if the target changes often. You can make your chart dynamic by referencing a single cell for the target value.

  1. Designate a cell somewhere on your worksheet to hold the target value (let's say it's cell F1). Enter your target, for example, 50000, into F1.

  2. Now, go back to your data table. In the first cell of your 'Sales Target' column (C2 in our example), instead of typing the number, type the formula =$F$1. The dollar signs ($) create an absolute reference, which means it will always look at cell F1.

  3. Click the small square in the bottom-right corner of cell C2 and drag the formula down to the other rows in your 'Sales Target' column.

Now, whenever you update the value in cell F1, your target line on the chart will automatically update. This lets you quickly see how your performance stacks up against different scenarios without ever touching the chart data directly.

Why Is This Chart So Effective?

Combining bars and a target line leverages something called "pre-attentive attributes." Your brain processes certain visual information - like length and position - almost instantly, before you even consciously think about it.

When you look at this chart, you don't need to read the numbers to understand the story. You can immediately see:

  • February was a great month: The bar clearly extends above the target line.

  • January was a near miss: The bar is just slightly below the line.

  • The scale of performance: You can grasp how far above or below the target each month was just by the visual distance between the top of the bar and the line.

This clarity makes it one of the most useful visuals for performance reports, KPI dashboards, and any situation where you need to track progress against a defined benchmark.

Final Thoughts

Adding a target line turns a simple Excel bar chart into a powerful performance dashboard visual. By using the combo chart method, you give viewers instant context, allowing them to quickly see exactly where you're hitting your goals and where you're falling short of the mark.

While mastering these tricks in Excel is a valuable skill, we know it often comes at the end of a long process of exporting data and wrangling spreadsheets. At Graphed, we created a way to get these insights in seconds, not hours. Instead of clicking through chart menus, you can connect your data sources (like Shopify or Google Analytics) and simply ask in plain English: "Create a bar chart of my sales by month this quarter with a target line at $50,000," and watch as a live, interactive dashboard is built for you in real-time.