Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


add lines & higlite specific area to line chart

Posted on 2014-11-30
Medium Priority
Last Modified: 2014-12-05
i have data of sales like this :
A2:A50 branches names
B1:AL1 periods
B2:AL50 sales values
the questions are :
1- what is easiest way to do line chart for each period series for each branch else of copiyng it many times ?
2- i select line chart , how to add columns between period labels & series value on the line ?
3-how to  highlight specific period on the chart
Question by:NiceMan331
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
LVL 50
ID: 40472883

1. Use a pivot chart. You will see drop-downs in the pivot chart to filter the data

2. I don't understand what you want to achieve. Please post a file with some sample data. Draw the desired result with the drawing tools, so we can see what you want.

3. Highlighting can be done in many different ways. Again, it depends on what you want.

Post some sample data and mock up the charts.

cheers, teylyn

Author Comment

ID: 40473208
1- how to use the pivot chart ?
2- look at the attached file , you will see that i need to draw columns ( in black ) between the value and the period value
3- look at the highligted yellow area , i need something like this
LVL 50
ID: 40473229
I see a pretty picture (or maybe not so pretty).

With charts, everything (as in EVERYTHING) depends on the data. Without the data, there is no chart.

That's why I asked you above to post a file with sample data and mock up a chart that relates to that data.

An image of the chart does not help, unless you post the data that will be used to create the chart.

So, please post that.

cheers, teylyn
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.


Author Comment

ID: 40473260
here a sample file
LVL 50

Accepted Solution

Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 2000 total points
ID: 40474950
Hello again,

If you want to select which branch to show in the chart, you need a cell where you select the branch, then use a formula to pull that branch's data into a helper table. Create the chart from the helper table that has only one row of data.

With a line chart, you can use the ribbon Chart Tools > Layouts > Lines (in Analysis group) > Drop Lines.

See the chart in the attached file.

To fill an area below the line, you need to use a technique described in a tutorial by Jon Peltier here:

cheers, teylyn

Author Comment

ID: 40475284
how to add series value in the chart for each point as per my 1st file ?
LVL 50
ID: 40475390
Sorry, I don't understand. What is your first file? The image? The Excel file? And what do you mean with "how to add series value in the chart for each point" ?

Can you explain with a few more words?

Author Comment

ID: 40475736
please look at my excell or eighther the image i sent first
you will see on the line , value for each point
this one i want to add it to your excell file
is it clear ?
LVL 50
ID: 40477364
Oh, I see. These are called data labels. You can turn them off or on for each series. In Excel 2010, click the series in the chart and on the Chart Tools ribbon select the Layout tab, then Data Labels. In Excel 2013 select the series and click the + button next to the chart and then Data Labels.

Author Comment

ID: 40478209
i have excel 2007
LVL 50
ID: 40480295
Hello again,

short answer:

The steps in 2007 are the same as for 2010

Longer answer:

this is the first time you mention your Excel version. Maybe you want to put that into your question next time. There are significant differences between 2003, 2007, 2010 and 2013.  You can help people answer your question faster if you let them know which version you are using.

If you find a suggestion that does not have YOUR VERSION stamped on it, you could at least try it.

You will find that one of the two suggestions I posted works for your version.

Author Comment

ID: 40484279
click the series in the chart and on the Chart Tools ribbon select the Layout tab, then Data Labels
sorry , i can't find this : Chart Tools ribbon
any image for it ?

Author Comment

ID: 40484282
yes , i got it

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
Viewers will learn how to find and create templates in Excel 2013.
Viewers will learn how to share Excel data with others from desktop Excel, as well as Excel Online via OneDrive, and embed an Excel file on a website.

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question