Excel chart a line per category

0 votes

Unfortunately, I am unable to complete a straightforward activity in Excel. For each category (car model), where the x-axis is the date and the y-axis is the price, I want to have a separate line in the chart. I have the table below.

Modell  Preis   Inserat online seit
318i     6,999 €    30.04.2021
325i     9,999 €    01.05.2021
320i     9,999 €    30.04.2021
318i     9,990 €    28.04.2021
318i     7,500 €    21.04.2021
318i     7,900 €    15.04.2021
Nov 15, 2022 in Others by Kithuzzz
• 27,740 points
47 views

1 answer to this question.

0 votes

Pivot charts, in my opinion, are the greatest solution for your issue. However, to ensure that all categories have enough data before creating a line chart. Otherwise, you won't see lines for all categories. You don't have enough information for all the automobile models in your sample data.

I have used the following sample:

enter image description here

After that, I inserted a pivot chart. While creating the pivot chart, I choose "Date" for Axis (Catagories) and "Model" for Legend (Series), and "Price" for Values. Like this:

enter image description here

By simply right-clicking the Excel default chart, I can now change the chart type to "Line Chart." And I obtained the following outcome:

enter image description here

answered Nov 15, 2022 by narikkadan
• 51,240 points

Related Questions In Others

0 votes
0 answers

Creating a chart in Excel that ignores #N/A or blank cells

A dynamic data series will be used ...READ MORE

Nov 2, 2022 in Others by Kithuzzz
• 27,740 points
42 views
0 votes
1 answer

Using VBA Excel to create a gramatically correct list

The Excel AND function is a logical ...READ MORE

answered Feb 9, 2022 in Others by gaurav
• 22,940 points
110 views
0 votes
1 answer

How to import data from a HTML table on a website to excel?

Hello  To import any HTML file in excel there ...READ MORE

answered Feb 10, 2022 in Others by gaurav
• 22,940 points
498 views
0 votes
2 answers

How to copy a formula horizontally within a table using Excel VBA?

Hi so basically, create an adjacent column ...READ MORE

answered Feb 16, 2022 in Others by Edureka
• 13,640 points
277 views
0 votes
1 answer

Showing percentages above bars on Excel column graph

Solution  Use a line series to show the ...READ MORE

answered Nov 17, 2022 in Others by narikkadan
• 51,240 points
46 views
0 votes
1 answer

How to break area chart in excel

Add an extra row between your areas. READ MORE

answered Dec 17, 2022 in Others by narikkadan
• 51,240 points
40 views
0 votes
1 answer

Retrieve epay.info Balance with VBA and Excel

This code should log you in, provided ...READ MORE

answered Sep 5, 2018 in Blockchain by digger
• 26,740 points
522 views
0 votes
1 answer

ImportError: openpyxl is required for loading excel format files

Forget the PsychoPy complications for the time ...READ MORE

answered Oct 3, 2018 in Python by Priyaj
• 58,100 points
470 views
0 votes
1 answer

Is there a reason why these bars wont line up in my excel chart?

STEPS Hover your mouse over any of the ...READ MORE

answered Nov 8, 2022 in Others by narikkadan
• 51,240 points
75 views
0 votes
1 answer

Excel web query to login into a website

To be recognized by the web server ...READ MORE

answered Sep 21, 2022 in Others by narikkadan
• 51,240 points
425 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP