« Dropdown lists in OpenOffice.org Calc | Main | Important Note on OpenOffice Writer Styles »

July 19, 2007

Useful OpenOffice Calc Formulas and Related Tricks

First of all: if you want some great tips on using OpenOffice.org formulas, go to www.openofficetips.com or http://www.richhillsoftware.com/  (same site).

But here are some that I think are useful: formulas, related items, and calculations built into Edit > Paste Special.

FORMULA -- you can display the formula for any cell.   

=FORMULA(B6) shows you the formula from B6. 

To display formulas by other means, choose Tools > Options > OpenOffice.org Calc > View, and under the Display area, choose Formulas.
Showformulas

To copy and paste only cells that contain  formulas, copy, then choose Edit > Paste Special. Select only Formulas and click OK.

Pasteformulas

Paste Special, using the Operations section.

You can add, subtract, multiply, or divide values of one set of cells with another.

Here's an example of adding.
- You have two sets of cells.
Add1
- Copy a set of cells.
Add2

- Select the other set of cells and choose Paste Special.
Add3
- In the window that appears, choose All in the left column, then under Operations choose Add.
Add4
- Click OK.
- The cells you copied are added to the cells you pasted.
Add5

Here's what before and after for division look like. The second set of numbers, that you paste onto, are divided by the ones you copied.

Copy one set
Copy1

The second set is divided by the first set
Copy2

ISBLANK returns TRUE if a cell is blank.

This isn't as flashy, but ISBLANK(cellreference) or ISBLANK(cellrange) can be used for error checking or just seeing if you've got blanks where you shouldn't. For a cell range, it would be something like =ISBLANK(A5:A55).

INFO is a slightly obscure but perhaps useful formula.

Here are the possible values. Click the F(x) icon on the main toolbar, double-click the INFO formula and you'll see this window.
Osversionwindow

Here are some example values.
Info

Release

 


Traininglogo




TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341cdb1753ef00e008d73ded8834

Listed below are links to weblogs that reference Useful OpenOffice Calc Formulas and Related Tricks:

Comments

Interesting, althought I just went on my Linux OOo and did the INFO("osversion") and got Windows NT..

I wonder if this is defaulted on the compilation source or is just a bug.

Thanks for the recommendation. :)

Keep up the good work with your own site. You're an inspiration to the rest of us!

Hi All,

I am working on Openoffice.org - Calc. Can anybody help me to covert amount
in
numbers into Words for example : Rupees 4,00,00,000.50 to Rupees Four crores
& Paise fifty only? I need to print amount
amount in numbers and in words both in a customized report.
Shall remain ever greatfull to ur goodselves for rendring the help
Lot of thanks in Advance
Thanx & Regards
H Srinivas

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment