+ Reply to Thread
Results 1 to 2 of 2

Creating a chart with column A as X axis

  1. #1
    Registered User
    Join Date
    06-17-2019
    Location
    Denmark
    MS-Off Ver
    2016
    Posts
    15

    Creating a chart with column A as X axis

    Hello

    I have five columns with values. Column A is the week number. Column B, C, D and E are columns with data from each week.
    How can I make a chart where column A is treated as the X axis instead of a data set?

    Thanks

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Creating a chart with column A as X axis

    Hi
    There are lots of ways to do this, perhaps the simplest is the change the chart series formula

    a chart series formula takes the format =series(Name,XRange,YRange)

    assuming your columns B to E have the series name in Row 1 and data in rows 2:10

    1) select range B1:E10
    2) create a chart with the selected data
    3) in the chart, select the first series. The formula =SERIES(Sheet1!$B$1,,Sheet1!$B$2:$B$10,1) should appear in the formula box
    4) edit this to =SERIES(Sheet1!$B$1,Sheet1!$A$2:$A$10,Sheet1!$B$2:$B$10,1)

    Tweak the formula if you have more or fewer than 10 data points, or if your sheet's name is not "Sheet1"

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Missing an axis when creating pivot chart
    By dreamer001 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 12-13-2015, 03:59 PM
  2. Replies: 12
    Last Post: 02-07-2014, 04:00 PM
  3. Creating a Bar Chart with a Broken X-Axis
    By lzacheung in forum Excel Charting & Pivots
    Replies: 9
    Last Post: 06-27-2011, 05:12 AM
  4. Excel 2007 : Creating a secondary axis for a chart
    By lewis.mulhollen in forum Excel General
    Replies: 1
    Last Post: 09-16-2010, 09:53 AM
  5. Creating a chart with two seperate Y-axis
    By Kara in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-02-2008, 04:50 AM
  6. Chart using one column as vertical axis and others on horizontal axis!!!
    By nandhamnk in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-28-2007, 09:40 AM
  7. Creating Pivot Chart with 2 Y axis
    By silks in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-17-2005, 08:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1