All articles with 'downloads' Tag
Teach coding to your kids with this maze game [VBA]
![Teach coding to your kids with this maze game [VBA]](https://chandoo.org/wp/wp-content/uploads/2016/06/nishanth-playing-maze-game.jpg)
My twins (Nishanth & Nakshtra) are now almost 7. They are super keen to learn how computers work. So the other day, I showed them Code.org where there are several coding exercises disguised as games. They loved those games … err coding exercises. So that got me thinking… why not make a game in Excel that teaches kids simple programming concepts.
So I built a Snowman & Hot Chocolate Maze game. In this post, let’s understand how to build such a game using Excel VBA.
Continue »Sum up neither “A” nor “B” values – How to use DSUM function in Excel [video]
![Sum up neither “A” nor “B” values – How to use DSUM function in Excel [video]](https://chandoo.org/wp/wp-content/uploads/2016/06/sum-neither-a-nor-b-values-thumb.png)
We know how to use SUMIFS function to answer questions like, “What is the sum of values for ‘A’?” But how would you answer questions like,
- What is the sum of values that are neither “A” nor “B”?
We can still use SUMIFS, but it will get awfully long. So let’s turn our attention to other functions in Excel.
Continue »Generating sequence numbers from cluster values [VLOOKUP to the rescue]
![Generating sequence numbers from cluster values [VLOOKUP to the rescue]](https://chandoo.org/wp/wp-content/uploads/2016/06/generate-squence-numbers-problem.png)
Last night I got an email from Joshua, one of our readers with the subject – Hard Excel problem. Hard?!?, at this stage of summer, the hard problems seem to be (in no particular order),
- Lack of good quality mangoes to eat
- Intense heat and humidity
- Lack of good quality mangoes to eat
Yes, I like mangoes.
Any how, back to Joshua’s email, So I got curios and read it. He is facing a curious problem.
Continue »Fish Eye Effect for highlighting selection – Is it effective? [Advanced Charting]
![Fish Eye Effect for highlighting selection – Is it effective? [Advanced Charting]](https://chandoo.org/wp/wp-content/uploads/2016/05/fish-eye-effect-thumb.png)
A few days back, WSJ ran a visualization titled “What’s your pay gap?” It depicts median pay gap between female & male workers in 422 different professions in USA. The chart uses fish eye effect to highlight the selected profession. See below demo to understand the effect.
Continue »How many ‘Friday the 13th’s are in this year? [Formula fun + challenge]
![How many ‘Friday the 13th’s are in this year? [Formula fun + challenge]](https://chandoo.org/wp/wp-content/uploads/2016/05/friday-13th-in-an-year.png)
Today is Friday the 13th. If you are a raging friggatriskaidekaphobiac, I suggest you to stop reading this post. For the rest of you, I have something fun.
Given a year in cell C3, let’s find out all the months with Friday the 13th. Something like above.
Continue »Earth Venus cosmic dance – Animated chart in Excel

Recently I saw an interesting Earth Venus cosmic dance video on Facebook. See the original video below or here.
Although this is not entirely accurate from physics & astronomy perspectives, the dance is a stunning example of patterns that are generated by simple things.
I wanted to recreate this cosmic dance in Excel. How else am I to get my spreadsheet fix on a Saturday?
Here is a quick demo of the final outcome. Read on to learn more about the Earth Venus cosmic dance.
Continue »Sumerian Voter Problem [IF formula homework]
Here is a simple IF formula challenge for you. Go ahead and post your answers in the comments section. Can this person vote in Sumeria? Imagine you are the chief election officer in the great country of Sumeria. You have introduced a new eligibility criteria for voters just before the grand presidential elections of 2016. In order […]
Continue »Advanced Interactive Charts using Excel [Master Class]
As announced earlier, here is the first one of our Master Classes. In this one, you will learn how to create advanced interactive charts in Excel by blending pivot tables, slicers, timelines, VBA, conditional formatting and charts. The final outcome is BEAUTIFUL!!! Monthly Master Class – Episode 1 – Trailer Check out a quick trailer of the […]
Continue »A slicer that doesn’t slice [Pivot Table Tricks]
![A slicer that doesn’t slice [Pivot Table Tricks]](https://chandoo.org/wp/wp-content/uploads/2016/03/slicer-chart-confusion.gif)
Mary Ellen, one of our readers, has an interesting conundrum,
I have some data that goes to Pivot table then to pivot chart. There is a slicer to filter the data. But when I slice, my pivot chart gets messed up. How to have the slicer, but still see the insights in the chart?!?
See above demo to understand:
This is because when you slice by a school, the pivot table gets filtered and hence % row total for that school becomes 100% (as there are no other schools).
How to fix the problem? The easy answer is to remove the slicers. But we want to have our slicers and eat a slice of them too. So we crank up the Excel awesomeness valve and get to work. There are two ways to achieve what we want.
- Old school method: Two pivot tables, some formulas & a line chart
- New Excel method: Power Pivot and a line chart
Read the rest of this article to know more.
Continue »There are seven pandas hidden in this workbook [Easter Eggs]
![There are seven pandas hidden in this workbook [Easter Eggs]](https://chandoo.org/wp/wp-content/uploads/2016/03/seven-pandas-2016-easter-egg.png)
It is Easter time again. This year, we drove to my brother’s house in Hyderabad (700 km away from my home) to spend a weekend doing absolutely nothing (we will eat copious amount of food, share family memories, laugh and laze). It is Chandoo.org tradition to share few puzzles during Easter time, a la an Excel themed virtual Easter egg hunt. This year, I have prepared an amazing challenge for you.
Continue »How to create animated charts in Power Point [VBA]
![How to create animated charts in Power Point [VBA]](https://chandoo.org/wp/wp-content/uploads/2016/03/animated-power-point-chart-demo.gif)
This is a guest post by Chirayu, a member of Chandoo.org forum.
Animating Charts in PowerPoint cannot be done without the help of 3rd party software’s that create a flash file of the chart & embed it into the presentation.
However there is a workaround for this. Save your chart as multiple images & insert them (overlapping on top of each other). Use VBA on Developer tab Controls such as Combo Box, Option Button, Check Box etc. to “Bring To Front”” the corresponding image. Thus giving the illusion of an Animated Chart in PowerPoint.
This guide will teach you how to animate the charts, using the three Developer tab Controls that were mentioned before. The code & functionality only works in Slide Show Mode. File must be saved as PowerPoint Macro-Enabled Presentation (*.pptm)
Continue »“How Trump happened” in Excel [visualizations]
![“How Trump happened” in Excel [visualizations]](https://chandoo.org/wp/wp-content/uploads/2016/03/how-trump-happened-excel-replica.png)
During last week, an alert reader of our blog, Jørgen emailed me a link to “How Trump happened“. It is an interactive visualization by Wall Street Journal. Jørgen asked me if we could replicate the visualization in Excel. My response: “Making a new chart in Excel? Hell yeah!”
Read on for awesome visualizations and full explanation.
Continue »Analyzing half a million complaints – Customer Satisfaction Scorecard [Part 3 of 3]
![Analyzing half a million complaints – Customer Satisfaction Scorecard [Part 3 of 3]](https://chandoo.org/wp/wp-content/uploads/2016/02/customer-satisfaction-scorecard-analysis-complaints-data.png)
This is the final part of our series on how to analyze half a million customer complaints. Click below links to read part 1 & 2.
- Complaint reason analysis – Part 1
- Regional trends & analysis – Part 2
Customer satisfaction scorecard
In the previous parts of this case study, we understood what kind of complaints were made and where they came from (states). For the customer satisfaction scorecard, let’s focus on individual companies.
Continue »Analyzing half a million customer complaints – Regional Trends [Part 2 of 3]
![Analyzing half a million customer complaints – Regional Trends [Part 2 of 3]](https://chandoo.org/wp/wp-content/uploads/2016/02/regional-trends-customer-complaint-vis.png)
This is part two of our three part series on how to analyze half a million customer complaints. Read part 1 here.
Analyzing Regional Trends
As introduced in part 1, our complaints dataset has geographical information too. We know the state & zip code for each complaint. Please note that zip codes are partial or missing for a 10% of the data.
In this article, let’s explore three ways to analyze regional trends.
- Regional trends by state, product & issue
- Complaints per million by state
- Complaints by zip code
Analyzing half a million consumer complaints [Part 1 of 3]
![Analyzing half a million consumer complaints [Part 1 of 3]](https://chandoo.org/wp/wp-content/uploads/2016/02/analyzing-consumer-complaints-interactive-treemap-th.png)
How would you analyze data when you have lots of it? That is the inspiration for this series.
Let’s meet our data – Finance Industry Consumer Complaints
As part of open data initiatives, US government & Consumer Financial Protection Bureau maintain a list of all consumer complaints made against financial institutions (banks, credit unions etc.) You can download this data from the catalog page here. I have obtained the data on 1st of February, 2016. The download has 513,824 records. Each row contains one complaint.
In this and next two parts of the series, we are going to analyze these half a million complaints to find insights.
Continue »