[Solved] How do I copy cell value only, not formulae ...

Discuss the spreadsheet application
Post Reply
alang
Posts: 3
Joined: Wed Oct 08, 2014 4:38 pm

[Solved] How do I copy cell value only, not formulae ...

Post by alang »

I've searched for an answer to this but cannot find it - sorry if this is old territory (I'm new to the forum).

I have a large spreadsheet (in Lotus 123 as it happens) that I want to move to a more modern machine (the program is 16bit and it is a struggle to get this to work post XP) I'd also like to migrate to Open SUSE if I can crack the issue I'm having.

The sheet is broken down into hundreds of individual ledgers of multiple rows that have a standard format, each "ledger" has multiple columns that have a summation formula for each column in the last row of each "ledger" and this last row is tagged with a simple string "Total" (unsuprisingly !). In Lotus I can run a pseudo sql command that is built into Lotus to find all these rows that begin "Total" and copy the results elsewhere in the sheet (I can then copy these out and manipulate, ru nreports etc). The important thing is that I get the actual calculated totals (i.e. the cell VALUES) as they are displayed.

I've tried to recreate this in Calc using filters and the "copy to" option. No matter what I try I get an actual copy of the row (i.e the embedded formula for totalling the columns) and not the data (VALUE) ?

Am I missing something blindingly obvious ?

Thanks for any help you can give.
Last edited by alang on Thu Oct 09, 2014 9:44 am, edited 1 time in total.
OpenOffice 4.1.1
Windows 7 Pro SP1
User avatar
Villeroy
Volunteer
Posts: 31365
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How do I copy cell value only, not formulae using filter

Post by Villeroy »

Edit>Paste-Special (Insert Key)... text, dates, values.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
alang
Posts: 3
Joined: Wed Oct 08, 2014 4:38 pm

Re: How do I copy cell value only, not formulae using filter

Post by alang »

Thanks for taking the time to answer but .........

Paste (special) is fine and works if I manually copy/cut & paste however I'm running a filter over the whole sheet and selecting the "copy to" feature of the filter. What I need to be able to do is apply the features of the paste special to the copy and I don't know how to do that ?

Cheers.
OpenOffice 4.1.1
Windows 7 Pro SP1
User avatar
Villeroy
Volunteer
Posts: 31365
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How do I copy cell value only, not formulae using filter

Post by Villeroy »

Sorry, but you've got to filter in place and then copy&paste-special the filtered rows to some other place. Anything more simple would require a database (which may be based on your spreadsheet though).
It could be worth an enhancement request that filter-to-other-place should copy values without formulas because this is what everybody wants when he misuses a spreadsheet as a database
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
alang
Posts: 3
Joined: Wed Oct 08, 2014 4:38 pm

Re: How do I copy cell value only, not formulae using filter

Post by alang »

Thanks for the speedy reply.

OK, I understand what you are saying and this does work although a little clunky - maybe I could record a macro to do all the various manual steps. Something else to learn in Calc :)

Yes, I agree that the use is mixing up databases and spreadsheets but that is just a function (in this case) of the tool (lotus123) that was available back in 1994, how the spreadsheet was "designed" and how it evolved to match the tool/features available and has worked happily ever since.

I cannot see it would do any harm to add another tick box to the filter dialogs to provide this feature - it seems like the infrastructure is probably already there so it may be an easy addition and in my experience this form of a filter has been very useful (despite it mixing metaphores - database/spreadsheet).

How to ask for a modification - ah, there is another question ......

Kind regards.
OpenOffice 4.1.1
Windows 7 Pro SP1
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: How do I copy cell value only, not formulae using filter

Post by RusselB »

OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
User avatar
Villeroy
Volunteer
Posts: 31365
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How do I copy cell value only, not formulae using filter

Post by Villeroy »

A recorded macro may do this. I would always prefer to do this single extra step which takes less then a second (Ctrl+V, Insert, Enter).
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply