Glam Prestige Journal

Bright entertainment trends with youth appeal.

Let's say I have a data table like

╔════════╦══════════╦═══════╗
║ Stock ║ Date ║ Price ║
╠════════╬══════════╬═══════╣
║ Stock1 ║ 1/1/2017 ║ 17.0 ║
║ Stock1 ║ 1/2/2017 ║ 17.4 ║
║ Stock1 ║ 1/3/2017 ║ 16.9 ║
║ Stock2 ║ 1/1/2017 ║ 78.9 ║
║ Stock2 ║ 1/2/2017 ║ 77.4 ║
║ Stock2 ║ 1/3/2017 ║ 79.3 ║
║ Stock3 ║ 1/1/2017 ║ 130.6 ║
║ Stock3 ║ 1/2/2017 ║ 128.5 ║
║ Stock3 ║ 1/3/2017 ║ 124.7 ║
╚════════╩══════════╩═══════╝

I want to use Excel to draw one single line chart, x-axis should be the dates, y-axis should be the value of stocks. And each stock has its own line in the chart.

2 Answers

1) Convert your data to an Excel Table.
2) Create a Pivot Table based upon your data table from Step 1, with:
column (legend/series) labels = Stock
row (axis/categories) labels = Date
values = Price
3) Create a Line Pivot Chart from your data

enter image description here

2

Put all Stock data in separate columns, select the whole table and create X-Y chart as usual:

enter image description here

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy