Excel not graphing data

Click on any of the graphs; in the formula bar you will see the ‘Formula’ that creates this graph, for example =SERIES(Sheet1!$A$3;Sheet1!$B$2:$N$2;Sheet1!$B$3:$N$3;1)

  1. The first parameter is the Title of each graph;
  2. the second parameter is the X-range
  3. the third parameter is the Y-range
  4. the fourth parameter is the sequential count.

Your problem is the second parameter; but not just anyone: typically, all your graphs share this parameter, and you can only edit it in #1. Here is what you need to do:

  1. use cursor down or up to step through all graphs, until you see graph 1 in the formula bar (not necessarily your first graph; and it doesn’t really matter which one of yours it is)
  2. in this formula, edit the X-range to include the remaining columns, for example, change $B2:$N2 to $B2:$W2.
  3. edit the Y-range to include the remaining columns too, for example, change $B3:$N3 to $B3:$W3. Press <RET>. Your first graph should now show all data points.
  4. repeat this for all other graphs (X might be automatically ok, but Y needs to be adjusted.

Note that there are more fancy ways to do so, by using the Excel-supplied dialogs and controls, but they are very different in each version, and some of them behave counter-intuitive. Generally, Excel tries to be clever, and sometimes that helps, and sometimes not. I always use the ‘manual’ way as described, and once you understood the four parameters, it is straight forward, and you can create any kind of special graphs with it.

  • #2

It sounds like you have some non-numeric data where you should have numbers, so Excel cannot parse the range properly. It usually helps to set up the data a special way. Put your X values in the first column, Y values in subsequent column, keep the cell above the X values blank, and put labels in the cells above the Y values. This is a more foolproof way to ensure that Excel gets your range correctly.

If this doesn’t work, you can select the chart, go to the Edit Data dialog, then series by series, edit the ranges containing X and Y values and series names. You also may have to fix the non-numerics. Sometimes imported data looks numeric but is interpreted as text. If you don’t apply a horizontal alignment to the range (I rarely do to help with this issue), text is left aligned and numbers are right aligned. If you have left aligned numbers, select and copy a blank cell, then select the left aligned numbers, use Paste Special, and choose the Operation — Add option to add the blank (zero) to the numbers. This coerces Excel to interpret the cells at numeric values and converts them, so your chart should work.

  • #3

How to fix this:

namnls.jpg

Last edited: Jan 18, 2008

  • #4

Delete the chart. Insert a row above your data. Keep A1 blank, enter labels in B1 through D1, say «First», «Second», and «Third». select this entire range and rebuild the chart.

  • #5

K thx!
But now it looks like this :P

namnls-1.jpg

  • #6

Select the range, and remove the horizontal alignment, You will see a lot of values left-aligned, which means they are text, not numbers. Excel plots text as if it had a zero value. It looks like these are all of the numbers containing a decimal point.

To fix: copy a blank cell, select the text you need to convert to numbers, use Paste Special, and choose the Operation — Add option. This adds the blank (zero) to the cell value, which Excel is forced to interpret as a number, and thus converts the text to numbers. You shouldn’t have to recreate the chart, the points will move after making this correction.

  • #7

Thx, but the problem actually had to do with me using a fullstop instead of using comma, really is stupid that Excel can’t interpret fullstops oh well. THX for the help, really couldn’t have done it without it!

  • #8

This is a function of how the regional settings on your computer are set up. If you’re set up to use comma decimal separators, then you have to enter numbers with commas as decimal separators.

  • #9

Hi!

Hey, when the box is green it means that the data is in text format, likely as the decimal point is not really a decimal point. What i do is in an adjacent column write the formula «=VALUE(A1)» (if the original value is in A1) this copies the number across and changes it to a number. You can tell as usually numbers are right aligned and text is left aligned. Now do the drag down («dark Black Cross» trick in the bottom corner of the cell) to drag this formula down the column to copy the rest of your data. Now when you do your chart, reference the cells with the new values and your set!

Good luck!!;):p

After you input your data and select the cell range, you’re ready to choose the chart type. In this example, we’ll create a clustered column chart from the data we used in the previous section.

Step 1: Select Chart Type

Once your data is highlighted in the Workbook, click the Insert tab on the top banner. About halfway across the toolbar is a section with several chart options. Excel provides Recommended Charts based on popularity, but you can click any of the dropdown menus to select a different template.

How to select chart type in Excel

Step 2: Create Your Chart

  1. From the Insert tab, click the column chart icon and select Clustered Column.

How to select Excel chart

  1. Excel will automatically create a clustered chart column from your selected data. The chart will appear in the center of your workbook.
  2. To name your chart, double click the Chart Title text in the chart and type a title. We’ll call this chart “Product Profit 2013 — 2017.”

How to name a chart in Excel charts

We’ll use this chart for the rest of the walkthrough. You can download this same chart to follow along.

Download Sample Column Chart Template

There are two tabs on the toolbar that you will use to make adjustments to your chart: Chart Design and Format. Excel automatically applies design, layout, and format presets to charts and graphs, but you can add customization by exploring the tabs. Next, we’ll walk you through all the available adjustments in Chart Design.

