?
Solved

Excel - dynamic chart with sumif, and data validation list

Posted on 2015-02-12
1
Medium Priority
?
276 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
[X]
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
1 Comment
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 2000 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Microsoft has changed the look and feel of Azure AD and Microsoft account sign-in pages so that you will have a more unified look and feel when moving between the two interfaces.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

719 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