Sparkline or Microchart is a tiny little chart that you can place on dashboards, reports or presentations to provide rich visualization without loosing much space. In excel 2010, MS introduced a beautiful feature for creating sparklines from data in spreadsheets. For earlier versions of Excel (that is 2007 and before) there is no native support for sparkline visualizations. Thankfully, there are several good add-ins and open source projects (Fabrice’s fantastic Sparklines for Excel is one) to create small charts in Excel 2007 and earlier.
[Related: 7 ways to create micro-charts in Excel]
But almost all the ways of creating sparklines in Excel involve either installing an add-in or running a macro or violently formatting a regular line chart. While these methods work fine for a seasoned sparkline maker, what about you and me, who need a sparkline once in a while?
That is why I created an Excel Sparkline Template. Using this template is as simple as eating a donut. You just enter the data and sparkline will be automatically generated. No macros, no add-ins. Just copy the sparkline(s) and paste them as images wherever you want. And you are good to go.
Download the Excel Sparkline Template:
Click here to download the Excel 2007 version of sparkline template [mirror]
Click here to download the Excel 2003 version of sparkline template [mirror]
How this sparkline template works?
- The file is capable of generating 10 sparklines, 10 sparklines with high, low points highlighted and 10 win-loss charts.
- Each sparkline can contain up to 40 data points. The charts are dynamic, so as you enter more data or remove data points, the chart gets adjusted automatically (related: Automatically change charts when source data grows / shrinks using OFFSET and Named Ranges).
- The charts are standard line charts and column charts re-sized to look like sparklines. All the formatting (like grid lines, labels, axis, title, backgrounds etc.) is removed and only the line / columns are retained.
Do you like this sparkline chart template?
I hope you like this sparkline template. Do tell me how you are planning to use this template. If you use a commercial or free add-in to get sparklines, share your experience using comments.














3 Responses to “Filter one table if the value is in another table (Formula Trick)”
What about the opposite? I want a list of products without sales or customers with no orders. So I would exclude the ones that are on the other table.
Good question. You can check for the =0 as countifs result. for example,
=FILTER(orders, COUNTIFS(products, orders[Product])=0)
should work in this case.
PS: I have added this example to the article now.
Hi there!
Could i check if there was a way to return certain fields of the table only?
so based off your example above, i would like to continue to use the 'Products" table as a way to filter out items from my "Orders" table, but only want to show maybe only the "Product" and "Order Value" fields, rather than all 5 fields (sales person, customer, product, date, order value).