Excel Tips, Tricks, Cheats & Hacks – Microsoft MVP Edition

Share

Facebook
Twitter
LinkedIn

I was recently asked, What is my most recommended Excel Tip?

My quick response was to regularly press Ctrl+S, Yes simply Save.

I have been caught out a number of times developing large excel systems where I haven’t saved data and after 2 or 3 hours of work I have lost that work when Excel or the Computer has crashed etc.

Close behind Ctrl+S is setting up the printer and page size as early in a project as you can.

But this got me thinking what would other Microsoft MVP’s Excel suggestions be ?

So I shot off an email to all the other Microsoft Excel MVP’s asking for their favorite Excel Tip, Trick, Cheat, VBA Code, Excel Formula or Function, Algorithm or Hack.

This post will now present these in the order they were received.

 

001. Assign Sequential Numbers – Bob Umlas

There are many ways to assign successive numbers using VBA, but I believe this one is the quickest.

If I know I have a range, referenced by the object variable Rg, for example, I could assign successive numbers parallel to that range by this statement:
Rg.Offset(, 1).Value = [row(1:10000)]
If Rg is 10 rows long, this will assign the values 1-10 (not 1-10000).

001 Sequential Numbers

Tip contributed by: Bob Umlas
Website: This isn’t Excel it’s Magic!

 

002. Format This Object – Jon Peltier

With any object selected, be it a Cell, Range, Worksheet, Chart, Chart Component, Text Box or other shape, Hyper Link, anything, Select the Object and press Ctrl+1. The Format Properties Dialog will be shown.

 

Tip contributed by: Jon Peltier

 

003. Stop Cell Change by Color – Rick Rothstein

Rick has provided a piece of VBA Code that stops a user entering data into a Yellow colored cell.

It is event code, so all of it should be placed in a sheet module (right click the sheet’s name tab, select “View Code” and copy/paste it into the code window that opens up… remember to save the sheet as an “Excel Macro-Enabled Workbook” if using XL2007 or above).

What the code does is, without having to protect the sheet, prevent a user from selecting any cell that has been manually colored yellow (you can, of course, change the color as desired). If the user attempts to select such a cell, the previously active cell will become re-selected. While the code works with yellow-filled cells, the If condition can be changed to test for any cell property (for example, bold text) or set of cell properties (red, underlined text) and it will work just as well.

Here is the code…

003. Stop Cell Change by Color_Code_2

Tip contributed by: Rick Rothstein
Website: http://www.excelfox.com/forum/f22/

004. Double Click Copy – Bill Jelen

Double click the fill handle to quickly copy a formula to the bottom of the adjacent data set.

004 Douible click

This is the Mouse Version of Copy Down as presented in Point 013 below.

Tip contributed by: Bill Jelen
Website: MrExcel.com

 

005. VBA Code Check – Felipe Costa Gualberto

It is widely known that you should use Option Explicit in the declaration section of all components, and I agree with that.

The tip I give needs Option Explicit in the declaration section:

You should often compile your project. Use the Alt+D and press Enter to ensure your code is correct and you’ll have no surprises while running your macro. A VBA project that doesn’t compile is a bad project.

When you request to compile the code, VBE passes through all your code, checking if there aren’t undeclared variables, missing references, bad syntax, etc.

I’m heavily addicted compiling my code and I do it every minute when developing an Excel Application.

Take advantage the fact that compiling speed in VBA is blazing fast!

Tip contributed by: Felipe Costa Gualberto
Website: http://www.ambienteoffice.com.br

 

006. Name Manager – Henk Vlootman

For me the Name box and the Name manager prove to be of priceless value.

Since I only work with ranges. I use the Name functionality as the place where I control my ranges.

If I have a complex model I can use the name box to down-drill my output by my formulas until I arrive at the input. Without this functionality maintaining Excel models proofs to be very difficult.

Tip contributed by: Henk Vlootman
Website: Vlootman.nl

 

007. Show Pivot tables in Classical Form – Mynda Treacy

If you find yourself regularly editing the PivotTable options to get the Classic PivotTable Layout back, you know the useful layout where the row labels aren’t nested, then you might like to add the ‘Show in Tabular Form’ icon to your Quick Access Toolbar.

To do this Right Click on the Quick Access Toolbar and select Customize Quick Access Toolbar

007 Show in Tabular Form

 

 

 

 

 

 

 

 

 

 

 

 

 

The Show in Tabular Form Icon in the QAT

007 Show in Tabular Form-2

And while you’re there you’ll probably want to add the ‘Do Not Show Subtotals’ icon too

Tip contributed by: Mynda Treacy
Web site: http://www.myonlinetraininghub.com/blog

 

008. Easily add a Table of Contents to a File – Jan Karel Pieterse

The lowest level of documentation I add to a spreadsheet model is a table of content.

With many sheets in a workbook, this can be a tedious chore however. Lets have some tips around this.

1. Getting the list of sheets.
– Open the VBA editor (alt+F11):
– open the immediate pane (control+g or View, Immediate pane)
– Paste this line of code and hit enter:

For Each s in Worksheets: Debug.Print s.Name: Next

