OpenOffice Calc: Copy Formulae

Scenario:

I have a document with some VLookup() calls in it, which refer to an external file.

I want to copy this sheet into a different document.

Problem:

If I copy / paste or Copy Sheet, the formulae break (unable to locate the external file, giving REF? errors).

Solution comes courtesy of http://www.openofficetips.com/blog/archives/2005/01/copying_formula.html

Find & Replace

(Search in formulae)

Replace = with #.

This changes forumlae into harmless text strings.

Copy/paste the cells containing these text strings.

Search / Replace # back to =.

The text strings revert back to real formulae again.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s