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


At 14:16 18/04/2013 +0300, Raz Noname wrote:
Can't figure out how to create a list of: 1,1,1,1,1,2,2,2,2,2...
the drag-down menu makes the list as follows:
1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3

o Type "1" into your first five cells.
o In the sixth cell, type "=", click on the first cell (top of the list), type "+1", and press Enter.
o Now fill just that sixth cell down the remaining range.

Alternatively you could use a formula based on the row number. If your range starts in row 1,
=INT((ROW()-1)/5)+1
would work.  You would have to modify this if your range starts in a later row.

You will now have the results you desire, but some will be as formulae, not as numbers. If you wish to have numbers instead, copy the range and paste it back over itself - but using Edit | Paste Special... (or right-click | Paste Special... or Ctrl+Shift+V) instead of ordinary Paste. In the Paste Special dialogue, remove the tick from "Paste all" if necessary, and ensure that Numbers is ticked but Formulas is not ticked.

I trust this helps.

Brian Barker


--
For unsubscribe instructions e-mail to: users+help@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.