A set of free User Defined Functions for Microsoft Excel® to create Sparklines :
the simple, intense, word-sized graphics invented by Edward Tufte & implemented by Fabrice Rimlinger.
SfE for Office 2011 Mac and Office 2013 PC
Works reasonably well but needs some modifications (shadow is added by default and other display weird things). No Ribbon however and I also have to find a way to make a proper menu with all formulas.
I got my hands on Office 2013 x64(sleek interface ;-) I like it so far) and got SfE working there too... good news ! There is a good chance that you can create an SfE *.xls in Office 2003 (almost previous century software guys !)and still use it in Office 2013.
See SfE running running on both environments :
BeanPlot() and StepChart() in 64 bits
Download links here for the xlam add-in and here for the xltm.
BeanPlots available
Few changes except that BeanPlot() is available in the Distribution menu.
The 2nd parameter, Bins, represents the number of "slices" you want to divide the data into.
For large datasets, Bins=10 works nice. As you will play with it, you'll find out that the calculation time increases dramatically with a higher number of bins.
The list of parameters is as follow :
Mandatory Serie1 As Variant
Optional Bins As Integer
Optional ScaleStart As Variant
Optional ScaleEnd As Variant
Optional Vertical As Boolean
Optional HighlightValue As Variant
Optional ShowMedian As Boolean
Optional ColorScheme1 As Long
Optional Serie2 As Variant
Optional ColorScheme2 As Long
So far the 2 last parameters related to a second serie of data are not used.
Downloads :
Additional chart in SfE : BeanPlot()
It´s an enhanced version of Boxplot.
Boxplots gives a quick view about the structure of a univariate dataset, but remains a black box when it comes to provide clear information about the detailed distribution of this data.
The BeanPlot shows a mirrored estimated density of the distribution, specially usefull to identify multimodal distribution as shown in the picture above (1st serie of data).
This paper provides a good description of Beanplots principles : http://goo.gl/svK8F
And here is the first screenshot of SfE's Beanplot() UDF in progress.... stay tuned.
64 bits version updated
Here is the change-log :
'24/06/2010 - Corrected FunctionWizard behavior for some functions (wrong counting of letters in formula) in SpraklinesSheetActions
'30/06/2010 - Modified Boxplot so Points can be entered not only as a Range but also as an Array {1;2;3}
'24/07/2010 - Added control for negative values in BulletChart & RevBulletchart
'24/07/2010 - Corrected call for DrawTarget in BulletChart & RevBulletchart
'13/08/2010 - Added in StackedChart : If Points.Cells(i).Value = 0 Then TextLabel = ""
'13/08/2010 - Added Targets to Barchart, possibility to add target value for each bar value
'17/09/2010 - Added VerticalFlip parameter to LineChart
'14/10/2010 - Changed FontSize algorithm in Treemap, to maintain visual hierachy (does not work OK)
'21/10/2010 - Piechart : If Val(Application.Version) >= 12, in order to handle properly piecharts in XL2010 (Version = 14)
'04/01/2011 - Assign Ctrl+Alt+F5 & Ctrl+Alt+F6 to display / hide Sparklines menu
'04/01/2011 - as default in Xl2007 template file, Sparklines menu will be hidden
'05/01/2011 - Modified text size algorithm in Treemap()
'07/01/2011 - Changed scaleXY to scalexy (low caps) as it erased existing formula
'08/05/2011 - Changed Barchart Target behavior (Thicker and smaller tick)
'08/05/2011 - Changed refresh routine --> call procedure DrawCharts
'21/09/2011 - Modified Heatmat so it works w/ merged cells
'26/09/2011 - Added label, tooltip and hyperlink to Heatmap
'27/10/2011 - Created GanttChart
GanttChart() available
A new icon is included in the "Composition" group
I also uploaded a sample file so you can play with and report some bugs ... ;-)
Link to the add-in : http://www.box.net/shared/yqf4u9evib
Link to the sample file : http://www.box.net/shared/sxl6zog5k7zha0dhnhxa
Looking forward for some feedback...
Gantt Chart on its way
TaskHyperlink As String
TaskTooltip As String
TaskCompletion As Double
CompletionLabel As Boolean
Today As Date
TodayColor As String
Deadline1 As Date
Deadline1Color As String
Deadline2 As Date
Deadline2Color As String
Deadline3 As Date
Deadline3Color As String
HitDate As Date
HitSymbol As Integer
HitColor As String
World education ranking

