Visualizing target vs. actual progress – Biker on a hill chart

Share

Facebook
Twitter
LinkedIn

Over the years, we have discussed a whole heap of techniques to visualize budget vs. actual charts. Today let’s take a ride on this slope again and learn another fun, silly & awesome way to depict target vs. actual progress.

Introducing biker on a hill chart

Tada!!!

Biker on a hill!?! Don’t worry, I didn’t fall down on a descent and lose my brain. I am talking about an Excel chart to visualize target vs. actual progress on a time line with biker on a hill analogy. See the chart, you will know:

biker-on-hill-target-vs-actual-chart-demo

Looks interesting? Read on to learn how to create this in Excel.

Get your data

The biker on a hill chart is suitable when you have a huge target that should be achieved in several days, each with individual target. So input data looks like this:

raw-data-actual-vs-target-biker-on-hill-chart

Let’s say this data is in a table named progress. As you can guess, first three columns are inputs. Last column is calculated with a simple SUM formula to get cumulative target values. The formula used here is

=SUM(E3,[@Target])

Where E3 refers to the cell above first row.

Calculate hill and biker co-ords

The hill is a  simple X-Y chart with progress[Date] as X and progress[Target-Cumulative] as Y.

The tricky part is finding biker co-ordinates. We need 2 sets of values.

  1. Actual biker position based on the amount of work completed.
  2. Target biker position based on the amount of work that should have been completed.

Let’s understand the math behind this.

Actual biker position:

Y value (actual completed): This is simply SUM(progress[Completed])

X value (corresponding date): Now this is tricky. We need to find what date corresponds to the actual progress made based on the set targets.  for this we need to find several things:

  • Corresponding row #:  Using MATCH(), we find out what value in the cumulative target column matches the progress completed so far.
  • We will then find two dates between which the progress completed falls between, using MATCH formulas.
  • Finally, we will interpolate the corresponding date between these two dates using simple arithmetic.

Target biker position:

Y value (target): Target as of latest date, using either VLOOKUP or INDEX+MATCH

X value (date): this is simply date in corresponding row # that is calculated above.

Create the biker on hill chart

Step 1: Create an XY chart for the hill

Setup an XY chart where X=progress[Date] and Y=progress[Target-Cumulative]. We get this.

actual-vs-target-biker-on-hill-chart-1

Step 2: Add target & actual bikers

Add two more series to the chart. Target biker and actual biker using the X&Y values calculated above. We get this.

actual-vs-target-biker-on-hill-chart-2

Step 3: Replace the dots with biker images

This is easy. Download a clip art image of cyclist from internet. Paste it on your Excel workbook. Remove any background. Rotate the biker image by 30° or so. As this is not a real life biker on hill, we can afford 30° gradients.

Once you have new rotated biker, reduce the image size if necessary and clone it.

Change colors using format image > Color options (see here for detail).

Essentially, go from the image on left to right.

transform-biker-images

Now that you have biker images, replace the dots with bikers using following instructions.

  1. Select biker image and copy (Ctrl+C)
  2. Click on the dot in your chart
  3. Press Ctrl+V to paste image
  4. Viola, your chart now shows bikers instead of dots for actual and target values.

At this stage our chart looks like this.

actual-vs-target-biker-on-hill-chart-3

Step 4: Move the bikers up

Because Excel places the dot right on the line, the biker image too will be centered on it. So instead of looking a biker on hill, our chart looks like the biker is buried half in the hill. Not good, whether you are a fictional or real biker. So let’s pull the bikers.

We can do this by simply adding an offset value to the Y values. A value of 7 should work. But you can tweak this depending on your chart / image sizes.

Once we fix the calculations, our chart looks like this.

actual-vs-target-biker-on-hill-chart-4

Extra bells and lights

Bikers are known to pimp their rides with all sorts of doodads. We can show similar enthusiasm for our biker on a hill chart and add few more details. Here is one version after adding information about current progress status and forecast date of completion.

actual-vs-target-biker-on-hill-chart-5

The math for this is quite boring and simple. So I leave it to your imagination.

Download Biker on a hill – Target vs. Actual Chart Template

Click here to download biker on hill chart. Play with input data to move the biker towards target. Examine calculation section or chart to learn more.

Thanks GraH for the inspiration

Time for a confession. The biker on a hill chart idea isn’t mine. I got this from GraH, one of our readers. He left a comment on a recent blog post and I liked the idea. So I wrote this blog post explaining how we can all create a biker on hill chart in Excel.

