Chart with Dynamic Ranges

zinah

Active Member
Joined
Nov 28, 2018
Messages
353
Office Version
  1. 365
Platform
  1. Windows
Hello,

I was trying to paste a mini sheet here but got error message (as showing in screenshot attached). I have a drop-down list that can pull different data, some data has blanks or 0s. What I need to create is dynamic ranges for this data to be presented in a chart (like bar chart or column chart). Can anyone help?

Dropdown list that has all Top Leader Names
DEF
Manager NameJan-2023Feb-2023Mar-2023Apr-2023May-2023Jun-2023Jul-2023Aug-2023Sep-2023Oct-2023Nov-2023Dec-2023Jan-2024May-2024Jun-2024Dec-2024Aug-2025
BB1
AA2111
CC1
DD97
EE1
FF
GG1121
HH13
RR921115612
YY111
20512132111501600132


Thank you,
Zina
 
It may make sense to many, but not me! :(
Can you explain what part of the chart is going to be dynamic and what would cause a change?
I've already made the chart dynamic (with reference to Leader) with the drop down in cell A2 and the formulas inside the chart.
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
This is more dynamic but not a single cell dynamic crosstab. I updated the dummy data so that there is no manager to leader overlap. Since you have 365 you can work toward getting this all in one cell with Let and Lambda function. This requires you to have some overlap space at the bottom and also drag the count formulas down to the maximum number of managers per leader. So, if you have a leader with 20 managers and a leader with 5, the report of the leader with 5 will have 15 blank spaces under the crosstab chart. That can be fixed with more robust formulas using Lambda and Let statements.

Mr Excel Questions.xlsx
ABCDEFG
1Dropdown list that has all Top Leader NamesLEADER
2ZNAABC
3DEF
4ManagerJan-23Feb-23Mar-23REE
5BB222ZNA
6GG001
7HH310
8KK040
9OO310
10VV011
11
12
13
14
15
16
17
18
19DATELEADERMANAGER
201/1/2023ABCAA
212/10/2023ABCAA
222/14/2023ABCAA
231/2/2023ABCAA
241/6/2023ABCAA
251/3/2023ABCAA
262/8/2023ABCAA
272/20/2023ABCAA
283/9/2023ABCAA
291/5/2023ABCAA
301/9/2023ZNABB
312/18/2023ZNABB
322/15/2023ZNABB
333/15/2023ZNABB
343/31/2023ZNABB
353/12/2023ZNABB
361/12/2023ZNABB
372/24/2023REECC
383/28/2023REECC
391/4/2023REECC
402/6/2023DEFDD
413/27/2023DEFDD
421/7/2023DEFDD
433/24/2023DEFDD
443/18/2023DEFEE
453/22/2023DEFEE
463/19/2023DEFEE
473/23/2023DEFEE
483/16/2023DEFEE
493/20/2023DEFEE
503/17/2023DEFEE
513/21/2023DEFEE
522/28/2023REEFF
531/8/2023REEFF
543/5/2023REEFF
553/25/2023ZNAGG
561/18/2023ZNAHH
571/23/2023ZNAHH
582/12/2023ZNAHH
591/28/2023ZNAHH
601/31/2023REELL
612/4/2023REELL
622/16/2023REELL
633/4/2023REELL
643/8/2023REELL
651/11/2023REEMM
661/15/2023REEMM
671/19/2023REEMM
681/27/2023REEMM
691/10/2023DEFPP
701/14/2023DEFPP
711/22/2023DEFPP
721/26/2023DEFPP
731/30/2023DEFPP
742/3/2023DEFPP
753/3/2023DEFQQ
763/7/2023DEFQQ
773/11/2023DEFQQ
783/26/2023ABCRR
791/17/2023ABCRR
801/21/2023ABCRR
811/25/2023ABCRR
821/29/2023ABCRR
832/2/2023ABCRR
842/7/2023DEFTT
852/11/2023DEFTT
862/19/2023DEFTT
872/23/2023DEFTT
882/27/2023DEFTT
891/13/2023ABCYY
902/22/2023ABCYY
913/30/2023ABCYY
923/29/2023ABCYY
932/26/2023ABCZZ
943/2/2023ABCZZ
953/6/2023ABCZZ
963/10/2023ABCZZ
973/14/2023ABCZZ
981/16/2023ZNAOO
991/20/2023ZNAOO
1001/24/2023ZNAOO
1012/1/2023ZNAOO
1022/5/2023ZNAOO
1032/9/2023ZNAKK
1042/13/2023ZNAKK
1052/17/2023ZNAKK
1062/21/2023ZNAKK
1072/25/2023ZNAVV
1083/1/2023ZNAVV
1093/13/2023ZNAVV
CROSSTAB COUNTER
Cell Formulas
RangeFormula
B4:D4B4=TRANSPOSE(UNIQUE(FILTER($A$20:$A$109,DAY($A$20:$A$109)=1)))
A5:A10A5=SORT(UNIQUE(FILTER($C$20:$C$109,$A$2=$B$20:$B$109)))
B5:D10B5=COUNTIFS( $C$20:$C$109, $A5, $B$20:$B$109, $A$2, $A$20:$A$109,">" & B$4, $A$20:$A$109,"<" & EOMONTH(B$4,0) )
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
A2:A3List=$G$2:$G$5
 
Upvote 0

Forum statistics

Threads
1,215,307
Messages
6,124,168
Members
449,146
Latest member
el_gazar

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