This is a guest post by Krishna, a football lover & one of our readers. He is also a student of Chandoo.org online VBA classes.
The wait for lifting the most valued priced in football for Germans was finally over. For a football fan, world cup is best time that is scheduled every four years and that if your favorite team lifting the trophy is like your crush is going on a date with you. 🙂
A sneak-peek at the final dashboard
Here is the final dashboard (it has more functionality than depicted). Click on it to enlarge.
Download the dashboard workbook
Click here to download the workbook. Refer to it while reading this article for most benefit.
How it all began…?
So, after the world cup, I have thought to analyze this tournament using excel. And also Chandoo’s podcast session 13 made me more excited to start on this.
I have started the by searching for information over net and thanks to FIFA for having all the information at one place.

1. Planning of dashboard
I have made some dashboards and I think one of the essential steps to do is to plan what all needs to be represented in our dashboard. Having a checklist helps me to focus more on making it more interactive and creative rather than digging out for the data. In this dashboard, I wanted to show analysis of individual teams, matches played, and comparison of teams. However, I have added the top performers of World Cup in later stages.
2. Collecting data
Having all the data on single site is great, however exporting to excel might seem a bit cumbersome because of formatting issues. So, it’s better to use PowerQuery (a Microsoft add-in) to extract the data from sites. (I came to know about PowerQuery, PowerView and PowerPivot though Chandoo podcast session 3, an interview with Mike Alexander). This provides us the data in tabular form and that saves a lot of time in formatting, especially when you copy from web.


Once, I have the data for goals scored, I have collected data for other parameters as well and the stats are matched for the respective matches between the teams using Index-Match.
Now, we have the data related to matches played between the teams.
Similarly collect data for the teams. (FIFA.com has huge resource of information collected for this world cup)
3. What makes a team
Now, we need to make the right graphs for data representation.
For the first part of the dashboard (performance by teams) there are four areas that I wanted to show independently. I was tired of using the form controls. So, I have used the select cells control which requires a small macro and some form of conditional formatting to do the magic. For more on this technique refer to Interactive Sales Chart tutorial.
Now for the country selected there should be a flag. Here I have named all the flags with abbreviation of each country. A macro code is used to select the country flag which is the ‘Flag’ (selected cell) cell.

Scatter plot in the dashboard
The chart on the right is scattered plot, where the data points are selected as per the categories selected in the drop-down. I have used Index, Match and Choose functions to select the data points for the all the teams. The pic below is for the “Dribble into penalty area” that is under “Attack”.

INDEX($E$2:$AR$34,MATCH($AZ3,$E$2:$E$34,0),MATCH(CHOOSE($AW$16, $AU$15,$AU$16,$AU$17,$AU$18,$AU$19,$AU$20), $E$2:$AR$2,0))
Which is
INDEX($E$2:$AR$34,MATCH($AZ3,$E$2:$E$34,0),MATCH(CHOOSE($AW$16, $AU$15,$AU$16,$AU$17,$AU$18,$AU$19,$AU$20), $E$2:$AR$2,0))
INDEX($E$2:$AR$34,MATCH(Germany, Teams selected,0), MATCH(Dribble in to penalty area, row headers,0))
INDEX(Data table,1st row,19th column) = 28
Similarly the data points required for the graph are populated.

Now, for finishing, add a small box that gives few details about the team. Here, we need to accommodate all the data in the box that can be done using CONCATENATE or just simply use “&”

For e.g.,
=”Team: “&linkedCellFlag &CHAR(10) &”Stage: ” &INDEX($E$3:$F$34,MATCH(linkedCellFlag,$E$3:$E$34,0),2)
linkedCellFlag :named range for the selected team and Char(10) is required to provide ample space to goto next line.
The output will be (if I selected Germany):
Team: Germany
Stage: Winners
And similarly use & to add the data into the cells
So putting all together the final output is (yes I am a bot bad in choosing the right color scheme)
4. Match vs. Match ()
So now moving on to the next phase of the dashboard, the analysis of matches played.
Here, when I select two teams, say, Germany vs. Argentina, the match stats for corresponding teams must come up. Here, there are two things that we need to check:
- When I select Germany as my first team, I need to select all the teams against whom Germany played in this World Cup
- When selecting the match like GER vs. ARG, we need to have the same result even though I have chosen ARG vs. GER
To solve these two situations I have used the following method:
- Make a matrix of the teams played against every other teams as shown below. I have sorted the teams based on groups and using IF,MATCH, IFERROR populate the array as shown below

