+ Reply to Thread
Results 1 to 3 of 3

line charts with multiple fields

  1. #1
    Registered User
    Join Date
    11-12-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2013
    Posts
    2

    line charts with multiple fields

    Hello,

    My problem with the subject is 2-folds and I hope you can help out.

    1) I wanted to chart a line graph with 3 variables while I have days of the month in the x axis, frequency in the y axis. The 3 variable will be inputted as letters in an excel spreadsheet such that a letter in day 2 and frequency 6 means that that particular trait (e.g. a) was exhibited 6 times on day 2 - please see attached.
    2) my second issue is that we could have the same frequency for the 2 or more variables (e.g. a and b and c). So, how can this be inputted so that excel can recognize and chart the values inputted in the table. So for example on day 5, it so happens that we have the exact number of occurrences /frequencies for all 3 traits.

    I don't want to keep multiple worksheets to hold each trait, is there a way out?

    Thank you!line chart.xls

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Rocester, New York, USA
    MS-Off Ver
    Excel 2007:10
    Posts
    2,019

    Re: line charts with multiple fields

    I think really your problem is that you're setting the data up badly.

    Put it in a table properly: where there are four columns that populate down by rows for each data.
    The first row is the independent variable (the date)
    Rows two-four are dependent variables (different behaviors for each date)

    Then charting is as easy as highlighting the data and clicking Line Chart.
    Bam, you're done.

    Well, even if you're attached to the layout of table you already have (I think it's more confusing but I'm trained to look at data a certain way), Excel needs it in that kind of table, so the best we could do is grind it from that to a proper table to feed to the chart.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-12-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: line charts with multiple fields

    Thank you so much.
    You're right. I'll also convince the person that needs it that the reorganized way is the best format.

+ 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. Macro to split one table into multiple line charts
    By hawsn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-04-2013, 11:51 AM
  2. multiple line charts with respect to same time axis
    By rosh@excel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-17-2012, 08:48 AM
  3. Replies: 1
    Last Post: 06-04-2010, 03:51 AM
  4. Creating line charts from multiple worksheets
    By Michael.H. in forum Excel General
    Replies: 0
    Last Post: 06-17-2009, 04:05 PM
  5. [SOLVED] [SOLVED] creating multiple line charts
    By barbique in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-18-2005, 05:05 PM

Tags for this Thread

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