Ads 468x60px

Thursday, April 25, 2013

10 Rookie mistakes to avoid when making dashboards [video]

10 Rookie mistakes to avoid when making dashboards [video]:
Are you making these 10 rookie mistakes when creating dashboards?
Watch below to video to understand what these mistakes and how to avoid them.
10 Rookie mistakes to avoid when making dashboards [23 mins]
10 Rookie mistakes to avoid when making dashboards - watch the video

More resources on Excel dashboards

Excel dashboards – Information, examples & tutorials

Creating a KPI dashboard using Excel – 6 part tutorial

Sales dashboards – 32 examples & downloads

Do you make any of these mistakes?

When I made my first dashboard in Excel (a balance scorecard for our department), I made almost all of these mistakes. Today, I am more careful. But I still forget to do print settings or make small mistakes when I create dashboards.
What about you? What mistakes are you making when you construct dashboards? Please share using comments.

Tuesday, April 23, 2013

How to create an Interactive Chart in Excel? [Tutorial]

How to create an Interactive Chart in Excel? [Tutorial]:
Imagine you have a worksheet with lots of charts. And you want to make it look awesome & clean.
Solution?
Simple, create an interactive chart so that your users can pick one of many charts and see them.
Today let us understand how to create an interactive chart using Excel.
PS: This is a revised version of almost 5 year old article – Select & show one chart from many.

A demo of our interactive Excel chart

First, take a look at the chart that you will be creating.
How to create interactive chart using Excel - Demo
Feeling excited? read on to learn how to create this.

Solution – Creating Interactive chart in Excel

  1. First create all the charts you want and place them in separate locations in your worksheet. Lets say your charts look like this.

    Create charts in separate ranges like this...
  2. Now, select all the cells corresponding to first chart, press ALT MMD (Formula ribbon > Define name). Give a name like Chart1.

    Select all cells corresponding to first chart and give them a name like Chart1
  3. Repeat this process for all charts you have, naming them like Chart2, Chart3
  4. In a separate range of cells, list down all chart names. Give this range a name like lstChartTypes.
  5. Add a new sheet to your workbook. Call it “Output”.
  6. In the output sheet, insert a combo-box form control (from Developer Ribbon > Insert > Form Controls)

    Insert combo-box form controls - Excel
  7. Select the combo box control and press Ctrl+1 (format control).
  8. Specify input range as lstChartTypes and cell link as a blank cell in your output sheet (or data sheet).

    [Related: Detailed tutorial on Excel Combo box & other form controls]
    Combo box form control settings - Excel interactive chart tutorial
  9. Now, when you make a selection in the combo box, you will know which option is selected in the linked cell.

    Demo of combo box & cell linkage - Excel interactive chart tutorial
  10. Now, we need a mechanism to pull corresponding chart based on user selection. Enter a named range – selChart.
  11. Press ALT MMD or go to Formula ribbon > Define name.  Give the name as selChart and define it as

    =CHOOSE(linked_cell, Chart1, Chart2, Chart3, Chart4)

    PS: CHOOSE formula will select one of the Chart ranges based on user’s selection (help).
  12. Now, go back to data & charts sheet. Select Chart1 range. Press CTRL+C to copy it.
  13. Go to Output sheet and paste it as linked picture (Right click > Paste Special > Linked Picture)

    Pasting a picture link - Excel interactive chart tutorial
  14. This will insert a linked picture of Chart 1.

    [Related: What is a picture link and how to use it?]
  15. Now, click on the picture, go to formula bar, type =selChart and press enter
  16. Move the image around, position it nicely next to the combo box.
  17. Congratulations! Your interactive chart is ready :)

Download Interactive Chart Excel file

Click here to download interactive chart Excel file and play with it. Observe the named ranges (selChart) and set up charts to learn more.

More Examples of Dynamic & Interactive Charts

If you want to learn more about these techniques, go thru below examples.

Do you use interactive charts?

Dynamic & interactive charts are one of my favorite Excel tricks. I use them in almost all of my dashboards, Excel models and my clients are always wowed by them.
What about you? Do you use interactive charts often? What are your favorite techniques for creating them? Please share your tips & ideas using comments.

Want to learn more? Consider joining my upcoming Dashboards & Advanced Excel Masterclass

I’m very excited to announce my upcoming Advanced Dashboards in Excel Masterclass in USA.
Chandoo.org & PowerPivotPro.com will be hosting this two day, intensive hands-on Masterclass. Enhance your Excel skills to create interactive, dynamic and polished looking dashboards your boss will love. Don’t miss out, this is a one-time opportunity to attend my live workshop in Chicago, New York, Washington DC & Columbus OH in May and June 2013. Places are strictly limited.
Click here to know more & book your spot in my Masterclass
Above article is a preview of the tips and tricks you will be learning in the Masterclass.

Thursday, April 18, 2013

Chart for wall hygrometric physic (or how to create a chart with custom x axis intervals?)

