We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Excel chart

Been trying to create a chart but having no success.
15 lines of data in two columns- I want a line chart that shows each holding on one axis and performance on other axis.
I can create bar chart but cannot find a way to show all data lines.
This is type of chart I am trying to create .
Any suggestions please ?
«1

Comments

  • [Deleted User]
    [Deleted User] Posts: 0 Newbie
    Fifth Anniversary 1,000 Posts Name Dropper Photogenic
    edited 11 December 2021 at 10:29AM
    Probably a bit more information about the data is needed to understand better.

    From what you describe, two columns of data, one would be X axis and the other Y axis and therefore you could only have 1 line on the chart rather than multiple lines.

    Can you give a rough idea of the data - ie column 1 date, column 2 quantity of "things" for example?
  • fjh
    fjh Posts: 184 Forumite
    Part of the Furniture 100 Posts Name Dropper Combo Breaker
    Thanks - this is for performance of investments - so Column A is name of holding - e.g Shell- total of 15 holdings- rows, column B is the % move for each row in say a year.I am looking to create a line chart similar to example attached in original post.
    Help is appreciated
  • getmore4less
    getmore4less Posts: 46,882 Forumite
    Part of the Furniture 10,000 Posts Name Dropper I've helped Parliament
    fjh said:
    Thanks - this is for performance of investments - so Column A is name of holding - e.g Shell- total of 15 holdings- rows, column B is the % move for each row in say a year.I am looking to create a line chart similar to example attached in original post.
    Help is appreciated
    That's 15 lines with only one point.
    Or do you then have column C with another point for a different time period.


    If you cut from the sheet and  paste here it will create a table so we can see the data set.
  • [Deleted User]
    [Deleted User] Posts: 0 Newbie
    Fifth Anniversary 1,000 Posts Name Dropper Photogenic
    edited 11 December 2021 at 11:13AM
    Right, so line charts are used to represent data over a period of time - in your case there is no "time" data, you have just one column giving a percent change at the current time.

    What you need is many more columns to get the graph you need, each column representing a different time, for example:



    But having said that, the above is not really useful or mathematically correct, showing a percent change in the value of stock doesn't give you a nice graph.

    What you really want to visualise is the following, the actual value of the stock over time:


  • fjh
    fjh Posts: 184 Forumite
    Part of the Furniture 100 Posts Name Dropper Combo Breaker
    fjh said:
    Thanks - this is for performance of investments - so Column A is name of holding - e.g Shell- total of 15 holdings- rows, column B is the % move for each row in say a year.I am looking to create a line chart similar to example attached in original post.
    Help is appreciated
    That's 15 lines with only one point.
    Or do you then have column C with another point for a different time period.


    If you cut from the sheet and  paste here it will create a table so we can see the data set.
    Thanks
    I am looking to create a chart for each time frame if possible similar to example.
     Holding
    YTD1 Yr3 Yr5 Yr
    ReturnReturnAnlsdAnlsd
    GBP%%%
    Holding A2.683.268.3610.28
    Holding B14.1115.175.196.03
    Holding C27.2627.7318.3916.44
    Holding D13.115.6811.6311.48
    Holding E2.315.316.597.29
    Holding F6.5911.1410.9110.21
    Holding G14.0315.044.955.91
    Holding H9.359.695.48-
    Holding I14.9515.365.14-
    Holding J6.397.848.236.55
    Holding K12.9514.8411.2611.08
    Holding L6.17.177.786.5
    Holding M-2.27-0.035.423.64
    Holding N-2.27-0.035.423.63
  • [Deleted User]
    [Deleted User] Posts: 0 Newbie
    Fifth Anniversary 1,000 Posts Name Dropper Photogenic
    edited 11 December 2021 at 4:25PM
    fjh said:
    fjh said:
    Thanks - this is for performance of investments - so Column A is name of holding - e.g Shell- total of 15 holdings- rows, column B is the % move for each row in say a year.I am looking to create a line chart similar to example attached in original post.
    Help is appreciated
    That's 15 lines with only one point.
    Or do you then have column C with another point for a different time period.


    If you cut from the sheet and  paste here it will create a table so we can see the data set.
    Thanks
    I am looking to create a chart for each time frame if possible similar to example.
     Holding
    YTD1 Yr3 Yr5 Yr
    ReturnReturnAnlsdAnlsd
    GBP%%%
    Holding A2.683.268.3610.28
    Holding B14.1115.175.196.03
    Holding C27.2627.7318.3916.44
    Holding D13.115.6811.6311.48
    Holding E2.315.316.597.29
    Holding F6.5911.1410.9110.21
    Holding G14.0315.044.955.91
    Holding H9.359.695.48-
    Holding I14.9515.365.14-
    Holding J6.397.848.236.55
    Holding K12.9514.8411.2611.08
    Holding L6.17.177.786.5
    Holding M-2.27-0.035.423.64
    Holding N-2.27-0.035.423.63
    Right, so I must admit I've got confused because what your post asks for and the example graph are two different things.

    In your original post you said:

    fjh said:

    15 lines of data in two columns- I want a line chart that shows each holding on one axis and performance on other axis.


    Holding on one axis and performance on the other would look like this based on the data on your last post:



    It is not possible to make that into a line graph because you don't have time basis in your data - eg by month or year - and this is where I started getting confused because the example chart in your first post shows performance over a year by month - which is what I based my replies on - showing the data month by month.

    You need to have some data that shows the return for each year (or month) in your table in order to make a line graph.

    Just because the 1 yr / 3yr / 5yr return data is in your table doesn't allow us mathematically to work out what the return was at any particular time in the past.
  • fjh
    fjh Posts: 184 Forumite
    Part of the Furniture 100 Posts Name Dropper Combo Breaker
    Thanks for all the help on this topic 🙏
  • k_man
    k_man Posts: 1,636 Forumite
    1,000 Posts Second Anniversary Name Dropper
    The 'best' you could get is a graph with data at:
    5 years ago
    3 years ago*
    1 year ago*
    Current

    Or years
    0
    2
    4
    5

    With no view of what happened between

    e.g.



    * data calculated backwards from 5 year and 3/1 year returns
  • k_man said:
    The 'best' you could get is a graph with data at:
    5 years ago
    3 years ago*
    1 year ago*
    Current

    Or years
    0
    2
    4
    5

    With no view of what happened between

    e.g.



    * data calculated backwards from 5 year and 3/1 year returns
    Not quite, the data set doesn't actually say what the return was at the 3 year or 5 year mark in the past - it is the annualised return over that period an therefore gives the average return over the past 3 or 5 years which is not the same as a saying what the actual return was 3 or 5 years ago.
  • I found when I was using Excel to chart the change in my blood pressure over several months following alteration to my medication that it was better to have separate charts for the systolic and diastolic readings with the y-axis (pressure) tailored to the lowest and highest readings so that the lines didn't look close to flat.
    Unless the prices of all of your shares are similar and have a similar degree of variation over time I think trying to show all 15 in one chart will make it difficult to see what's really happened to many of them. While it might be more effort to create separate charts I think it will give you a more meaningful picture of performance for each share.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 603K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.