Thermometer-style graphs made easy


Most people are familiar with "thermometer"-style graphs, which show the percentage of a project completed. It's easy to make such a display in Excel. The key is to create a chart that uses a single cell (containing a percentage value) as a data series.

Caption: Use Excel to create "thermometer" style graphics,
which show the percentage of a project completed

The illustration shows a worksheet set up to track daily progress toward a goal: 1000 new customers in a 15-day period. Cell B18 contains the goal value. Cell B19 contains a simple sum formula, =SUM(B2:B16) and cell B21 contains =B19/B18, a formula for calculating the percentage of the goal attained. As new data is entered in column B, the formulas display the current results.

To create the chart, enter the formulas listed above, along with the figure's sample data; then select cell B21 and click the Chart Wizard button. Notice the blank row preceding cell B21. If you fail to include this blank row, Excel will use the entire data block ù not just the single cell ù to construct the chart. Since B21 is isolated from the other data, the Chart Wizard uses only the single cell. In step 1 of the Chart Wizard dialogue, specify a Column chart and a Clustered Column subtype (the first choice). Click Next twice and then in step 2 make additional adjustments: add a Chart Title (Title tab), dump the Category (x) axis (Axes tab), delete the legend (Legend tab) and specify Show value (Data Labels tab). Click Finish to view the chart.

The chart needs further customisation. To display the Format Data Series dialogue, double-click the column. Click the Options tab and set the Gap width to 0 (this setting instructs the column to occupy the entire width of the plot area). To change the pattern used in the column, click the Patterns tab and make your selection. The example shown here uses a gradient fill effect. Next, double-click the vertical axis to bring up the Format Axis dialogue. In the Scale tab of the Format Axis dialogue, set Minimum to 0 and Maximum to 1.

- John Walkenbach


Category: spreadsheet
Issue: June 1999

These Web pages are produced by Australian PC World © 1999 IDG Communications