Solved

Excel - dynamic chart with sumif, and data validation list

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
My experience with Windows 10 over a one year period and suggestions for smooth operation
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now