Excel: Charting with Formulas

August 14th, 2006

I picked this tip up from a coworker, who found it at Lifehacker.com.

This allows you to create in-cell bar or point charts using a simple formula instead of Excel's normal chart features. In my mind, the problem with Excel's charts is that they do not integrate well with the worksheet. In most cases I have a large data table and I am giving the user the option to chart a couple of datasets from the larger table. I want the entire table displayed, and the chart displayed so that the columns in the bar chart align perfectly with the data in the table. So you end up spending too much time getting the chart aligned, only to have it derail as soon as you change something in the chart.

* WPG2 Plugin Not Validated *

Using the REPT formula solves this. REPT just repeats a character a given number of times. Using a font like Webdings you can thus create bar charts, or simple point charts. Using Conditional Formatting allows you to color the bars based on the underlying value.

Click here to open the example Excel file.

1 Comment Add your own

  • 1. afonit  |  August 14th, 2006 at 5:52 pm

    yes, saw that the other day, quite handy.

Leave a Comment

*
Please enter the letters from the displayed image
Anti-Spam Image

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Other Posts in This Category

Calendar

February 2012
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
272829