RSS
Follow us on:
  • Recommend:
  • 0 Comments

Spreadsheet Tips

Use a single cell to create thermometer-style graphs; really hide an entire Excel worksheet; a formula to let you count the days.

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.

My example worksheet tracks 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 dialog, 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 customization. To display the Format Data Series dialog, 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 dialog. In the Scale tab of the Format Axis dialog, set Minimum to 0 and Maximum to 1.

Would you recommend this story? YES NO

  • Recommend:
  • 0 Comments

Subscribe to the Daily Technology News Newsletter - 7 days a week

See All Newsletters »
Lenovo Laptop Deals

Subscribe to the Daily Technology News Newsletter - 7 days a week

See All Newsletters »
Today's Special Offers