Formula used:
IFERROR(INDEX($AN$3:$AN$34,IF(AP$2=$AN3,” “, IF(ISNUMBER(MATCH(AP$2,GrpA,0)), MATCH(AP$2,$AO$2:$BT$2,0),””)),1),””)
For case of the selected cell, if, Brazil = Mexico, <<blank>>, If Brazil is part of Group A, then value of the team in header Row (AO2:BT2)
Similar procedure is followed for the other matches
For the drop down,
The index number (for eg., Brazil is the 1st team in the drop down bar, hence it has number 1) of the team selected and MOD (number,4) is evaluated. Corresponding teams are added from (i) (if the selected team is Spain, index number is 5, then teams are Chile, Australia and the Netherlands). Similar process is done for teams proceeded into later stages of the tournament is done.
Evaluation of the match
For the matches, when we select the teams, let say, Brazil vs. Croatia, here the home team is Brazil and away team in Croatia. So the index number assigned is “1-3”. I have defined the index number for each of the teams using CONCATENATE, INDEX, MATCH functions.
=CONCATENATE(MATCH(LEFT(F40,3), $AM$3:$AM$34,0),”-“,(MATCH(RIGHT(F40,3), $AM$3:$AM$34,0)))
F40= BRA-CRO
Hence, the formula becomes
CONCATENATE(MATCH(BRA),$AM$3:$AM$34,0),”-“,(MATCH(CRO),$AM$3:$AM$34,0)))
CONCATENATE(1,”-“,3)
Which gives 1-3
In case, I have selected to Croatia first and Brazil second, then I would have it as “3-1”, which doesn’t match with the list of matches. Hence in that case, we need to invert the number to “1-3”.
So finally, got the numbering right, which leaves us to lookup values for each category. So when I have seen initially, the list is too long. So I have decided to subgroup them.

On an average the match stats that most of us look are shots, goals, suspension, attacks, procession. However, showing many statistics is often too dangerous. So, I have adjusted to the top stats and sub stats can be viewed if one like to. For example, one wants to look in-depth about goals scored, total attacks and total passes then small box in Column AG (the one highlighted) can be used to hide the rows or show the rows accordingly. A small macro to hide/show rows is sufficient for the same.
5. Where do the teams stand
Now the third part to compare any two teams in the tournament and compare with tournament average. So this would be just a graph with all the data available. So I thought of animating the graph.
Before animation, an important thing to note is to check for the dimension of the variables we are analyzing. Since, all the data is coming on the same graph, plotting goals scored (e.g. 18) and total passes complete (e.g. 4200) in same would not help us. Hence, use total passes complete (in 100s) is to be checked. Similarly for other parameters.
For animation of the graph, I have done a similar as mentioned Chandoo in Excel VBA classes. (That course is really awesome. If you are looking to know more on excel VBA, I recommend you to join)

Top 5 teams

And at last, the comparison of top 5 teams. This is done using INDEX,LARGE formula.
INDEX($E$3:$N$34,MATCH(LARGE($I$3:$I$34,1),$I$3:$I$34,0),1)
In I3:I34, there are values of total goals scored by a team. Here we get Germany
In similar way we can check out for the remaining by substituting 1 with other numbers.
The charts are animated in the similar way as done in the previous graph, although an additional dimension is added.
So this is it. Make final touches by specifying the appropriate hyperlinks to the each section and maintaining the formatting is essential.
Thanks Chandoo for encouraging me to write a guest post.
Added by Chandoo: Thank you Krishna
Many thanks to Krishna for sharing his dashboard file & explanation with all of us. Your work is a proof of how much we can accomplish with Excel.
If you like this article,please say thanks to Krishna.
Want to learn how to create dashboards like these?
Then check out:


















