Ask Your Question
0

Generate list of consecutive numbers in Writer? [closed]

asked 2019-08-13 06:30:08 +0200

appreciatethehelp gravatar image

updated 2019-08-13 06:31:40 +0200

OSX Mojave 10.14, Writer 6.2.5.2.

Hi everyone, I have a table in writer containing numerous rows and I want to fill each row consecutively with numbers i.e. let's say the table contains 100 rows, I want the numbers 1-100 listed consecutively, 1 per row, from top to bottom for the entire table. How do I get Libreoffice to generate these numbers for me?

Thanks.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by appreciatethehelp
close date 2019-08-13 15:52:10.140617

2 Answers

Sort by » oldest newest most voted
1

answered 2019-08-13 07:52:31 +0200

ajlittoz gravatar image

Define a paragraph style for a list, say Numbering 1 which you'll associate with list style Numbering 1.

Select the (empty) column in which you want the numbers; apply paragraph style Numbering 1. You're done.

By default, numbers in Numbering 1 are followed by a dot. If you don't like this layout, customise list style Numbering 1.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

edit flag offensive delete link more

Comments

Also note that you may want to remove tabs/spaces automatically inserted after the list numbers - which may interfere when you set column widths by content, or when you right/center-align them.

Mike Kaganski gravatar imageMike Kaganski ( 2019-08-13 08:35:42 +0200 )edit
1

answered 2019-08-13 08:42:45 +0200

updated 2019-08-13 08:45:56 +0200

Alternative is using formulas: putting 1 into table's A1; in A2, press F2 and enter =<A1>+1 (actually, simply starting a writer table's cell with = automatically puts it into formula mode). Then you may select the whole cell (not the text in it!) and Ctrl+C, then select the whole rest of column and Ctrl+V.

The drawback (compared to using numbering as suggested by @ajlittoz) is that the formula isn't copied automatically into newly inserted rows. OTOH, more flexibility in calculations is possible.

Possibly the main goal of this answer is to familiarize with the concept of calculations in Writer (and its tables).

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-08-13 06:30:08 +0200

Seen: 31 times

Last updated: Aug 13