Solved

Excel - dynamic chart with sumif, and data validation list

Posted on 2015-02-12
1
255 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 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

739 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