Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
2-Basic Functions.doc
Скачиваний:
2
Добавлен:
01.03.2025
Размер:
5.98 Mб
Скачать

Charting: Pie charts

A step by step - and hopefully easy-to-follow - guide to creating a basic pie chart.

The table below is a good candidate for generating a pie-chart.

As before, we select Insert - Chart and the first Autoformat Chart dialog box appears. If you have not already selected the table, you can manually enter the range at this point.

Once we select the pie-chart option, we get a small preview of the finished chart in the dialog box.

For pie-charts, there are four variants for us to choose from.

The next dialog window allows us to add a title to the pie-chart.

Our first pie-chart! It still needs cleaning up - but this will be covered in a later tip.

This entry was posted on Monday, November 22nd, 2004 at 9:09 pm and is filed underCharting. You can follow any responses to this entry through the RSS 2.0 feed. You canleave a response, or trackback from your own site.

One Response to “Charting: Pie charts”

  1. Kristopher Says:  July 17th, 2007 at 5:17 pm

Did you ever post a followup with the cleanup in a subsequent tip? Specifically, I am looking to rearrange the pieces of the pie. I realize this can be done by changing the order of the data, but I was looking for another way. Essentially, the issue I have been having is that data legends overlap when several smaller pieces of the pie are positioned toward the upper right portion of the graph. If the pie could be rotated, those items would appear to the lower right where they would be readable again.

Thanks!

Basic Functions: iserr

It is useful to be able to control the appearance of error values in your spreadsheet. The example shows how to do this for string searches.

In the sample spreadsheet below - we see two ways to use theSEARCH function in a spreadsheet. If SEARCH does not produce a match, the we get #VALUE! in the cell - perhaps not acceptable from an aesthetic point of view. However, by usinf the ISERRfunction, we can filter out the #VALUE! entries - as illustrated.

This entry was posted on Wedn

Database functions: daverage

In a prior example we saw how data filtering could be used to reduce the size of the data set before doing analysis.

The database functions perform basic data analysis - but they also have advanced data filtering built in.

The DAVERAGE function returns the average of the values in a database column satisfying a specified condition.

With the database functions - such as DAVERAGE, the criteria are defined in the spreadsheet. This is illustrated below in cells D13:E14. The criteria matrix normally has the same colums and headers as the main database table. Each row of the criteria matrix corresponds to a conditon to be applied to the database when filtering. Criteria in the same row are ANDed, while criteria in different rows are ORed

In the example below, we have configured the criteria to average rows whose age is <25 AND whose salaries are less than $50,000. These criteria are both selected in the formula of B20. For the other example formulas, we select either the age or the salary condition, but not both.

In B18, we are averaging the filtered ages, but the other example formulas are averaging the salary.

This entry was posted on Monday, Novembe