xlsx file : http://www.box.net/shared/aqtcsqrcpq
Microsoft potential fallacy regarding Sparklines ©

What do you think ?
64 bits version available for download
As first feedbacks are rather positives, the 64bits version for Excel 2010 is available for download HERE.
I had doubts about how the Color Chooser tool is behaving (Menu "Sparklines Tools" --> "Color Chooser"), but it seems to be OK.
Keep me posted if any issue.
64 bits version testers wanted
Drop me a line if you are interested in testing the add-in, as I do not have the proper environment to do so.
The version to be tested is the last 3.9, with BumpChart() included.
Thanks in advance
Update for Excel 2007
Version 3.9.22062010 for Excel 2007 / 2010, both add-in and template file, is available for download under the coffe cup --------------->
Here is what changed since V 3.8
'11/03/2010 - Reactivated Turnmytrappingon in ThisWorkbook module
'11/03/2010 - LineChart : add Tag =8 and 9 for open or close tag
'29/04/2010 - Boxplot includes new parameter "HighlightValue" + "ShowMedian" by Art Steinmetz
'29/04/2010 - StripeChart includes new parameter "HighlightValue" + "ShowMedian" by Art Steinmetz
'06/05/2010 - Pareto if Label = 1 --> show cumulated % if label=2 --> show individual %
'06/05/2010 - Heatmap, if color code left empty, use background color of "color" cells from colorscale range
'12/05/2010 - Add ColorRange to Barchart ---> each bar can have a specific color - Based on Ramesh code
'12/05/2010 - Add possibility to use background color of cell for Barchart. Cell must be empty or non numeric
'14/05/2010 - Reviewed legend display for CascadeChart
'17/05/2010 - Added BumpChart UDF
'18/05/2010 - Corrected PieChart grouping for 0%
'03/06/2010 - Corrected HorizonChart() when values = all negative
'03/06/2010 - Corrected AreaChart() when consecutive Zeros
'17/06/2010 - Added Transparency and DiameterRatio to Piechart
'18/06/2010 - Added ColorRange to Bullet and RevBullet... Rasta colors everywhere !
I am currently working on the manual, to include all those changes... and on the Excel 2003 version.
PS : the "Template" file looks like an empty file... It just contains all the VBA code for SfE to work but does not contain examples of how to use SfE.
I you want to easily share files using SfE formulas in a corporate environment where it is forbidden to install programs on local PCs, the Template file is your solution. Use is as a New blank file, rename it keeping the .xlsm extension and share it as any other XL file.
Still moving...
'11/03/2010 - Reactivated Turnmytrappingon in ThisWorkbook module
'11/03/2010 - LineChart : add Tag =8 and 9 for open or close tag
'29/04/2010 - Boxplot includes new parameter "HighlightValue" + "ShowMedian" by Art Steinmetz
'29/04/2010 - StripeChart includes new parameter "HighlightValue" + "ShowMedian" by Art Steinmetz
'06/05/2010 - Pareto if Label = 1 --> show cumulated % if label=2 --> show individual %
'06/05/2010 - Heatmap, if color code left empty, use background color of "color" cells from colorscale range
'12/05/2010 - Add ColorRange to Barchart ---> each bar can have a specific color - based on code by Ramesh
'12/05/2010 - Add possibility to use background color of cell for Barchart. Cell must be empty or non numeric
'14/05/2010 - Reviewed legend display for CascadeChart
'17/05/2010 - Added BumpChart UDF
...
BumpChart() is coming
Bump Charts have been extensively discussed (here, here and here) and ProcessTrend.com shows very good examples of how they could be used to describe ranking evolutions over time.
This new function has the following parameters :
- InitialPositionsRange - Range of initial positions (Mandatory)
- FinalPositionsRange - Range of final positions (Mandatory)
- NameHighlight- Name you want to highlight (Optional)
- PositionHighlight - Initial position you want to highlight (Optional)
- ColorUp - Color for values which final position is higher than initial (Optional)
- ColorDown - Color for values which final position is lower than initial (Optional)
- ColorHighlight - Color for the highlighted line (Optional)
Here is the final result with default colors and only the 3 first parameters (one UDF for each couple of Start/End data) :