– Hold down the shift key and press arrow up until you’ve selected all sheetnames:
– control+c
– Go to your Excel TOC worksheet and press control+v:

2. Create hyperlinks to the worksheets

Enter this formula in cell B2:
=HYPERLINK(“#'”&A2&”‘!A1”,A2)
Note the hash, it ensures the link actually works! The single quote is there in case your worksheet
name has special characters like spaces.
– Drag the formula down (double-click the fill handle)
– Format the linked cells (hit control+1) like so:
o A fat black line along the right-hand side and the bottom:
o An equally fat grey line along the left-hand side and the top:
o A darker grey fill:
o Change the Font to black, increase the font size, make it Bold and white and remove the underline:
o Which makes your links look like this:

I have created a small utility that automates the process of updating the table of content: Download Link

Tip contributed by: Jan Karel Pieterse
Website: http://www.jkp-ads.com/

 

009. Jump to the last cell of a contiguous range – Mike Alexander

Did you know you can quickly jump to the last cell in a column or a row with a simple double-click of the mouse?

Columns:

cap1

Rows:

Cap2

Caution: Be careful of blank cells. If you have a blank cell in the column or row, the cursor will jump to the last cell before the blank cell.

“There are two types of Excel users – Keyboard people and Mouse people. 
I’m a mouse person.  I hate taking my hand off the mouse.  If there is away I can doe something with the mouse, I’ll find it.
That why I love this tip so much. 
Hot Keys are for nerds.”
Mike Alexander

 

Tip contributed by: Mike Alexander
Website: http://www.datapigtechnologies.com/

 

010. Jump to a Filter’s search box – Jon Acampora

Alt+Down Arrow, E will jump the mouse cursor to the search box in the filter drop-down menus.

index

Tip contributed by: Jon Acampora

 

011. Use Ctrl+Enter – Tom Ogilvy

My favorite tip is to use Ctrl+Enter rather than Enter to fill any selection of contiguous or non-contiguous cells with whatever is in the active cell of the selection.

This can be a formula such as to generate random data to using in testing.

For example if I need integer data in  C2:C10; E2:G10 then I select that range, go to the formula bar and enter  =Trunc(rand()*100+1)  and complete with Ctrl+Enter. If I want to fix those numbers, I can then select the rectangular area doing a copy and then Paste Values.

A second tip using this technique is to build a pivot table to produce a subset of my data. Then do a copy and paste values to leave the values and removed the pivot table.  Select the area of row fields which will have many blank values. Do F5 (goto) and choose special, then blanks. This will select all the blank fields that need to be filled in.  Look at the active cell of the selection. Say it is B4. We can see that we want to fill each blank with the next value directly above it.  Go to the formula bar and type in =B3 which refers to the non-blank cell above B4, then use Ctrl+Enter. Your data base is completed but we need to remove the formulas.  Select all the row field area; do copy and then paste values to remove the formulas and replace them with the values they produce.

Tip contributed by: Tom Ogilvy
Website: http://www.allexperts.com/ep/1059-2697/Excel/Tom-Ogilvy.htm

 

012. Keep Dummy Data nearby – Oz du Soleil

Because my work involves testing and building examples, I use lots of random data.
1.  In Dropbox, I keep a pinned workbook called “Random Names and Cities”
Having it pinned and stored in Dropbox allows me to access that file wherever I’m at.
pinned items

 

2.  The workbook has thousands of bits of data including cocktail names, colors, fish names, professional designations, cities, etc.
One sheet has a name-randomizing section where I can hit F9 and get more names.
Thus, if I need a few rows of random data, or thousands, I can create them myself.
pinned names workbook

Tip contributed by: Oz du Soleil
Website: DataScopic.net

 

013. Copy Down / Copy Right – Zack Barresse

You can Copy Down or Copy Right using CTRL+D, CTRL+R (Fill Down, Right)

Copy Down

014 Ctrl+D

Copy Right

014 Ctrl+R

This is the Keyboard Version of Double Click Copy as presented in Point 004 above.

Tip contributed by: Zack Barresse
Website: http://exceltables.com/

 

014. Learn to use Google Search – Ian Huitson

I have answered nearly 10,000 posts at the http://forum.chandoo.org/ and one thing I have found is that it is very rare to get asked questions that haven’t been answered before, very rare.

Learn to use Google Search and some common websites like http://chandoo.org/wp/ and the other websites shown by the authors above. These websites all have search boxes which search the local website.

These websites have a wealth of Excel history, with worked and solved examples in posts and forums

Sometime the example might be of a mine feasibility study where you are after data on DNA Sequencing, but the solution to the data manipulation maybe very similar, so learn to think laterally about your problem and you’ll be amazed at the solutions that can be found

Tip contributed by: Ian Huitson “Hui”
Website: http://chandoo.org/wp/about-hui/

 

015. Trim with any delimiter – Rick Rothstein

Excel’s TRIM function is neat in that it collapses all multiple internal contiguous space characters down to a single space…

Did you ever wish there was a simple way to do that for any delimiter other than a space?

Here is a function that will do it for you…

Delim2

This function must be saved in a Code Module, not a Worksheet Module

The first argument is the text you want to parse. The second argument is the delimiter (which can be one or more characters long). The third argument, which is optional, let’s you specify whether you want to keep or delete any leading or trailing delimiters which may end up in the result (Excel’s TRIM function automatically deletes leading and trailing spaces, but I decided to let it be an option). The default is False which means leading and trailing delimiters will be deleted. So, let’s say you had a concatenation function of some sort which produced the following output…

If in Cell A1 you had: one, , , two, three, , , , , , , four, , ,_

Note there is a trailing space at the end of the above text string. Passing this text into the Reduce function, and specifying “, ” (comma space) as the delimiter, would result in the following text being returned from the function…

Using the function: =Reduce(A1, “, ” ) or =Reduce(A1, “, “, False )

Excel will return: one, two, three, four

Note: For those of you who may be wondering about those numbers in the Array function call, here is a link to the thread where they originally came from…

https://groups.google.com/ forum/#!topic/microsoft. public.vb.general.discussion/ TqZHK9cPnpU

Tip contributed by: Rick Rothstein
Website: http://www.excelfox.com/forum/f22/

 

016. The Bad Find Example – Stephen Gersuk

Dating back to as early as 2002, VBA Help has contained an awful example of how to use the Find method. It continued until as recently as Excel 2010.

Badfind1

On the merely bad side, you should explicitly set LookIn, LookAt, SearchOrder (if you care), and MatchByte arguments in the initial invocation of the Find method, as all persist each time Find is invoked via VBA or Find is invoked from the user interface. (MatchCase and SearchFormat persist from invocation to invocation in the UI, but not in VBA; both default to False).

But this line,

Badfind2

… should NEVER be used, because

  1. If c Is Nothing, then c.Address will give a run-time error; and
  2. If c.Address doesn’t error, then c Is Nothing must be False.

You might think that VBA would stop evaluating the expression if “c Is Nothing“, but it doesn’t; VBA always evaluates all arguments to a logical expression.
What to do instead?

That depends on what else the loop does.

If it causes the values to eventually not be found (e.g., because you are changing the values, or hiding the rows in which they appear), then the c is Nothing test is what you need. If the same values will be found forever (e.g., because you are changing some other cell in the same row where the value is found), then c.Address <> firstAddress is golden.

The one-size-fits-all solution is to just do both:

Badfind3

Tip contributed by: Stephen Gersuk
Website: http://www.stephensexcel.info/

 

Closing

Many many thanks to the Microsoft Excel MVPs who contributed above.

I hope you get to to revue all the tips and pass comments and appreciation back to the authors as appropriate.

Next week the Excel Tips, Tricks, Cheats & Hacks theme will continue with the Excel Tips, Tricks, Cheats & Hacks – Chandoo.org Excel Ninja Edition, so keep an eye out for that.

If you have any Excel Tips, Tricks, Cheats & Hacks that you would like to share with the community, please leave  a tip in the comments below.

 

Facebook
Twitter
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

106 Responses to “Waterfall Charts using Excel”

  1. Seth says:

    First of all, great post. Second, an extra thought on the usefulness of waterfall charts in general:

    Waterfall charts are best employed when a stacked bar (or, as I cringe, a pie chart) won't suffice because some of the "contributors" contribute negatively. This example is very helpful to get the basic technique down, but some extra math and series would need to be added to accommodate common waterfall chart applications (cash flow analyses, marketing mix, etc.).

    Jon's add-in does this, I think (at least, based on the screenshots). It can be done without an add-in, but it takes a moment to get the math down on what you're referring to as 'Base Values' in this example (the transparent spacer series).

  2. Mara Caruso says:

    This is an incredibly useful program. In my job, I have found several uses for it already!

    Thanks Aaron for taking th time to educate us!

  3. Gerald Higgins says:

    Hi, nice tutorial, thanks Aaron and Chandoo. This also works in 2003, although some of the stages are very slightly different.

    One possible improvement - some of the connecter lines may look as if they are slightly out of step with the blocks - in the final chart the one between "north" and "east" looks slightly too high. I also got this when I followed the tutorial. You can play around with borders for the element series - either turn them off completely, or make them the same colour as the fill colour, and play around with the line weight. If that doesn't work, consider adding in a small number to the connector values to offset them slightly.

  4. Ed Ferrero says:

    Hi, That's a nice way to draw waterfalls. For a different take on waterfall charts, you might look at my post on how to draw them using scatter charts at;
    http://www.edferrero.com/Blog/tabid/106/EntryID/16/Default.aspx

  5. Steve A. says:

    Thanks for the post. We use them all the time. As noted in an earlier comment, it would be great to adjust this so it can handle negative values, and color-code the negatives in red and positives in green.

  6. Bob says:

    For easier math and handling negative values:
    Three colums of data, labels then the start and end points
    In the chart wizard choose Line Chart and the 1st option - upper left hand corner of the dialog
    Double Click on one of the Lines - select Format Data Series Select Options: Up Down Bars
    Select each line; Patterns, Line, None
    And Bob's your uncle.

    This approach does not have Chandoo's nice connector lines - but it is easy to implement.

  7. Seth says:

    Great add, Bob. Two more things:

    1) The up/down bars are based on the first and last series provided. You can add the line connectors like Aaron's chart has by adding a series for each line segment to the middle of the data table. Could be an easier way to do this, but hey... this worked.

    2) I didn't like that the first datapoint (2008 in my example) and last (2009) were the same color as up bars. I see those as absolutes, and the up/down bars should be for the changes (Chg1-4). So, I added an absolute volume series (named Vol) and changed its chart type to Bar.

    3) Using the same trick that Aaron explains, you can also add data labels. I didn't.

    Bob's (in rows instead of columns):
    Label 2008 Chg1 Chg2 Chg3 Chg4 2009
    Start 0 100 110 100 55 0
    End 100 110 100 55 125 125

    Mine:
    Label 2008 Chg1 Chg2 Chg3 Chg4 2009 Note
    Start 100 110 100 55 UpDown
    Vol 100 125 Type=Bar
    Line 100 100 Type=Line
    Line 110 110 Type=Line
    Line 100 100 Type=Line
    Line 55 55 Type=Line
    Line 125 125 Type=Line
    End 110 100 55 125 UpDown

    Obviously, more cumbersome to set up but...

  8. Seth says:

    Grrr... attempt #2...

    Bob's (in rows instead of columns):
    _Label __2008 __Chg1 __Chg2 __Chg3 __Chg4 __2009
    _Start _____0 ___100 ___110 ___100 ____55 _____0
    ___End ___100 ___110 ___100 ____55 ___125 ___125

    Mine:
    _Label __2008 __Chg1 __Chg2 __Chg3 __Chg4 __2009 Note
    _Start ______ ___100 ___110 ___100 ____55 ______ UpDown
    ___Vol ___100 ______ ______ ______ ______ ___125 Type=Bar
    __Line ___100 ___100 ______ ______ ______ ______ Type=Line
    __Line ______ ___110 ___110 ______ ______ ______ Type=Line
    __Line ______ ______ ___100 ___100 ______ ______ Type=Line
    __Line ______ ______ ______ ____55 ____55 ______ Type=Line
    __Line ______ ______ ______ ______ ___125 ___125 Type=Line
    ___End ______ ___110 ___100 ____55 ___125 ______ UpDown

  9. Martin says:

    OK, guys: I didn't get it at all, but God knows I've tried to !!

    I can't download the sample @the office, but I'm wondering if you can lead me thru this example: I have a list of countries on col C, values for each Line Of Business on clos D and E, and total in col F.

    I'd like to create the waterfall chart to show how each country contributes to the total.

    How do I do thaT??

    thanks !!

  10. Martin says:

    PLease disregard my previous post, I think i hadn't enough caffeine on me.....i totally did it !!

  11. Martin says:

    thanks master !!

    I've actually gone a step further, and combined the chart with a data validation filter, and the result was really impressive, a dynamic waterfall chart, without a single macro line !!!

    Commenting this with a colleague form Finance, he mentioned that in this case (showing info from offices and getting to a region total), waterfall might induce to a confusion, as one might be tempted to understand that a certain office's numbers is based on the previous shown, and reluctantly, i had to agree with that vision.

    Still, I love the results !!!

    Rgds,

    Martin

  12. Outstanding tips. I never experiment that much. Thanks for this nice tutorial. Next time I definitely teach my younger brother about it. Again thanks.

  13. Brian says:

    I wish I could use waterfall charts with pivot tables and Dynamic number of data elements (which is why I use pivot tables). My main issue is related to data elements. I have charts I update every month for every project. So each project has its own set of charts (same charts with each project). However, each project might have 0 to 12 data elements. And every month the number of data element can change for each project. I do not see how I could do waterfall charts without a lot of work when I change the number of data points.

  14. Chandoo says:

    @Brian... One idea: you can take the above tutorial and create waterfall chart with 12 bands and then save it as template. Then next time you need to use a waterfall chart, just use it and set the blank elements as NA().

    Another option is to try Jon's utility. It is a pretty good tool and takes care of most of this work automatically.

  15. [...] please welcome Aaron Henckler as the Member of Month. Aaron has contributed a beautiful tutorial on creating waterfall charts using excel during the last month. He taught me few cool charting tricks through that. Thank you [...]

  16. Ulrich Seidl says:

    on http://www.hichert.com/de/software/exceldiagramme/55
    there are some examples for waterfall charts.

    Diagramm 675 (Rätsel 3)
    Diagramm 657, 656, 655

    if you mouse-click on the chart you can download the corresponding xls-file.

    have also a look on the new poster HI-SUCCESS-Rules for information design.

    brochure in english
    http://www.hichert.com/downloads/media/broschueren/brochure_2008_en.pdf

    poster preview
    http://www.hichert.com/de/shop/poster/203

  17. [...] to Aaron, who guest posted about excel waterfall charts in August. In august, I have turned my attention towards the pivot tables and wrote Excel Pivot [...]

  18. chrisham says:

    This is the best tutorial on Waterfall Charts!

  19. Chandoo says:

    @Chrisham.. no arguments there, Aaron really did a splendid job on this one.

  20. Fakhar says:

    Hi Chandoo,
    Another firsts of its kind though there are many who claim to have prepared the first free version of waterfall charts and want their name to be entered in Guinness World Records but I've seen none.
    My request is please update this note as you best know waterfall charts (WC)are best employed when a stacked bar or a pie chart won’t suffice because some of the “contributors” contribute negatively but above chart did not cover this aspect and also add some more templates of revised watefall charts
    Thanks and best regards
    Fakhar
    PS: Thanks again for always taking time out from your very busy schedule for quick/timely response to our queries

  21. Jeff says:

    To add another wrinkle, any thoughts on how to go from negative to less negative to positive numbers? We have a quarterly loss, trying to go from the GAAP to non-GAAP adjusted, which goes from a loss of 500 to loss of 100 to profit of 400 for example.

  22. Chandoo says:

    @Jeff... I am not sure, but waterfalls are not ideal for showing negative bars. But I have a weird suggestion. Try changing the axis settings so that horizontal axis crosses vertical axis at -600 instead of 0.

  23. Bob says:

    Jeff:
    See my comment from August 11, 2009 and Seth's followup the same date. Nice simple approach that accomplishes your objective. An excellent alternative is to get Jon Peltier's Waterfall add-in - it does everything.

  24. Lachlan says:

    Great thanks Aaron,
    This works really well for constantly incrementing series (ie. when you are always moving up as you move right)
    It can be pretty easily adapted for changes which involve declining values by altering the base to always be the lowest number in the two connector series and using the absolute value for the Element Value.

  25. Todd says:

    I've come up with an improved template that handles negative values just fine. I'll see if I can figure out how to post it.

  26. Todd says:

    Hmm, can't find an easy way to share the file. If anyone's interested, let me know. Basically, you paste in three columns: labels, before, and after. THe excel I made up witll produce a waterfall chart with a starting and ending total, and provide green/red step bars, with dotted line connectors, for positive and negative deltas, respectively.

  27. Todd says:

    Thanks! So, the link is: http://rapidshare.com/files/416227351/Cheese_Waterfall_Template.xlsx

    The filds highlighted in gray are all formulas, so don't need to be touched. It's not the cleanest (I should be able to condense it a bit), but it works for now.

  28. Thomas says:

    Thanx! This is really helpfull and it works great in 2003. I was adjusting my graphs in Illustrator to get the message right :$ This is much more convenient and looks the way it should look.

  29. Banjo says:

    Hi Todd,

    The link is gone ; can you please re load, thanks!

  30. Prabhash says:

    Thanks
    Have been using waterfalls for a long time.. this is very useful

  31. Aji Issac says:

    For animated waterfall charts you can try http://www.fusioncharts.com/powercharts/charts/waterfall/ (This is one of the best product created by an Indian guy when he was 17 year old). I also checked his latest speech at Nasscom Emergeout Kolkata on 28th, 2011. They have clients like Google, Facebook, US Gov etc.

    Thought of mentioning it here :), great work!

  32. Chris says:

    GREAT tutorial. Was able quickly replicate and then adapt for my uses.

  33. Priyanka Aggarwal says:

    Hello Aaron,

    The post is Nice & useful.
    But only for ascending data.
    If any fall will come into account then this template would not support.

    So if possible then Guide for Any fall between the raising Data.

  34. Abhi says:

    Hi

    Great post this and thanks for that. However I'm stuck in the last step and cannot link the label value to the element value. I'm using Excel 2010. Any help ?

  35. Abhi says:

    Spoke too soon ! I was typing in the label box instead of the address box ! Works perfectly now !

  36. Mirela says:

    Please please explain how to display negative values that contribute to the total

    tnx in advance

  37. David says:

    Can this be done in Excel 2002 (what my company has). It seems to fall down for me in step 3, as there doesn't appear to be an option in Excel to convert the series to a line.

  38. Darce says:

    This just made my life a whole lot easier today. Thanks so much for sharing. Some of us have NO talent for this type of thing and when someone like me can make this work...all I can write is: May Many Good Blessings Fall Upon You!

  39. Svetlana says:

    Thank you so much for putting on web these easy to follow and clear instructions on creating waterfall charts. I have just done two and it was quite simple process.
    Will come back for more tutorials!

  40. Quynh says:

    Hi Todd, could you please re-upload your waterfall chart to deal with negative value?
    Thank you a lot!

  41. Tina says:

    Hi Todd - Can you re update your waterfall chart? I am attempting to chart negative values in the midst of positive values and am having a hair raising experience.

    Thanks so much!

  42. Tina says:

    Hi Todd

    Could you please repost oyour waterfall chart. I am attempting to chart some negative values in the midst of postivie values. It is truly a hair raising experience.

    Thanks much

  43. Bob says:

    Tina - please see comments 6 and 7 above.

  44. May says:

    This is cool! Thank you so much for sharing. Of all the approaches I explored, Aaron's is the easiest to understand.

  45. Tina says:

    GREAT post! I used to be a consultant and had this macro automatically built into my powerpoint program. I'm in a new job now and was so happy to find this tutorial to be able to show this kind of analysis again. Thanks!!

  46. Callan says:

    Can you post an example excel file of this tutorial with waterfall ups and downs showing the connector lines? How do you lay it out I cannot get it to work and keep connector lines despite a 3 columns attempt and a few cups of coffee

    Cheers Chandoo and Co!

  47. Hui... says:

    @Callan
    Did you download the file in the section above

    Download the Waterfall Chart Template:
    Please download the waterfall chart template from here [.zip version here]

  48. kaahl says:

    One extra hack I did on this feature was add a mechanism to arrange the columns in order from greatest to least without using vba. I used a combination of a unique_id, the max() function and the vlookup() function. I also set the series label dummy to be 20% of the biggest bar height or a minimum of n. I am using this as part of a display for an input page--the chart reorganizes and relabels with all sorts of different scales. I uploaded a file here: http://www.kaahlsfiles.com/excel/

  49. Sasha says:

    This was very useful and well explained. I followed the steps and did it all myself.
    Thanks heaps.

  50. Chrs says:

    Chandoo - I am using Excel 2010. Was able to navigate the tutorial without a hitch until the end. I cannot get Step 9 to work. Any advice?

  51. Hui... says:

    @Chrs
    "Click a third time on the edge of the box that appears and then type the equals sign “=”. Now go back to your data table and click on the cell of the Element Value that you want appear in the label. Then press enter."

    What this should say is Select the labels for the series, then select an individual label by selecting it again. With just an individual label selected, type a formula in the Formula Bar =$A$10 (Change to suit)
    Press enter.

  52. Ajay Jaiswal says:

    there is not any critical plus and minus data for water fall chart so if its possible then plz add some increasing and decreasing value typ chrat....and thanks for ur tutorial..

  53. A Croal says:

    Superb stuff. Always wanted to know how to do this. very much appreciated.

  54. Jacques says:

    I used to to these kind of charts by myself before, but it took me a lot of time... My company has just installed an excel add-in, which allows you to make a rather nice and very easy to make waterfall chart; it's called Upslide (www.upslide.net), and it's rather great!

  55. DERMOT says:

    Great tutorial. Had to fiddle about to display negatives properly (subtracting them from the base)- but looks good. Thanks for taking the time to post this.

  56. Simon says:

    I don't know why companies never really teach you how to use the basic software you are provided with; I always feel like an XL dummy, but this waterfall diagram trick is pretty nice and worked for me. I have seen business development folks reduced to drawing them in powerpoint, which takes ages and if you need to make a change that causes some sweat and tears. Now I, a mere R&D guy, can get nice value proposition waterfalls for projects and change them painlessly too. Thanks for the post!

  57. Raunak says:

    Hi chandoo,

    I have a two row and 7 column data and i have followed the steps as per the tutorial.
    But i am not able to implement 3rd step while doing it my one of the data vanish. I tried it with all colors, and ultimately my chart got blank.

    Thanks

  58. Larry says:

    I've been running charts like this for a couple of years in Excel 2002. I have it set up as a template for others in my prior department to use in their presentations. It's quite versatile and works for them well...but the labels all fail in Excel 2007. I've got labels that are not manually linked as described above, but rather I've created addtional series to hold the labels. The Y value is the Y value of the series I'm labeling, and the x-value is the TEXT version of the gap number I want to label. Then I set the label to show the x-value. Since the x values are text, they align with the other series' x axis and it has been working flawlessly. Any way to automate labeling like this in Excel 2007? Shy of an add-in?

  59. Jacques says:

    Try this site, http://www.waterfall-chart.com/

    You enter your data, and receive a waterfall as an Excel file.

    Besides, the labels are nicely handled.

  60. Peter says:

    Great explanation.

    You may want to try, too if you have to create many waterfalls or create perfect waterfalls fast including negatives.

    http://lacs.xtreemhost.com

  61. Robin says:

    Wow, this was the most helpful and easy to follow set of directions I have ever found! Thank you so much!!

  62. Rob says:

    I wanted to automate this process so wrote a little sub to take care of it. However it won't handle negative values or a falling waterfall chart (only rising). They are on my todo list.

    [code]Sub WaterfallChart()
    Dim i As Integer
    Dim sum As Double
    Dim base As Double

    On Error GoTo Err1:

    Dim x

    x = Selection.Value

    ThisWorkbook.Sheets.Add

    Range("a1").Activate

    Range("A1").Value = "Axis Labels"
    Range("b1").Value = "Base Values"
    Range("c1").Value = "Element Values"
    Range("d1").Value = "Label Spaces"

    For i = 1 To UBound(x)
    ActiveCell.Offset(0, 3 + i).Value = "Connector " & i
    Next i

    Range("a2").Activate
    base = 0

    For i = LBound(x) To UBound(x)
    ActiveCell.Value = x(i, 1)

    If i LBound(x) Then
    ActiveCell.Offset(0, 1).Value = base
    End If

    ActiveCell.Offset(0, 2).Value = x(i, 2)

    If i = 1 Then
    ActiveCell.Offset(0, 4).Value = x(i, 2)
    Else
    ActiveCell.Offset(0, 2 + i).Value = base
    ActiveCell.Offset(0, 3 + i).Value = x(i, 2) + base
    End If
    ActiveCell.Offset(0, 3).Value = 20

    base = base + x(i, 2)
    ActiveCell.Offset(1, 0).Select
    Next i

    ActiveCell.Value = "Total"
    ActiveCell.Offset(0, 2).Value = base
    ActiveCell.Offset(0, 3).Value = 20
    ActiveCell.Offset(0, 3 + UBound(x)).Value = base

    'Creating the Chart

    Columns("A:A").Select
    Range(Selection, Selection.End(xlToRight)).Select
    Columns("A:H").EntireColumn.AutoFit

    Range("a2", Range("a2").End(xlDown).Offset(0, 3 + UBound(x))).Select

    ActiveSheet.Shapes.AddChart.Select
    ActiveChart.ChartType = xlColumnStacked
    ActiveChart.SetSourceData Source:=Range("a2", Range("a2").End(xlDown).Offset(0, 3 + UBound(x)))
    ActiveChart.PlotBy = xlColumns
    ActiveChart.Axes(xlValue).MajorGridlines.Select
    Selection.Delete

    'Create Connectors

    For i = 4 To UBound(x) + 3
    ActiveChart.SeriesCollection(i).Select
    ActiveChart.SeriesCollection(i).ChartType = xlLine
    With ActiveChart.SeriesCollection(i).Format.Line
    .Visible = msoTrue
    .ForeColor.ObjectThemeColor = msoThemeColorText1
    .ForeColor.TintAndShade = 0
    .ForeColor.Brightness = 0
    End With
    With ActiveChart.SeriesCollection(i).Format.Line
    .Visible = msoTrue
    .Weight = 0.25
    End With
    With ActiveChart.SeriesCollection(i).Format.Line
    .Visible = msoTrue
    .DashStyle = msoLineSysDash
    End With
    Next i

    'remove legend and hide data series

    ActiveChart.Legend.Select
    Selection.Delete
    ActiveChart.SeriesCollection(1).Select
    Selection.Format.Fill.Visible = msoFalse
    Selection.Format.Line.Visible = msoFalse

    ActiveChart.SeriesCollection(3).Select
    Selection.Format.Fill.Visible = msoFalse
    Selection.Format.Line.Visible = msoFalse

    'Apply Data Labels

    ActiveChart.SeriesCollection(3).ApplyDataLabels
    For i = 1 To UBound(x) + 1
    ActiveChart.SeriesCollection(3).Points(i).DataLabel.Select
    Selection.Formula = "=" & ActiveSheet.Name & "!R" & i + 1 & "C3"
    Next i

    Exit Sub

    Err1:
    MsgBox ("An error has occurred")
    Exit Sub

    Err2:
    MsgBox ("Non-numeric data")
    End Sub[/code]

  63. Rob says:

    I should have noted that data is entered in the following fashion:
    North 20
    South 10
    East 40
    West 30

    Then select the data and run the Sub.

  64. Dean b says:

    great article!
    Seen a pre build waterfall chart builder that is really handy
    http://www.excelwithcharts.com/topic7.html

    go check it out!

  65. andie says:

    this is AWESOME ... simply AWESOME

    tx,
    //andie

  66. Ulrich says:

    ....and here we have some extreme waterfalls...like Iguaçu, Niagara, Victoria...lol...
    http://www.hichert.com/en/consulting/exhibits/65

  67. Brian says:

    BOOM!
    2012 Budget Bridge in picture form. Thanks Man!!!!

  68. jatin narang says:

    Brilliant! I really liked the waterfall chart! Will be coming back for more!

    Thanks a bunch!

  69. Rich Bilsback says:

    Thank you, Thank you.  I spent hours trying to figure out how to fix my data labels for a waterfall I had cloned.  Finally, I found this article and the part that says...
    "Click a third time on the edge of the box that appears and then type the equals sign “=”. Now go back to your data table and click on the cell..."

    There's no way anyone could discover that on their own!! 

  70. anderson says:

    Wow.. never thought there's a tool to make me easier to analyze the growth of my company..
     
    thanks a lot!! you're such a great help!

  71. Olivia says:

    Thank you so much! This is a wonderful tutorial and very clear even for an excel-challenged person such as myself!

  72. Kania Laya says:

    It's really helpful! It helps me to answer my boss' question :p
     
    THankss a lott

  73. Anurag says:

    Thanks a lot.. Extremely useful post..saved me a lot of time and trouble.

  74. EC says:

    How could I show more visually the third component of the waterfall chart is heavily dependent on the first and second?

    I am trying to 'build a story' that the starting point (jump off point) for this year to next (final number) is dependent on three main components A, B and C. But  C is dependent on success of A and B. So while the waterfall chart shows that A, B and C are component of from getting from this year to the next but it does not show the relationship between A and B with C.

    Any idea how to do this more visually and powerfully?

    Thanks! 

  75. [...] I just G**gled, Excel Waterfall Chart.... http://peltiertech.com/WordPress/exc...bridge-charts/ Excel Waterfall Chart - Tutorial and Template - Learn how to make waterfall charts using MS Excel | ... Create an Excel Waterfall Chart - YouTube Create Excel Waterfall Chart I hope that helps. [...]

  76. Ian says:

    How to you get the waterfall chart to work when the variable goes below the x axis? Lets say you are looking at how sales have translated into negative profits. You have the main sales bar and progressively with expense categories it goes below the line. The series that goes below the line will be part of the same series that you are removing in previous items e.g cost of sales to create the floating effect. Therefore I am left with nothing below the line as that series is artifically removed. Hopefully that makes sense. 

  77. Hey Chandoo,
    This is a great example of using the classic set up for the waterfall chart while adding the connectors. This is actually the first time I have seen connectors used in the waterfall.
    Thanks for sharing.

  78. Andrew says:

    Hi, thanks for the post it's helped me create something more meaningful than what I was using previously. I'm stuck on something though, I'm using Excel 2007 and trying to add the horizontal lines between certain points on the stacks that show up as dotted on your chart. Can anyone advise how I can go about adding these using the options in Excel?

    Cheers
    Andrew

  79. Alain says:

    Feel free to use the waterfall chart template I created and let me know your feedbacks:

    http://www.alainblattmann.com/index.php/excel/waterfall-chart-bridge-chart

    Regards,
    Alain

  80. Mark Barrett says:

    Thanks, Chandoo. Very useful article. Now I better understand how it works. But I found add-in. I made several templates with different configuration of charts and use it. Look at this http://fincontrollex.com/?page=products&lang=en

  81. […] - Thanks to Aaron Henckler at Chandoo.org for creating an excellent tutorial on waterfall chartsii - Thanks to Rob Bovey at AppsPro for creating a very useful add-in for labeling […]

  82. Rajesh says:

    Thanks guys, this really helped me in understanding and creating a good waterfall graph.

  83. ayatollah says:

    I'm just dropping by to let you know, that I've visited this post numerous times to help me with with my waterfall charts.

    Thank you so much!

  84. […] Excel Waterfall Chart - Tutorial and Template - Learn how to make waterfall charts using MS Excel | … http://www.contextures.com/excelwaterfallchart.html Excel Waterfall Charts (Bridge Charts) - Peltier Tech Blog If you insert columns for the extra periods (rather than add them to the end) your charts will update automatically to the new columns. […]

  85. Hi,

    It was really helpful data. alothough it was difficult to implement on mulitple data but managed to do that.

    Thanx>>>>>>
    saurabh gupta

  86. ish says:

    thanks! this helped me a lot

  87. Ferdinand says:

    Thanks guys 🙂 its 2nd July, 2014 and this article is still very relevant and helpful!

    Took a little reading up but I managed to edit it and expand it to cover more range, awesome!

  88. faraz says:

    Great help, my boss ask me to prepare and it was easy.

  89. Jason says:

    Phenomenal tutorial, worked perfectly and looks great!! It's sad that it takes so many steps to make this work in Excel, but the steps you laid out make such a better waterfall than the other tips I've seen elsewhere...

  90. Nilesh says:

    Thanx a lot aaron

    I was struggling with some data and was not satisfied with the presentation, made it in waterfall today.
    Wil b able to sleep tonite 😉

    thanx again

  91. Robert says:

    Thank you for the post. Everything works great with the tutorial but when I decide to insert another row into the table (e.g., if I was to add another region to the above table) the corresponding chart breaks in that the connector with the new bar is not visible and I can't seem to find a way to create it. I end up recreating the chart from scratch. Any help would be greatly appreciated.

  92. Shailendra says:

    Excellent post. I have used waterfall chart many times in the past but automatic update of connectors was really useful. Thanks

  93. bilal says:

    A really nice step by step way of producing a waterfall chart. It all went well when I had positive values , however, once I had a negative value, the relative bar was shown below the X axis. Any solution for this ?

  94. Matt says:

    Hi Chandoo,

    This waterfall chart doesn't work for negative values. How do you show a negative value?

    Matt.

  95. Bob says:

    @Matt. Please see my comment from Aug 11, 2009 (6th comment from the top above). Nice simple way to handle waterfalls including negative values. The following comments from Seth adds some nice enhancements. Of course, Jon Peltier's utility is the best.

  96. THANH says:

    Many thanks. Excellent post. It was really useful for me.

  97. Selina says:

    Thank you!! This is very well explained and visually useful 🙂 helped me a lot! Thanks again!!

  98. Megna says:

    Great Explanation. Keep it up

    Also see More robust waterfall chart taking care of Negative Values and diff color for negative values at

    https://eduqfa.com/ultimate-waterfall-chart-excel/

  99. Srinivasan Hariharan says:

    Dear Chandoo
    Could you kindly send me the waterfall chart in pdf format by email please.
    Would be of great help
    Best regards
    Srinivasan H, Mumbai

Leave a Reply