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:

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:

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.
- Actual biker position based on the amount of work completed.
- 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.

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.

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.

Now that you have biker images, replace the dots with bikers using following instructions.
- Select biker image and copy (Ctrl+C)
- Click on the dot in your chart
- Press Ctrl+V to paste image
- Viola, your chart now shows bikers instead of dots for actual and target values.
At this stage our chart looks like this.

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.

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.

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.














13 Responses to “Using pivot tables to find out non performing customers”
To avoid the helper column and the macro, I would transpose the data into the format shown above (Name, Year, Sales). Now I can show more than one year, I can summarize - I can do many more things with it. ASAP Utilities (http://www.asap-utilities.com) has a new experimental feature that can easily transpose the table into the correct format. Much easier in my opinion.
David
Of course with alternative data structure, we can easily setup a slicer based solution so that everything works like clockwork with even less work.
David, I was just about to post the same!
In Contextures site, I remember there's a post on how to do that. Clearly, the way data is layed out on the very beginning is critical to get the best results, and even you may thinkg the original layout is the best way, it is clearly not. And that kind of mistakes are the ones I love ! because it teaches and trains you to avoid them, and how to think on the data structure the next time.
Eventually, you get to that place when you "see" the structure on the moment the client tells you the request, and then, you realized you had an ephiphany, that glorious moment when data is no longer a mistery to you!!!
Rgds,
Chandoo,
If the goal is to see the list of customers who have not business from yearX, I would change the helper column formula to :
=IF(selYear="all",sum(C4:M4),sum(offset(C4:M4,,selyear-2002,1,columns(C4:M4)-selyear+2002)))This formula will sum the sales from Selected Year to 2012.
JMarc
If you are already using a helper column and the combox box runs a macro after it changes, why not just adjust the macro and filter the source data?
Regards
I gotta say, it seems like you are giving 10 answers to 10 questions when your client REALLY wants to know is: "What is the last year "this" customer row had a non-zero Sales QTY?... You're missing the forest for the trees...
Change the helper column to:
=IFERROR(INDEX(tblSales[[#Headers],[Customer name]:[Sales 2012]],0,MATCH(9.99999999999999E+307,tblSales[[#This Row],[Customer name]:[Sales 2012]],1)),"NO SALES")
And yes, since I'm matching off of them for value, I would change the headers to straight "2002" instead of "Sales 2002" but you sort the table on the helper column and then and there you can answer all of your questions.
Hi thanks for this. Just can't figure out how you get the combo box to control the pivot table. Can you please advise?
Cheers
@Kevin.. You are welcome. To insert a combo box, go to Developer ribbon > Insert > form controls > combo box.
For more on various form controls and how to use them, please read this: http://chandoo.org/wp/2011/03/30/form-controls/
Thanks Chandoo. But I know how to insert a combobox, I was more referring to how does in control the year in the pivot table? Or is this obvious? I note that if I select the Selected Year from the PivotTable Field List it says "the field has no itens" whereas this would normally allow you to change the year??
Thanks again
worked it out thanks...
when =data!Q2 changes it changes the value in column N:N and then when you do a refreshall the pivottable vlaues get updated
Still not sure why PivotTable Field List says “the field has no itens"?? I created my own pivot table and could not repeat that.
Hi, I put the sales data in range(F5:P19) and added a column D with the title 'Last sales in year'. After that, in column D for each customer, the simple formula
=2000+MATCH(1000000,E5:P5)
will provide the last year in which that particular customer had any sales, which can than easily be managed by autofilter.
Somewhat longer but perhaps a bit more solid (with the column titles in row 4):
=RIGHT(INDEX($F$4:$P$19,1,MATCH(1000000,F5:P5)),4)
[…] Finding non-performing customers using Pivot Tables […]