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 in Others by Kithuzzz
• 20,660 points
25 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 by narikkadan
• 37,660 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 in Others by Kithuzzz
• 20,660 points
26 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 in Others by gaurav
• 22,040 points
69 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 in Others by gaurav
• 22,040 points
307 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 in Others by Edureka
• 13,640 points
207 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 in Others by narikkadan
• 37,660 points
24 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,720 points
452 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
397 views
0 votes
1 answer

In Blue Prism how to split excel column data into TWO columns

This is how I am doing it. Dim ...READ MORE

answered Oct 15, 2018 in RPA by Priyaj
• 58,100 points
3,373 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 in Others by narikkadan
• 37,660 points
37 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 in Others by narikkadan
• 37,660 points
178 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