How to make adjustments to your chart in Excel

Step 3: Add Chart Elements

Adding chart elements to your chart or graph will enhance it by clarifying data or providing additional context. You can select a chart element by clicking on the Add Chart Element dropdown menu in the top left-hand corner (beneath the Home tab).

How to add chart elements in Excel

To Display or Hide Axes:

  1. Select Axes. Excel will automatically pull the column and row headers from your selected cell range to display both horizontal and vertical axes on your chart (Under Axes, there is a check mark next to Primary Horizontal and Primary Vertical.)

    How to display or hide axes in Excel charts

  2. Uncheck these options to remove the display axis on your chart. In this example, clicking Primary Horizontal will remove the year labels on the horizontal axis of your chart.

    How to remove display axis in Excel charts

  3. Click More Axis Options… from the Axes dropdown menu to open a window with additional formatting and text options such as adding tick marks, labels, or numbers, or to change text color and size.

    Axis dropdown menu in Excel

     

To Add Axis Titles:

  1. Click Add Chart Element and click Axis Titles from the dropdown menu. Excel will not automatically add axis titles to your chart; therefore, both Primary Horizontal and Primary Vertical will be unchecked.

    Add chart elements in Excel

  2. To create axis titles, click Primary Horizontal or Primary Vertical and a text box will appear on the chart. We clicked both in this example. Type your axis titles. In this example, the we added the titles “Year” (horizontal) and “Profit” (vertical).

    Create axis titles in Excel

To Remove or Move Chart Title:

  • Click Add Chart Element and click Chart Title. You will see four options: None, Above Chart, Centered Overlay, and More Title Options.

    How to remove or move chart title in Excel

  • Click None to remove chart title.
  • Click Above Chart to place the title above the chart. If you create a chart title, Excel will automatically place it above the chart.
  • Click Centered Overlay to place the title within the gridlines of the chart. Be careful with this option: you don’t want the title to cover any of your data or clutter your graph (as in the example below).

Chart title in Excel

To Add Data Labels:

  1. Click Add Chart Element and click Data Labels. There are six options for data labels: None (default), Center, Inside End, Inside Base, Outside End, and More Data Label Title Options.

    How to add data labels in Excel charts

  2. The four placement options will add specific labels to each data point measured in your chart. Click the option you want. This customization can be helpful if you have a small amount of precise data, or if you have a lot of extra space in your chart. For a clustered column chart, however, adding data labels will likely look too cluttered. For example, here is what selecting Center data labels looks like:

    Add specific labels in Excel charts

To Add a Data Table: 

  1. Click Add Chart Element and click Data Table. There are three pre-formatted options along with an extended menu that can be found by clicking More Data Table Options:

    How to add a data table in Excel

Note: If you choose to include a data table, you’ll probably want to make your chart larger to accommodate the table. Simply click the corner of your chart and use drag-and-drop to resize your chart.

To Add Error Bars:

  1. Click Add Chart Element and click Error Bars. In addition to More Error Bars Options, there are four options: None (default), Standard Error, 5% (Percentage), and Standard Deviation. Adding error bars provide a visual representation of the potential error in the shown data, based on different standard equations for isolating error.

    How to add error bars in Excel

  2. For example, when we click Standard Error from the options we get a chart that looks like the image below.

    Standard error in Excel charts

 To Add Gridlines:

  1. Click Add Chart Element and click Gridlines. In addition to More Grid Line Options, there are four options: Primary Major Horizontal, Primary Major Vertical, Primary Minor Horizontal, and Primary Minor Vertical. For a column chart, Excel will add Primary Major Horizontal gridlines by default.

    How to add gridlines in Excel

  2. You can select as many different gridlines as you want by clicking the options. For example, here is what our chart looks like when we click all four gridline options.

To Add a Legend:  

  1. Click Add Chart Element and click Legend. In addition to More Legend Options, there are five options for legend placement: None, Right, Top, Left, and Bottom.

    How to add a legend in Excel

  2. Legend placement will depend on the style and format of your chart. Check the option that looks best on your chart. Here is our chart when we click the Right legend placement.

    Where to add legend in Excel

To Add Lines: Lines are not available for clustered column charts. However, in other chart types where you only compare two variables, you can add lines (e.g. target, average, reference, etc.) to your chart by checking the appropriate option.

To Add a Trendline:

  1. Click Add Chart Element and click Trendline. In addition to More Trendline Options, there are five options: None (default), Linear, Exponential, Linear Forecast, and Moving Average. Check the appropriate option for your data set. In this example, we will click Linear.

    Add a trendline in Excel

  2. Because we are comparing five different products over time, Excel creates a trendline for each individual product. To create a linear trendline for Product A, click Product A and click the blue OK button.

    Add a linear trendline in Excel

  3. The chart will now display a dotted trendline to represent the linear progression of Product A. Note that Excel has also added Linear (Product A) to the legend.

    How to display linear progression in Excel chart

  4. To display the trendline equation on your chart, double click the trendline. A Format Trendline window will open on the right side of your screen. Click the box next to Display equation on chart at the bottom of the window. The equation now appears on your chart.

    How to format a trendline in Excel chart

