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


At 16:54 05/07/2014 -0400, Pikov Andropov wrote:
Brian Barker has written on 7/4/2014 8:11 PM:
What you are doing is really just shuffling your six names.

Well, actually, it's not. :-) I want to create a list of pairs from a subset of the names in column A.

It is: the list of pairs is simply a shuffling of the original set presented as a half-length sequence of pairs instead of a single list. It would help you see what need to be done if you can recognise that.

In column C, enter =RAND() and fill it down the relevant part of the column.

I get a bunch of numbers < 1.

Well done: that's the idea.

Go to Data | Sort... and sort by column C.

That sorts the names in B. But that doesn't give me pairs.

Again, that is the main part of the process: you have shuffled the values, but they are in vertical pairs, not yet horizontal ones.

If you actually need the values in pairs as you have described, you can use something like
=INDIRECT("B"&ROW()*2-1)&", "&INDIRECT("B"&ROW()*2)
in another column.

In addition to what I already have in B and C?

Er, yes. You keep insisting you want the horizontal pairs - and this part just rearranges your shuffled list into the pairs you want. That's all.

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.