Columns with intermediary position can be hidden for a smoother and more compact view :

Quick update
*.xlam Excel 2007/2010 add-in
*.xla Excel 2003/2002 add-in
*.xlsm Template for Excel 2007
Only Treemap() has been changed, to solve issues related to "zero" values and very small values.
Files are available for download in the right-hand column of the blog.
Template for Excel 2007

So click on the icon to download the xlsm template file.
Display series in reverse order
This parameter is called "MirrorDisplay".
If MirrorDisplay = True or = 1, then the chart will be horizontally flipped, displaying a data serie in reverse order.

PS : Thanks Ben for the extensive feedback and debugging !
Sparklines For Excel vs. Excel 2010 Sparklines
Sparklines for Excel | Excel 2010 | |||
Types of cell charts | 14 and growing: Line, Pie, Pareto, Bullet, XY, Scatter, Bar, Column, Stripe… | Three: Line, Column, Win/Loss | ||
Overall look (sparklines) | Some blocking, not noticeable at normal zoom levels | Smoother | ||
Features on individual chart types | Excellent, whole range of markers like hi/low lines, max/min points | Limited to some basic additional data indicators, but they work well | ||
Ease of deployment | Have to distribute macros with file, some VBA crashes, mostly during creation. Win today, as no built-in option | No extra package, but Excel 2010 needed. Win in 2-3 years when 2010 is ‘standard’. | ||
Ease of use | More complex, for example looking up meaning of formula variable, color chart | Easier, native to the product, so formatting is quick | ||
Code Customization and Stability | VBA macro based (non-locked) so customization possible (and legal) | Not VBA based – more stable, but no customization | ||
Grouping | Can set max and min so that multiple charts scale the same | Adjacent charts are grouped automatically making for easy changes of formatting/scales | ||
Ease of editing | Charts are shapes created on the basis of formula in the cell | Effectively separate charts, edited with own section on ribbon | ||
Future additions | Constant addition of new chart types/upgrades to existing | Maybe some fixes, but will likely have to wait until Excel 20XX for new chart types | ||
Cost | Free, but you need Excel of course | Free, at least after you’ve paid any upgrade costs |
Alex is founder of Data Driven Consulting, an independent consulting company that focuses on obtaining high quality data to facilitate effective business decisions. Data Driven Consulting specializes in a number of areas, including market research, dashboard and data presentation, and authoring of white papers and e-content.
SfE and BeGraphic join forces.
They have just released their creative Excel add-in : BeGraphic, which allows users to control precisely all parameters of a shape : Color, border, rotation, position etc... with a single cell.
Behind this simple idea, lays endless possibilities to create dynamic diagrams and enhance dashboards, reporting documents, presentations and scorecards with innovative visual data graphics... as easy as with your old Excel charts.
BeGraphic Lite is more an drawing engine than a ready-to-use solution.
BeGraphic gives the opportunity to handle parameters of any specific picture or shape. But first users must build their custom data visualizations. Then BeGraphic is able to transform any infographics into dynamic charts / animated graphics.
In order to show some quick usages in the 'lite version', two pre-built templates are offered: gauges and choropleth maps (+ 7.000 geographical maps given only to users who ask for it and provide their professional email). But all other automatic applications will be provided with the final release of BeGraphic, probably available in summer 2010.
Summarizing, I wouldn say that BeGraphic:
- works inside Excel and PowerPoint
- doesn't need macro (only have to know the right-click or ribbon)
- needs your imagination (to build the initial graphics)
Did I mention that BeGraphic also includes an embeded "Sparklines for Excel" menu...
The free version Begraphic Lite can be downloaded here... enjoy.