Chart for wall hygrometric physic (or how to create a chart with custom x axis intervals?):
Livio, one of our readers from Italy sent me this interesting problem in email.
I would like to prepare an xy linear graphic as representation of the variation of temperature trough a wall between two different bulk temperature i.e. outside and inside a house. This graphic should show the temperature gradient trough the wall thickness. The wall is normally made by different construction materials (different layers, as bricks, insulation, …..) and so the temperature change but not as a straight line with only one slope, instead as few lines with different slopes (see below figure) Calculations are not difficult, and also prepare the graphic also not difficult.
But, I am looking a beautiful solution for x-axis. X-axis should be divided not with constant interval, instead with different length between each sub-division exactly as the different thickness of the wall. This is a correct graphic, because you can show the correct slope of each straight line though each layer of the wall.
Custom X axis intervals in Excel Charts - How to?
Well, I know as much about wall hygrometric physics as cavemen knew about pivot tables.
But I know Excel well enough to know that we can easily create such a chart.

Video – Wall Hygrometric physic chart in Excel – How to?

Although you can create this chart easily, explaining how to do it can be lengthy. So I made a short video. Watch it below.
(Cant see the video, watch it on our Youtube channel)

Download Excel file for this chart

Click here to download the Excel file and play with it. Examine the chart settings & formulas to learn more.

Download XY Chart Labeler Add-in

Click here to download Rob Bevey’s XY labeler add-in. It is really handy.

Do you use fake axis labels?

The basic idea in this chart is to fake x axis labels thru dummy series. I use this technique often, especially when making charts like milestone chart, waterfall chart etc.
What about you? Do you use this technique often? Please share your experiences & tips using comments.
PS: Thanks to Livio for asking this question :)

Tuesday, April 16, 2013

Learn Top 10 Excel Features

Learn Top 10 Excel Features:
Last week, we had a lovely poll on what are your favorite features of Excel? More than 120 people responded to it with various answers. So I did what any data analyst worth his salt would do,
  • I downloaded all the 120+ comments data
  • I home brewed a large cup of coffee and started gulping it.
  • I started analyzing the comments
So here are the top 10 features in Excel according to you.
Learn top 10 Microsoft Excel features & become awesome

1. Excel Formulas

Writing simple formulas in Excel63 people (50%) said Formulas are their favorite feature in Excel. Of course, you can say, Formulas & Functions are Excel!!! . They are what Excel is made of. But then again, a surprising fact is very few people actually know how to use formulas. Most people would Excel as a glorified notepad or ledger – just to type data. Once you understand the power of formulas, then you can be an irresistible analyst. Your boss & colleagues will be all over you for insights & information, much like the girls in Axe commercials.
Resources to learn Excel formulas:

2. VBA, Macros & automation

55 people said VBA is what makes them use Excel. VBA stands for Visual Basic for Applications, is a special language that Excel speaks. If you learn this language, you can make Excel do crazy things for you, like generate and email monthly reports automatically while you are busy reading this article.
Macros, little VBA programs are what you write to achieve this. Learning VBA can be quite fun, challenging & extremely rewarding experience. Once you learn VBA, suddenly your company will find you invaluable, thanks to all the time & effort you will be saving due to automation.
Resources to learn VBA:

3. Pivot Tables

Excel Pivot Tables53 people said they love Pivot tables. They save you a ton of time, let you create complex reports, charts & calculations all with few clicks. No wonder so many people love them.
Pivot tables are ideal tools for managers & analysts who always have to answer questions like,
  • What is the trend of sales in last 6 months?
  • Who are our top 10 customers?
  • Which button do I press for strong latte?
May be not the last one, but Pivot tables can answer almost any business question if you throw right data at them.
Resources to learn Pivot tables:

4. Lookup Formulas

25 people said lookup formulas (VLOOKUP, HLOOKUP, INDEX, MATCH etc.) are their favorite feature of Excel. Lookup formulas help you locate any information in your workbooks based on input criteria. By knowing how to write lookup formulas, you can build dashboards, make interactive charts, create effective models & feel pretty darn awesome.
Resources to learn lookup formulas:

5. Excel Charts

Excel charts help you communicate insights & information with ease. By choosing your charts wisely and formatting them cleanly, you can convey a lot. I guess, most people hate Excel charts (hence it is at 5th position), because they are hard to work with. You can loose a whole afternoon formatting the wedges of a pie chart. But thanks to resources like Chandoo.org, you know better to make a column / bar chart and be done in 5 minutes.
Resources to learn Excel charts:

6. Sorting & Filtering data

If Microsoft ever needs few extra billions of cash, they just have to turn sorting & filtering features in Excel to pay-per-use. These ad-hoc analysis features are so powerful & simple that any aspiring analyst must be fully aware of them.
Resources to learn sorting & filtering features:

7. Conditional formatting

Conditional formatting is a hidden feature in Excel that can make your workbooks sexy. Just add some CF to highlight your data and you will turn boring into interesting. With new features like data bars, color scales & icon sets, conditional formatting is even more powerful.
Resources to learn conditional formatting:

