Author Archive
Correlation vs. Causation [Charting Chatter]
![Correlation vs. Causation [Charting Chatter]](https://chandoo.org/wp/wp-content/uploads/2016/08/correlation-causation-confusion.png)
Here is a trap that is easy to fall in to. Confusing correlation as causation. As analysts, it is our job to see the data as it is rather than imply causation that doesn’t exist.
Let’s sample a chart, recently featured in Economist’s graphic detail under the title Measuring well-being.
Continue »Add any number of days, months or years to a date with this simple trick

Let’s say you have a date in A1 and want to find out future date after 2 years, 4 months and 9 days.
Here are a few formulas you can try.
- =A1 + DATE(2,4,9)
- =EDATE(A1, 2*12+4) + 9
- =A1 + 2*365 + 4*30 + 9
Surprisingly, each formula gives a different result! So which one should you use?
Continue »5 Shortcuts for you, one for every weekday [Awesome August]
![5 Shortcuts for you, one for every weekday [Awesome August]](https://chandoo.org/img/q/keyboard-shortcuts.png)
Let’s kick start our Awesome August 2016 with a simple but very useful set of shortcuts. 5 shortcuts, one for each weekday.
- Monday ALT + M N: Open name manager. Very handy, if you have quite a few range names and want to edit / manage them. Remember, this is a sequence shortcut, that means, you press ALT M, let go of both keys and then press N.
- Tuesday CTRL + T: Create a new table from data in current region. For more on tables, check out our Introduction to Excel Tables page.
- Wednesday CTRL + W: Close the current workbook, while keeping Excel open.
- Thursday ALT + T O: Opens Excel options. Very easy to remember too.
- Friday CTRL F: Fridays can be hard to concentrate. Use CTRL+F to find what you want in the current workbook. Use CTRL+H if you wish to do a find replace.
Introduction to Forecasting in Excel 2016 [Charts & Visual Analysis]
![Introduction to Forecasting in Excel 2016 [Charts & Visual Analysis]](https://chandoo.org/wp/wp-content/uploads/2016/07/forecasting-in-excel-2016.png)
One of the coolest features of Excel 2016 is forecasting. Today, let’s understand how it works with a sample data set.
Watch below video to understand forecasting in Excel 2016.
Continue »![How to get Maps in to Excel charts & dashboards [Master Class]](https://chandoo.org/wp/wp-content/uploads/2016/07/SNAG-0087.png)
This is third episode of our Monthly Master Class.
In this one, you will learn how to get maps in to your Excel workbooks. Understand 5 key techniques for making maps based visualizations in Excel – from regular charts to cell grids to VBA to Power Maps, everything is covered in this intense Master Class.
Continue »Find out how many times a value is present in a cell [formulas]
![Find out how many times a value is present in a cell [formulas]](https://chandoo.org/wp/wp-content/uploads/2016/07/count-occurances-using-formula.png)
Here is an interesting problem to start your day.
Let’s say you work as DNA sequencing engineer at The Enterprise. And you just unlocked the sequence that is responsible for all male problems. The early onset of baldness. The sequence code is AAAA. And you want to find out how many times this sequence is found in a sample of DNA strings, in the range B6:B19. Essentially you want the above.
So how do you write the formula?
Continue »On / Off conditional formatting with this simple trick

Here is a quick & awesome way to make your dashboards sexy. Add an on / off switch to your conditional formats.
Take a look at above demo to understand what I mean.
Continue »Time for a quick personal update. We (Jo, kids & I) are moving to New Zealand on July 15th. We are going to Wellington and will be living there for next 2 years. New Zealand…Really? Why? How? To understand that, we need to go back in time, to EDATE(TODAY(), -75). In April 2010, I moved back to […]
Continue »How to visualize multiple variables over several years? [Contest]
![How to visualize multiple variables over several years? [Contest]](https://chandoo.org/wp/wp-content/uploads/2016/06/multiple-variable-chart-contest.png)
Our newest contest is inspired from a question asked by Kaushik, one of our forum members, interesting problem.
Need to quickly visualize 3 variables ( Company, years, Financials) in a single […] chart.
Create a chart to understand multiple variable data and you could win $100 Amazon gift card. Do send your charts before 4th of July to qualify for the prizes.
Continue »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 »What is the sum of values excluding items on stop list? [home work]
![What is the sum of values excluding items on stop list? [home work]](https://chandoo.org/wp/wp-content/uploads/2016/06/sum-excluding-stop-list.png)
Okay, this is an extension of the Neither “A” Nor “B” sum problem we discussed few days back.
Imagine you have a table named mydata with a few columns and a stop list named stop.list as shown above.
How would you calculate,
- Sum of Hours for all activities excluding those in stop list?
- Sum of all Regular hours for activities not in stop list?
So go ahead and post your answers in the comments.
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 »Show more of your workbook on screens [quick tip]
![Show more of your workbook on screens [quick tip]](https://chandoo.org/wp/wp-content/uploads/2016/05/get-more-screen-space-excel-tip.png)
Ever wanted to show your workbook to someone and felt that you had less screen real estate? This tip will help you get more out of your workbook.
So how to get 50% more space for your workbooks?
Simple, just follow these steps.
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 »