Note: You can create separate trendlines for as many variables in your chart as you like. For example, here is our chart with trendlines for Product A and Product C. 

How to make multiple trendlines on Excel chart

To Add Up/Down Bars: Up/Down Bars are not available for a column chart, but you can use them in a line chart to show increases and decreases among data points.

Step 4: Adjust Quick Layout

  1. The second dropdown menu on the toolbar is Quick Layout, which allows you to quickly change the layout of elements in your chart (titles, legend, clusters etc.).

    How to change layout of elements in Excel chart

  2. There are 11 quick layout options. Hover your cursor over the different options for an explanation and click the one you want to apply.

    Different layout options for chart in Excel

Step 5: Change Colors

The next dropdown menu in the toolbar is Change Colors. Click the icon and choose the color palette that fits your needs (these needs could be aesthetic, or to match your brand’s colors and style).

Color palette for Excel charts

Step 6: Change Style

For cluster column charts, there are 14 chart styles available. Excel will default to Style 1, but you can select any of the other styles to change the chart appearance. Use the arrow on the right of the image bar to view other options.

Chart styles in Excel

Step 7: Switch Row/Column

  1. Click the Switch Row/Column on the toolbar to flip the axes. Note: It is not always intuitive to flip axes for every chart, for example, if you have more than two variables.

    Flip axis on excel chart

In this example, switching the row and column swaps the product and year (profit remains on the y-axis). The chart is now clustered by product (not year), and the color-coded legend refers to the year (not product). To avoid confusion here, click on the legend and change the titles from Series to Years.

How to flip axis on Excel chart

Step 8: Select Data

  1. Click the Select Data icon on the toolbar to change the range of your data.
  2. A window will open. Type the cell range you want and click the OK button. The chart will automatically update to reflect this new data range.

    Changing data range in Excel chart

Step 9: Change Chart Type

  1. Click the Change Chart Type dropdown menu.

    How to change chart type in Excel

  2. Here you can change your chart type to any of the nine chart categories that Excel offers. Of course, make sure that your data is appropriate for the chart type you choose.

    Different types of charts in Excel

  3. You can also save your chart as a template by clicking Save as Template

  4. A dialogue box will open where you can name your template. Excel will automatically create a folder for your templates for easy organization. Click the blue Save button.

    Create a chart template in Excel

Step 10: Move Chart

  1. Click the Move Chart icon on the far right of the toolbar.
  2. A dialogue box appears where you can choose where to place your chart. You can either create a new sheet with this chart (New sheet) or place this chart as an object in another sheet (Object in). Click the blue OK button.

    How to move an Excel chart

Step 11: Change Formatting

  1. The Format tab allows you to change formatting of all elements and text in the chart, including colors, size, shape, fill, and alignment, and the ability to insert shapes. Click the Format tab and use the shortcuts available to create a chart that reflects your organization’s brand (colors, images, etc.).

    Change chart format in Excel

  2. Click the dropdown menu on the top left side of the toolbar and click the chart element you are editing.

    How to change chart formatting in Excel

Step 12: Delete a Chart 

To delete a chart, simply click on it and click the Delete key on your keyboard.

I am currently creating a column chart that compares two years of sales data (2012 and 2013). I want to show the data in a table below the column graph that also includes a percentage change. I have this all figured out, but cannot seem to figure out a way to eliminate the percentage change column from the graph itself.

So my question is how can I keep the % change data in the chart below the graph but eliminate it from the column graph itself??

Thank you.
Patrick Wilson

asked Nov 6, 2013 at 21:11

Patrick Wilson's user avatar

If it’s in the table it’s in the chart. A few work arounds:

  1. Make the series fill for % bars no fill and same for the outline
  2. Plot it on a second axis and format such that this axis is not displayed
  3. Fake the table, using cells and don’t use the data table. Format and position the chart above it.

In my experience the 3rd one is the most work, but the best. Chart tables are hard to format.

chris neilsen's user avatar

chris neilsen

52.2k10 gold badges84 silver badges122 bronze badges

answered Nov 6, 2013 at 21:21

Ross's user avatar

RossRoss

3001 silver badge8 bronze badges

I change the chart type (ie. bar chart) and the switch back to the pie chart and it worked. Hope it works for others. Scott

answered Feb 16, 2017 at 20:24

Scott's user avatar

For a bar chart, I change the chart to a combo, make the data I don’t want shown a line and then format it so that there is no fill or border, and delete the legend and select «Data Table with Legend Keys» No color will show next to the row of data not visible on the on the chart.

answered Dec 14, 2018 at 22:57

jake's user avatar

Понравилась статья? Поделить с друзьями:
  • Excel not filtering all data
  • Excel not cutting and pasting
  • Excel not copying worksheets
  • Excel not converting csv
  • Excel not closing vba