+ Reply to Thread
Results 1 to 4 of 4

Create a Line chart with a table of data

  1. #1
    Registered User
    Join Date
    07-25-2018
    Location
    England
    MS-Off Ver
    office 2010
    Posts
    9

    Create a Line chart with a table of data

    Hello all,

    I have a problem creating a line chart in Excel and was wondering if there's a better solution.

    My table contains a row A1 which is a list of dates across to S1

    There are a list of travel destinations from A2 down to A97

    In all the other fields, B2 down and across to S97, are figures that show Return of Investment.

    My problem is that when I try and make this a line chart with 97 series, I have to add these manually.

    What I'm trying to do is have each destination with its corresponding ROI figure plotted on the chart. The chart's X axis should be the Tour Date, the Y axis should be the ROI figure. This way, I can see which destinations are performing or dropping.

    I can get this in Excel's line chart, but it requires adding each Legend Entry (Series) manually - I have to click select data, click add, click the name field then click the data range.

    It seems like Excel is really struggling to produce a chart based on the data I have as it's formatted in a grid, instead of in a couple columns.

    Thank you!
    - Chris

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Create a Line chart with a table of data

    The issue is caused by the number of columns 18 smaller than rows (96) of data. So you probably tried to select all A1:S97 range and from Insert ribbon use Line Chart. then it ends with 18 lines for each date with cities on X axis.
    Once you have it, right click on a chart, from popup meny use Select Data (or similar - I do not have english version of Excel handy today) and then click Switch rows/columns button.
    Now you shall get 96 series and X-axis showing dates.
    Attached Images Attached Images
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    07-25-2018
    Location
    England
    MS-Off Ver
    office 2010
    Posts
    9

    Re: Create a Line chart with a table of data

    Thanks Kaper, I got the same result with a scatter chart using the line mode. Cheers!

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Create a Line chart with a table of data

    Glad to hear so.
    It would be a good idea to mark thread as Solved.
    Above your first post you will find Thread Tools to do it.

+ 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. Replies: 1
    Last Post: 12-31-2012, 05:31 AM
  2. Change data table values in a line chart
    By ExcelAteMyHomework in forum Excel General
    Replies: 4
    Last Post: 06-29-2012, 03:42 PM
  3. Replies: 2
    Last Post: 06-15-2012, 03:06 AM
  4. How to create a vertical reference line on a time series line chart
    By Bladebgii in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-23-2012, 10:17 AM
  5. Replies: 0
    Last Post: 02-26-2012, 05:20 AM
  6. Replies: 3
    Last Post: 02-05-2012, 10:04 AM
  7. create a chart using two columns for x & y, third for line data
    By Ted K in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 11-10-2005, 09:45 PM

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