Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


At 19:06 04/11/2013 +0100, Gordom Noname wrote:
On Mon, 2013-11-04 at 18:30 +0100, Gordom Noname wrote:
I have a Calc document consisting of dozens of sheets. Each sheet has several rows (the number varies) and 4 columns of text strings. Now I need to combine all these text into one single sheet. Every next sheet (group of records) must be added below the previous one. Not only that, but I have to add an extra column with the reference to the name of the sheet that each record (text string) originally comes from. How can I achieve that?

It seems I didn't express myself clearly enough. What I want to achieve is one single sheet consisting of all text strings (that are originally located in different sheets) together with the name of the sheet where each string was originally located.

I think you are expecting to get Calc somehow to look through whatever sheets there are and discover their names - without your having to quote these in your single sheet. I don't know that this is possible. Here's a suggestion:

o List the other sheet names on your single sheet.
o Now you can construct references to each other sheet using this list of names. Once you have concatenated whatever other details you need to each sheet name, you will almost certainly need to use the INDIRECT() function to convert the resulting string to a reference to the remote sheet. o There are two ways forward from that. Either use appropriate formulae - possibly including something such as VLOOKUP() - to retrieve and copy the data from the other sheets to the single one, or else simply construct your calculations on that single sheet differently, referring directly to the data on the other sheets without copying it. (The second method may well be more reliable.)

Depending on whether you anticipate adding more sheets later, it may even be quicker just to copy all your material to a single sheet manually, of course.

I trust this helps.

Brian Barker



--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.