Hui rules! But nevertheless, the creativity on this blog and the contribution of the bloggers are inspiring. And really enabling people to be aweSUM in XL, like you say.
I followed a training on Excel Dashboards in 2015 and your site was highly recommended by our cool trainer.
I became aware that XL can-do much more. Ingredients are a little imagination, dare to experiment and knowledge on how to combine techniques/functions.
In short within 2 weeks I will give a 1 hour XL awareness training in my company during open training week. I just sent a teaser with stuff I found here and on other XL-guru’s sites to my HR department. Within the next 5 minutes my proposition was approved. The reply was “Excellent idea!”
And the funny thing is that I found an XL soul-mate only a few seats away. Now we make each other crazy with challenges and/or things we learn about XL. The very first thing we made for a manager was a biker (representing his team) climbing a mounting (of work) towards the finish (the volume to reach at end of day). Depending on current status, different motivational talk appears in the title. The manager could not believe we just made a simple chart.

So thanks GraH for the cool idea.

How do you visualize target vs. actual progress?

I prefer conditional formatting icons and thermometer charts for budget / target vs. actual progress charts. Sometimes I use a bullet chart or variations of thermometer charts too. I have also used burndown charts (same concept as biker on hill charts). I like the biker on hill chart and may use it for some of my upcoming work.

What about you? What charts do you use to depict target vs. actual progress? How do you like biker on hill chart? Please share your thoughts and suggestions in the  comments section.

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.

12 Responses to “Analyzing Search Keywords using Excel : Array Formulas in Real Life”

  1. Very interesting Chandoo, as always. Personally I find endless uses for formulae such as {=sum(if(B$2:B$5=$A2,$C$2$C$5))}, just the flexibility in absolute and relative relative referencing and multiple conditions gives it the edge over dsum and others methods.

    I've added to my blog a piece on SQL in VBA that I think might be of interest to you http://aviatormonkey.wordpress.com/2009/02/10/lesson-one-sql-in-vba/ . It's a bit techie, but I think you might like it.

    Keep up the good work, aviatormonkey

  2. Andy Pope says:

    Hi Chandoo,

    You might find this coded solution I posted on a forum interesting.

    http://www.excelforum.com/excel-programming/680810-create-tag-cloud-in-vba-possible.html

  3. [...] under certain circumstances.  One of the tips involved arranging search keywords in excel using Array Forumlas.  Basically, if you need to know how frequent a word or group of keywords appear, you can use this [...]

  4. Chandoo says:

    @Aviatormonkey: Thanks for sharing the url. I found it a bit technical.. but very interesting.

    @Andy: Looks like Jarad, the person who emailed me this problem has posted the same in excelforum too. Very good solution btw...

  5. bob says:

    Realy great article

    "You can take this basic model and extend it to include parameters like number of searches each key phrase has, how long the users stay on the site etc. to enhance the way tag cloud is generated and colored."

    How would you go about doing this? I think it would need some VB

  6. Thiago says:

    Hi,
    I found the usage very interesting, but is giving me hard time because the LENs formula that use ranges are not considering the full range, in other words, the LEN formula is only bringing results from the respective "line" cell.

    Using the example, when I place the formula to calculate the frequency for "windows" brings me only 1 result, not 11 as displayed in the example. It seems that the LEN formula using ranges is considering the respective line within the range, not the full range.

    Any hint?

  7. Hui... says:

    @Thiago
    You have to enter the formula as an Array Formula
    Enter the Formula and press Ctrl+Shift+Enter
    Not just Enter

  8. Gary says:

    is there a limit to the number of lines it can analyse.
    Ie i am trying to get this to work on a list of sentances 1500 long. 

    • Hui... says:

      @Gary
      In Excel 2010/2013 Excel is only limited by available memory,
      So just give it a go
      As always try on a copy of the file first if you have any doubts

  9. Sumit says:

    Apologies if I am missing something, but coudn't getting frequency be easier with Countif formula. Something like this - COUNTIF(Range with text,"*"&_cell with keyword_&"*")

  10. Ray says:

    Apologies if I missed, but what is the Array Formula to:

    1. Analyze a list of URL's or a list of word phrases to understand frequency;
    2. List in a nearby column from most used words to least used words;
    3. Next to the list of words the count of occurrences.

Leave a Reply