+ Reply to Thread
Results 1 to 3 of 3

How to use 2 sets of Data in a chart

  1. #1
    Registered User
    Join Date
    11-19-2014
    Location
    Gatineau, Quebec
    MS-Off Ver
    2010
    Posts
    27

    How to use 2 sets of Data in a chart

    Hi,

    I'm trying to create a bar chart with 2 sets of data, but I can't get what I want.

    So far, I have create the chart with the first set of data (A:B), but I can't find a way to add the second data sets. (D:E)

    I have attached my spreadsheet.

    Your help your be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: How to use 2 sets of Data in a chart

    It won't be easier to add one column containing your courses, in A for example, then in B "Note des competences" and in C "Note de evaluation" or whatever and then create a chart based on that?
    One way would be to select both sets of data, then Insert - Recomended Charts and select a Type. But it will all only the values that are found in both sets. "Sens politique" won't be added

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,410

    Re: How to use 2 sets of Data in a chart

    I find that it is almost always easier to do this if I combine the data into a single table rather than try to use two different tables to make one chart (especially for charts that use a category axis). If this data is "pivoted" or something from a larger data set, I would recommend thinking about how you are bringing this data into Excel and make changes at that stage. Working from the file as is, I would:

    1) Select A2:A6 and copy into I2:I6
    2) Select D3,D4,D6 and copy into I7:I9 (later I discovered the trailing spaces in the text n column D. I would edit the entries in column D to remove the trailing space).
    3) Use a lookup function to pull the data from each table into this table. VLOOKUP() help file: https://support.office.com/en-us/art...8-93a18ad188a1 In J2 =VLOOKUP($I2,$A$2:$B$6,2,FALSE) and copy down to J9. I would not worry about the N/A errors.
    4) Copy J2 into K2. Edit formula to use $D$2:$E$6 as the lookup_table. copy down to K9
    5) Select I2:K9 and insert chart. Format chart as desired.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. [SOLVED] Trying to get 2 sets of data on a Logarithmic Chart
    By bryanr72 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-09-2014, 05:28 PM
  2. Replies: 2
    Last Post: 05-21-2014, 09:32 AM
  3. [SOLVED] How to set up a bar chart with multiple sets of data
    By shepherdc2814 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-15-2014, 10:58 PM
  4. Plot two sets of Data into one chart
    By e@london in forum Excel General
    Replies: 1
    Last Post: 08-21-2012, 09:04 AM
  5. Plot 3 sets of data in scatter chart and area chart in one
    By geoffs52 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-24-2009, 04:42 AM
  6. [SOLVED] How to chart 3 sets of data?
    By plsntn_rules in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-17-2005, 10:45 AM
  7. [SOLVED] Two sets of data on one chart
    By AYakos in forum Excel General
    Replies: 3
    Last Post: 03-06-2005, 01:06 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