8. Drop down validation & form controls

In-cell drop down boxes to collect user inputs - created using data validationRight from my 3.5 years old daughter to CEO of a company, Everyone loves to be in control. So how can you make your workbooks interactive, so that end users can control the inputs ?
By using form controls & drop down lists of course.
Resources to learn dropdown lists, form controls:

9. Excel Tables & Structural References

Introduction to Excel tables, what are they and how to use them?Excel tables, a new feature added in Excel 2007 is a very powerful way to structure, maintain & use tabular data – the bread and butter of any data analysis situation. With tables, you can add or remove data, set up structural references, connect them to external sources (SQL server, ODBC etc.), add them to data models (Excel 2013 onwards), link them to PowerPivot (Excel 2010 onwards), format automatically, filter & sort with ease and still be out of office before lunch break. It is a pity Microsoft did not call them pixie dust or magic mix.
Resources to learn Excel tables:

10. PowerPivot, Data Explorer & Data Analysis features

PowerPivot - Introduction, what is it and how to use it?Although Excel in itself is quite powerful, it struggles to analyze certain types of data,
  • Combining multiple tables and creating reports from them
  • Processing data from difference sources and getting output to Excel
  • What if analysis, scenarios & optimization
This is where add-ins like PowerPivot, Data Explorer and Analysis toolpak come in to picture. They let Excel do more, just like bat-mobile lets batman kick more ass.
Resources to learn more:

Learn all these features & more in one place

If you are looking to master all these top 10 features (and more) in one place, I highly recommend enrolling in my online classes. These training programs offer a step-by-step, in-depth, practical instruction on all areas of Excel, VBA, Dashboards & PowerPivot so that you can be awesome at your work. Click on below links to learn more.
Or if you prefer face-to-face training & live in USA, you are in awesome luck. I am visiting USA this summer to conduct advanced excel & dashboards masterclasses in Chicago, New York, Washington DC & Columbus OH.
Click here for details & to book your spot.

Saturday, April 13, 2013

Some charts try to make you an April fool all the time (or why 3d pie charts are evil)

Some charts try to make you an April fool all the time (or why 3d pie charts are evil):
Recently I saw a big screaming ad that said “the chartbuster rules”. Of course, I know that chartbusters rule. Not just because I was one of them :)
So I got curious and read on. And I realized the ‘chartbuster’ is actually a car, not some cool, spreadsheet waving, goatee sporting dude like Jon Peltier. What a bummer!
And then to my horror of horrors, I saw the exploding 3d pie chart, with reflection effects & glossy colors. And the sole purpose of the chart is to create an impression that Verna sells better than any car in India.

First take a look at the chart:

Rotating exploded 3d pie charts are (mildly) evil

Now for criticism

Obviously there is no denying that Verna sells better. If you look at the number of units sold, Verna’s 56,486 is better than any other numbers.
But is that the impression the chart gives?
If you just look at slicers and colors (which is what you would do), you feel that Verna has 40-45% market share.
What is the reality? It is 31.4%
Why such a distortion in our perception?!?
This is because, the ad uses a mildly evil magic called 3d pie charts, to distort what you perceive.
Then the chart maker sprinkled this 3d pie chart with assorted poisonous sprouts called as ‘customized rotation of slices’ and ‘exploding the pie for Verna, to make it look big’.
Now, the chart means one thing, but says another. Its like my wife when she wants new shoes.

Can chart rotation impact your perception – here is the proof!

Now, you might be wondering, “Oh Chandoo, come on my man. Why would I be dumb enough to fall for this.”.
So I have made a proof. I made a similar 3d pie chart from these exact numbers. Then I rotated it from 0 to 360 degrees. And you can see how the slices of pie play with your eye.

So what is a better alternative for this chart?

In this case a column chart is better. It clearly shows the leadership position of Verna without resorting to sneaky tricks.
Use a regular column chart for data like this so that truth stands out clearly
What more, you can format the column chart so that it has all the bling! (not that I recommend such over formatting)
What more, you can format the column charts so that they can look more advertisementy.
PS: A newer version of this ad features column chart, albeit with convoluted staircase representation.

What do you think about rotated, exploded 3d pie charts

The only time I want to rotate a pie is when it is too big and the portion I want to eat is on the other side.
What about you? do you make 3d pies? Are they tasty or sneaky (like the Verna pie)?
Share your thoughts using comments.

Take our 3d pie pledge

As a fun exercise, why don’t you take our 3d Pie pledge. Here it is.
I promise to never make a 3d pie chart. If I ever see one, I promise to not rotate or explode it. I also promise to create alternative charts (usually column, bar, line or scatter plots) so that my audience can see the truth better.
And oh yeah, I promise to bake & eat pies whenever possible. Apart from cakes, pastries, ice creams, biscuits and other assorted fun foods that is.
signed…
Go ahead and take the pledge
PS: Chartbuster series of articles & more charting principles.