Solved

Excel - dynamic chart with sumif, and data validation list

Posted on 2015-02-12
1
246 Views
Last Modified: 2015-02-12
Hi guys,

i'm trying to get my head around this, hope that some of you could help me, i have checked the net and there is a lot of options but i just cant figure it out :(

Kindly advise.

What i have is a list of products, sales persons and customers,

Each sales persons can do sales for different costumers and different products. I have created a sumif that sums up the sales per product for each sales person, and created a chart, my problem is that new sales persons can be added to the list, so i have made a wider-range then actual, how do i get the chart to not take the empty rows within the chart? is this possible?

I'm open for ideas, and even if the data basis needs to be changed or what have you,

I have tried with creating the offset formula aswell, which works but the blank series still gets added to the chart.

I'm even open to if the chart should be created from VBA, that works for me aswell.

Here is a sample file, to give you guys a idea of how the setup is:
sample-file.xlsx
0
Comment
Question by:Hakum
1 Comment
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 40605204
You could use pivot charts like the attached. All you need to do is right click and refresh one when you alter the data, though you could automate that with code.
sample-file.xlsx
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
Outlook Free & Paid Tools
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

828 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