Dynamic Graphing - with source data from a "Unique" formula

Mark McInerney

Active Member
Joined
Apr 4, 2012
Messages
288
Office Version
  1. 365
Platform
  1. Windows
Hi Folks,

I have a range of data, that I use to retrieve data, that I then use for a graph in excel. I use the unique function as part of the data retrieval.

This means that the data populates differently depending on the criteria that I use with the "Unique" formula.

The data can populate from a1:a10, and then a1:a45 - is there a way that I can link the populated data range to the graph without having to map all the blanks - to capture all data I would have to define my source range as a1:a45, but when the data returned can be a1:a10, the graph looks very empty.

I only want to graph the range of data that is populated with values?

Thanks for any help.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi Cubist,

Thanks for having a look - it is not working out. I am, and was, using a unique and filter function to extract data, but I also have to use a sumifs to get the sales total - it is still mapping the blanks?
 
Upvote 0
Can you post sample data? Preferable using XL2BB.
 
Upvote 0
XL2BB.....o_O...No idea what that is...sorry.

This is the data with the unique filter formula:
1711118045055.png


As I change Cell L4 the list of subdepartments changes - some departments have 5 subdepartments, others have 25.

I'm trying to dynamically map the sales - the column headers are MULLI and 20 - DCF below.

Just trying to get rid of the blanks that are being mapped when I change the selection - see below - Thanks - Mark.


1711118010212.png


1711118183440.png

1711118199992.png
 
Upvote 0
XL2BB is an add-ins of the forum that allows you to post mini sheets with its formula like this. You should see the "XL2BB" link to the far right of your reply box. It has instructions on how to set it up.

Book3
ABCDE
1A25ConditionA
2A26
3A27A25
4C28A26
5K29A27
Sheet1
Cell Formulas
RangeFormula
D3:E5D3=FILTER(A1:B6,A1:A6=E1)
Dynamic array formulas.


Pivot chart seems to be a better option.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top