+ Reply to Thread
Results 1 to 8 of 8

Selecting specific data for a waterfall chart

  1. #1
    Registered User
    Join Date
    12-07-2021
    Location
    London
    MS-Off Ver
    MS 365 Subscription
    Posts
    33

    Selecting specific data for a waterfall chart

    Hi,

    I made a waterfall chart using a very helpful youtube video. It shows full year 2021 actuals and 2022 forecast, with the variance in between for around 60 different markets.....you can guess the issue I'm having with this.

    Most of the markets are not worth showing as the variance is tiny. I've gone through the variances manually and this is what I want to show:

    2021
    USA
    Canada
    UK
    Colombia
    Germany
    South Africa
    Netherlands
    All other markets
    2022

    Please can someone advise me on how to go from showing all 60 markets to a select few i.e. the ones showing the highest positive variance and the ones showing the highest negative variances, with everything else added together as 'All other markets'? And how to automate this, so that I don't have to go through all the variances and manually choose which ones to show / add in the 'All other markets' etc etc - this will be provided within a tight deadline so automated would be ideal!

    Do I need ranking formulas / conditional formatting? If so (or for any other method), please can you explain the steps.

    Thank you!

    P.S. I have attached a copy of the waterfall chart I have so far showing all 60 markets.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Selecting specific data for a waterfall chart

    One way would be to use a spare column, say AI and add the formula
    =ABS(A12) and copy down to AI68

    The sort the AB12:AI68 table on AI with descending. That will put the highest and lowest values at the top.

    Decide how many you want to plot and then insert a new row just below the last of the one you're showing and sum all the rest of the numbers in a single row.

    Now just hide all the rows apart from the ones you want to show and the 'summary' row and you should find the chart automatically adjusts.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    12-07-2021
    Location
    London
    MS-Off Ver
    MS 365 Subscription
    Posts
    33

    Re: Selecting specific data for a waterfall chart

    =ABS(A12) gives me #VALUE! as A12 is text. Did you mean another cell, not A12?

    I understand your approach, to sort, decide how many to plot and then add a line for All other markets - the problem is I would need to create the waterfall chart everytime right?

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Selecting specific data for a waterfall chart

    Sorry, I should have said AC12, i.e you need to record the Absolute value excluding the sign.


    No, I don't see why. If the data is always in the same layout the chart will follow it. Thinking about it I'd put the summary row of all the ones you're not plotting as the first row of the data so that it's always in the same position. Just make sure you don't include it in the sort but that it's visible along with the n rows you don't hide

  5. #5
    Registered User
    Join Date
    12-07-2021
    Location
    London
    MS-Off Ver
    MS 365 Subscription
    Posts
    33

    Re: Selecting specific data for a waterfall chart

    Thank you! This is getting there - please see attached an updated version.

    However, a couple things I noticed / changed:
    • I used RANK instead of ABS because I'm not sure why I would want to see the -0.9 as a positive. When hiding the rows I don't want to see, the ABS formula would mean I have to hide 2 sets of numbers instead of 1 (the lower positive and lower negative variances.....if that makes sense)
    • Using RANK, I could hide all the markets I don't want to see in one go.


    And the bit I'm stuck on now:
    • Automating the formulas highlighted in yellow, so that it knows to skip the hidden rows. E.g. AF68 should be 606.3 and AF69 should be 626.1 - please can you advise on this? the waterfall chart is almost there!

    Thank you
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: Selecting specific data for a waterfall chart

    Perhaps the following:
    For cell AF68: =SUBTOTAL(109,$AE$11:AE68) then drag the fill handle down to cell AF69
    Similar for cell AH68: =SUBTOTAL(109,$AE$11:AE67)
    And cell AI68: =SUBTOTAL(109,$AE$11:AE68)
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Registered User
    Join Date
    12-07-2021
    Location
    London
    MS-Off Ver
    MS 365 Subscription
    Posts
    33

    Re: Selecting specific data for a waterfall chart

    Hi @JeteMc

    Sorry for the late reply, didn't see this until now... And thanks for your reply!

    I've done as suggested, but now the bar for 'others', in the waterfall chart itself is missing. You can see this in the attached version.

    Do you know what I need to do to get the bar for 'others' please?

    Thanks!
    Attached Files Attached Files

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: Selecting specific data for a waterfall chart

    Select cells AH68:AJ68 and drag the fill handle down to cell AJ69.
    Let us know if you have any questions.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 2 data labels on a Waterfall Chart
    By Pault2204 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 09-13-2021, 05:01 AM
  2. How to show Negative Data Label Values in Red - Waterfall Chart
    By kirtanpatel85 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-31-2014, 03:35 PM
  3. How to add Data Label to Waterfall chart
    By poweskasebastian in forum Excel General
    Replies: 1
    Last Post: 10-31-2014, 02:10 PM
  4. [SOLVED] Selecting all data in specific columns without selecting adjacent column.
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2014, 02:20 AM
  5. Selecting all data in specific columns without selecting adjacent column.
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2014, 03:50 PM
  6. Waterfall Chart Data Labels
    By nickFe in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-17-2011, 05:30 AM
  7. Selecting many specific columns for a chart
    By porridge in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 07-26-2006, 03:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1