31 Responses to “Beautiful Budget vs. Actual chart to make your boss love you”
Would be considerably easier just to have a table with the variance shown.
On Step 3, how do you "Add budget and actual values to the chart again"?
There are a few ways to do it.
Easy:
1) Copy just the numbers from both columns (Select, CTRL+C)
2) Select the chart and hit CTRL+V to paste. This adds them to chart.
Traditional:
1) Right click on chart and go to "select data..."
2) From the dialog, click on "Add" button and add one series at a time.
One more way to accomplish it is just select the columns into chart. Press Ctrl+C and then press Ctrl+V
Regards
Neeraj Kumar Agarwal
Unfortunately, this doesn't seem to work for me in Excel 2010. The "Var 1" and "Var 2" columns cannot combine two fonts to display the symbol and the figure side-by-side.
Secondly, there is no option to Click on “Value from cells” option when formatting the label options. The only options provided are Series Name, Category Name or Value.
@TheQ47... the emoji font also has normal English letters, so if you use that font, then you should be ok. I am assuming your computer doesn't have that font or hasn't been upgraded for emoji support.
Reg. Excel 2010, you can manually link each label to a cell value. Just select one label at a time (click on labels, wait a second, click on an individual label) and press = and link it to the label var 1 or var 2.
I am using excel 2010, please explain how to apply Step 12
Regards
Neeraj Kumar Agarwal
Hi Neeraj,
"Value from cells" option is only available in Excel 2013 or above. In older versions, you have to manually adjust the label value by linking each label seperately.
Read this please: https://chandoo.org/wp/change-data-labels-in-charts/
Sir, you are just awesome.
Your creativity has no limit.
Regards
Neeraj Kumar Agarwal
Hi Chandoo,
I just found your website, and really love it. It helps me a lot to be an Excel expert 😉
Currently I am facing with a problem at step 11:
Var1 Var2
D30%
A5%
B0%
B4%
B7%
C10%
C13%
D27%
I42%
Though at mapping table, I used windings, here formula uses calibra. How I can change it? I am able to change only the whole cell. In this case numbers will be Windings too.
Thanks for your help!
Hi Mariann... Welcome to Chandoo.org and thanks for your comment.
If you wanted to use symbols from wingdings and combine them with % numbers, then you need to setup two labels. One with symbol, in wingdings font and another with value in normal font. Just add the same series again to the chart, make it invisible, add labels. You may need to adjust the alignment / position of label so everything is visible.
[…] firs article explains how you can enhance your charts with symbols. You can simply insert any supported symbol into your data and charts. To some extend you can […]
You're a good person, thank you to share your knowledge with us, I will try to do in my work
Great visualization of variance. My question is that is this possible in powerbi?
How would you go about it?
HELLO, WHY CANT I FIND VALUES FOR LABELS IN EXCEL 2013
Dear chanddo sir,
What to do if we have dynamic range for Chart. How this will work. can you able to make the same thing works on dynamic range.
Sir Chandoo,
Good Day!
First, I'd like to say that I am very grateful for your work and for sharing all these things with us.
I tried to do this chart but it seems that the symbols don't work with text (abs(var%),"0%") unless we keep the Windings font style.
The problem is, it converts the text into symbol as well and you wont see the 0% anymore. I'm using Windows 7.
WOW - Segoe UI Emoji
This is the greatest discovery for me this month 🙂 Thanks for sharing.
Here's my two-cents:
https://wmfexcel.com/2019/02/17/a-compelling-chart-in-three-minutes/
Sir This is awesome chart, and very easy to made because of your way to explain is very simple , everyone can do. Thank you
one problem i am facing, I hv made this chart , but when i am inserting data table to chart it is showing two times , how can i resolve this
in this chart when i am adding new month data for example first i made this chart jan to mar but when i add data for the apr month graphs updated automatically but labels are missing for that new month
Hi Renuka,
Please make sure the formulas for labels are also calculated for extra months. Just drag down the series and set label range to appropriate address.
So I am playing with the Actual chart here - but amounts are bigger than your - you have 600 as Budget - my budget is 104,000 - is there a way to shorten that I am unaware of
thank you - I LOVE YOUR SITE
Thanks for the tips and tricks on Excel. In the Planned versus Actual chart examples, you use multiple values (ex. multiple Categories in above). How can this be done when we have only 1 set of values? For example if I have only this:
Planned Actual
SOW Budget 417480 367551
How can I create a single bar chart like the one above?
Thank you Chandoo.
This one is just perfect for my Quarterly Review presentation on Operational Budget against Actual Performance for the Hospital I'm currently working with.
Just Subscribed today (10 minutes ago)
Is there a way to make the table of data into a pivot table to be able to add a slicer for the graph due to many different categories and months?
Hi, I tried to modify you template with something appropriate for me, and I found a problem. this template was modified by me started with excel 2010, then 2016 and finally 2019. Same thing - somehow appear an error - or didn't show the emoticons for positive percentage or doubled the emoticons for some rows. I suspect to be from excel. if is need it I can sand you my xlsx for study. Please help if you can.
Hi Chandoo,
Could you please check the Var Formula in Step1. You have mentioned budget-actual and when i did this i got different values but when reversed like actual-budget i got the actual value what you have demonstrated in step1.
Please share your view.
This is a great chart (budget vs. actual). However, in trying recreate it, I cannot color in the UP Down bars individually, and they all become formatted with the same color. I'm using Office 365. Look forward to the feedback.
Thanks.
Dan
pls explain in detail step 7
While in the Excel sheet you have used following formula for Var
Var = Actual - Budget
But
in the note, you have written
Var = Budget - Actual
Good Presentation and Data information.thank you so much chandoo.