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
• 38,010 points
217 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
• 63,420 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
• 38,010 points
166 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
• 23,260 points
481 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
• 23,260 points
6,201 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,670 points
731 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
• 63,420 points
266 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
• 63,420 points
181 views
0 votes
1 answer

Arrange charts position in 3x5 order

Your code was nearly complete. I believed ...READ MORE

answered Apr 9, 2023 in Others by narikkadan
• 63,420 points
262 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
876 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
• 63,420 points
309 views
0 votes
1 answer

Excel VBA - Need to get a specific line from TextBox and send to an specific Cell

Moving your string into an array first ...READ MORE

answered Feb 2, 2023 in Others by narikkadan
• 63,420 points
473 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