Archive for March, 2005

Combining data in cells

Wednesday, March 30th, 2005

A few examples showing how data from multiple cells can be combined - as well
as how data can be combined with text and with extra formatting. A useful
function is the TEXT()( function. We will look at some examples.

(more…)

Rounding functions I

Monday, March 28th, 2005

There are almost a dozen available rounding functions available in OOo Calc. We will first look at ROUND(), ROUNDUP() and ROUNDDOWN()
(more…)

Easter formula

Wednesday, March 23rd, 2005

Scanning the Excel boards for a formula for Easter that is easily ported to Openoffice Calc.

=FLOOR(”5/” & DAY(MINUTE(B5 / 38) / 2 + 56) & “/” & B5; 7) - 34 + 1

where B5 is the year we wish to find the date on which Easter (Sunday) falls.

This generates American date format MM/DD/YYYY and I believe it is valid to 2075 - which is long enough for me!

easter.jpg

Data Consolidation 101

Tuesday, March 22nd, 2005

An introduction to the data consolidation functionality that is built in to OOo Calc. This is a useful feature when merging similar data from different souces.
(more…)

Basic Functions: FREQUENCY

Thursday, March 17th, 2005

The following tips will show how the FREQUENCY function can be used in conjunction with the charting capabilities of OpenOffice Calc to create frequency plots of data.

(more…)

Conditional Formatting III

Tuesday, March 15th, 2005

We continue our look at the application of conditional formatting in OOo Calc. Here, we wish to apply alternate coloring to even and odd rows. Prior to invoking the conditional formatting dialog, we select all cells in the sheet. This was covered in an earlier tip

The trick here is using the mod function to identify odd rows to which we apply the custom format.

cformat3_1.jpg

The result after the conditional formatting is applied to the entire sheet.

cformat3_2.jpg

Here is a Flash animation showing how to do this ….

See also:
Conditional Formatting II

Conditional Formatting I

Selecting an entire sheet

Conditional Formatting II

Monday, March 14th, 2005

To illustrate the application of conditional formatting, we consider the need to highlight dates in a spreadsheet that are fast approaching or are already past.

The original spreadsheet without highlighting.

cformat2_1.jpg

Before we apply conditional, we define any custom cell formats we may need. In this case, we have cells highlighted orange and cells highlighted yellow. We open the conditional formatting dialog and evaluate two conditions. The order is important here. In the conditional formatting dialog, once a cell evaluates TRUE, it will not be evaluated again. With that in mind, we first evaluate if a date is past due. We then evaluate if a date is fast approaching.

cformat2_2.jpg

The modified spreadsheet with conditional formatting applied. Using this technique, the spreadsheet has become more readable and any key dates or deadlines can be more readily identified.

cformat2_3.jpg

Conditional Formatting I

Sunday, March 13th, 2005

Conditional formatting is a mechanism that allows the user to apply formatting to
a cell or range of cells based on defined conditions. If the rules (conditions) are met, then the specified formatting is applied.
In OOo Calc, you can apply up to 3 rules in a cell or range of cells.

(more…)

Largest values in an array

Wednesday, March 9th, 2005

An array formula I came across that lists the largest N values of an array.

In the example below, D1:D5 contains the five largest values from A1:A13

largevals.jpg

Advanced Functions: INDIRECT

Tuesday, March 8th, 2005

The INDIRECT function converts a string into a cell reference. With examples, I will show how useful this can be in certain applications.

(more…)