Dynamic Report with Values and Percentage on Column Chart in Excel
9K views
Jan 29, 2024
In this Excel video, I show how to create dynamic report with values and percentage displays on the column chat.
View Video Transcript
0:00
Hello, in this video I'm going to show you how to create dynamic reports in Excel with
0:12
percentage and values displayed on cluster column chart. Let's get started. Based on what we can see
0:20
I've got this dynamic report in Excel and of course there is a list data validation drop-down. So when I
0:26
choose let's say critical order priority you can see the report changes and amazingly the cluster
0:34
column charts do contain the percentage and the values. So let's see how we can replicate these
0:40
from scratch. The first thing I want to do is to copy this order priority label so Ctrl C and
0:46
Ctrl V in cell I1 and of course in cell J1. We want to create a list data validation so J1
0:54
selected click on the data tab on the data tools click on data validation and we want to allow a
1:01
list. Now in the source I'm going to come to the top of column C and click enter and this creates
1:08
automatic unique values for me and of course this is a new functionality in list data validation
1:14
in Excel. So I can press Alt down arrow key so I can see the order priority to pick from. So the
1:21
next thing I'm going to do is to create a sorted unique account manager. So I'm going to come to
1:28
cell I4 type in equal sign sub function and the unique and of course I want to get all the unique
1:34
values. So close close the bracket click enter and of course this created a sorted unique account
1:41
managers name. So I'm just going to call this one account or let me just copy from here so B1
1:47
and Ctrl V to paste. Now I'm going to create total sales here. Now for the total sales
1:54
I want to use the sum effects function so sumifs and for the sum range I want to aggregate the total column in column G put in a comma and then
2:06
for the criteria range one I want to come to the account manager many side put in a comma
2:12
for the criteria one I want all this unique account managers name and of course you can
2:17
see this spill operator which is part of the dynamic array so put in a comma. Now for the
2:23
criteria range two because I want to create a dynamic calculation whereby when we pick from
2:28
the drop down everything changes dynamically. So I'm going to come to the order priority in column C
2:33
and put in a comma and for the criteria two I want to choose the selected order priority in cell J1
2:40
so close the brackets Ctrl Enter and Ctrl Shift down arrow key and I'm going to press Ctrl Shift 4
2:47
and of course there we go so we can see this is working fine. Now let's get rid of the decimals
2:52
so I'm going to come to the old tab and get rid of the decimals okay lovely. Now I'm going to come
2:58
to cell J1 and let's see I want to choose low order priority you can see everything works pretty
3:04
fine. Now the next thing I want to do is I want to actually calculate the percentage for each of
3:12
the total so I'm going to come here and type in a cosine I'm going to get this value so J4
3:18
divided by the sum of the entire values and it's going to give me a spill operator. Now watch what's
3:25
going to happen I'm going to press the bracket click enter it's going to work fine but the moment
3:29
I copy down the formula I'm going to get a ref error. Now to fix this problem I'm going to come
3:33
back to the top cell double click and apply F4 key to make it absolute Ctrl Enter and copy down
3:40
the formula and this is working pretty fine. Now what I'm going to do is I want to format this
3:46
and represent this percentage with text so I'm going to double click and use the text function
3:53
now the text function takes the value all this as the input value put in a comma
3:58
Now since we want percentage inside double quotes I'm going to type in 0.0 and then I'm
4:04
going to put in the percentage symbol close the double quotes close the text control enter
4:10
double click to copy down the formula so we can see the percentage represented as text
4:15
we can investigate to and use the is number or is test okay and when I grab the K4 close
4:24
the bracket I'm going to get true because now this is now represented as text that's lovely
4:30
get rid of this. Now the next thing I want to do is to represent these total sales in text so
4:37
equal sign I'm going to use the text function again and select the J4 put in a comma for the
4:43
text format inside double quote I'm going to apply the formatting so pound sign comma pound sign pound
4:50
sign and then close the double quotes and of course I can put in the GB pound symbol here and
4:56
then I'm going to close the bracket control enter there we go so we can see that we've been able to
5:02
represent the total sales as text so double click to copy that formula now what I'm going to do is
5:08
very simple next now I'm going to use the concat function to concatenate this percentage and the
5:16
numbers in text so I'm going to copy this uh control a to select control c to copy escape
5:23
I'm going to come here and after the equals I'm going to pump in the concat function
5:30
now there's going to be the text one and I'm going to put in a comma now for the text tool I'm going
5:35
to use what's called a line feed so to use a line feed in excel I'm going to use the child function
5:40
this is line feed put in a comma close the brackets put in a comma and control v and get
5:46
rid of this equal to operator and I'm going to close the bracket for the concat function control
5:54
enter and then copy that formula so I can get rid of this I don't need this again okay so what I'm
6:02
going to do next is to go ahead and create my clustered column chart so I'm going to select
6:07
this block of values and come to the insert tab and then under the chart group I'm going to choose
6:13
the insert column or the bar chart I will choose the 2d column chart and there we go let's make it
6:20
to be a little bit bigger get rid of the grid lines I don't need the grid lines so turn off
6:27
the grid lines and of course I want to get rid of this while I just get it out and what I'm going
6:33
to do next is to make this to be a little bit bigger so I can right click and choose format
6:40
data series and then for the gap width I'm going to reduce to let's say 100 and this is fine and I
6:48
can come to the fill bucket and I can change the color so vary colors by point so this is fine and
6:56
I can come to the effects so click on the effects and I can choose 3d format so for the top bevel
7:03
I'm going to use this bevel round bevel and that's lovely so the final path is to go ahead and display
7:11
the percentage and values on the clustered column chart so this is what I'm going to do I'm going to
7:15
click on the chart in the chart area and then I'm going to click on this plus sign and choose
7:21
data labels option here and I want to choose more options and this automatically adds the
7:28
default data labels based on the total sales so I'm going to come here to the labels option
7:35
and choose the best option again and I'm going to turn off the original value and then I want
7:40
to select value from cells so click on it and of course in the select data label range I'm going
7:46
click on cell k4 and press ctrl shift down arrow key and then click on ok so this is the moment
7:56
of truth click ok and that's amazing so you can see the percentage and the values on the cluster
8:03
column chart and of course you can press ctrl b to make it to be bold I can close this format data
8:09
task pane and I can move this down a little bit and then when I come to the cell j1 let's say I
8:19
want to choose critical but a priority watch what happens so critical there we go so you can see
8:26
the report dynamically change and of course the chart also responded to the changes so you can
8:33
see the percentage and of course the values let's say I want to choose medium order priority
8:41
there we go so everything works dynamically so this is basically how we can create a dynamic
8:48
report in excel that display percentage and values on the cluster column chart
8:54
I trust you enjoyed this video if you do like comment and share with your friends
8:58
thank you and bye for now cheers
#Business Operations
#Software