We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

Is there any function that can number table-rows in Writer? [closed]

asked 2012-05-17 10:55:58 +0200

raev gravatar image

I have a Writer-document consisting of many pages of tables. To make it easier to reference to this document, I want to have a column that numbers each row (1, 2, 3... 499, 500). Is there any function that does this easy, like the function that can "auto-fill" rows and columns in Calc?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-03-02 12:52:55.309890

6 Answers

Sort by » oldest newest most voted

answered 2012-05-17 14:02:00 +0200

m.a.riosv gravatar image

updated 2012-05-17 14:09:19 +0200

In the cell of first row: 1

In the cell of second row: push [F2] introduce: =< A1 > + 1

Select the above cell and copy down. (select the cell not the content).

edit flag offensive delete link more


This is easy and efficient! Thanks! Though it's actually a little tricky to copy the the cell instead of the content.

raev gravatar imageraev ( 2012-05-17 15:36:58 +0200 )edit

How does one select the cell in a table in Writer? I can only select _two_ cells by carefully dragging the mouse across them. Furthermore, after selecting (two) cells, how does one "copy down"?

dotancohen gravatar imagedotancohen ( 2014-03-17 10:52:19 +0200 )edit

While clicking in the cell, go one cell down and one up (or Menu/Table/Select/cells), once the cell is selected, to copy down Crl+Click in the cell and drag down (or Copy and Paste).

m.a.riosv gravatar imagem.a.riosv ( 2014-03-17 16:23:04 +0200 )edit

To select the cell I clicked it, then Shift+Arrow-UP|DOWN . in a Mac keyboard, Linux+KDE OS.

nicola.di.bergantino gravatar imagenicola.di.bergantino ( 2021-03-12 09:00:14 +0200 )edit

answered 2014-08-19 19:12:59 +0200

xliiv gravatar image

updated 2014-08-19 19:14:47 +0200

I think the simplest way is this:

image description

OS: linux (kubuntu 14.04)


edit flag offensive delete link more


@xliiv - Great idea!!! Works also with XP and LibO Formattting might a bit tricky. I simply created a new style for table row numbering

ROSt52 gravatar imageROSt52 ( 2014-09-04 05:50:11 +0200 )edit

answered 2012-05-17 13:55:17 +0200

luyu gravatar image

Replace existing Writer table with Calc spreadsheet OLE object editable directly from Writer. Here's how to do it.

  1. select the whole table and copy it (Ctrl-C, right-click → Copy...)
  2. position the cursor below your table and select from menu Insert → Object → OLE Object → Create new → LibreOffice 3.x Spreadsheet
  3. select cell A1 and paste (Ctrl-V, right-click → Paste...)
  4. now you've got spreadsheet just like in Calc but within Writer, that you can edit later by double-clicking it and you can also use known method for auto-filling rows you asked
  5. you can now delete your original table and use newly created spreadsheet
edit flag offensive delete link more

answered 2012-08-10 22:49:40 +0200

Easy Make your Table, Choose the row you want numbered. Select that entire row (highlight it) Got to the tool bar at the top and choose Format -> Bullets and Numbering. Play around with that, it works Perfectly! Awesome

edit flag offensive delete link more


Thank you! I don't yet have the 5 points need to upvote, but when I get them I'll come back and upvote.

dotancohen gravatar imagedotancohen ( 2014-03-17 10:55:36 +0200 )edit

answered 2015-09-21 22:45:07 +0200

mkyadava gravatar image

It basically amounts to writing a formula and copying it down all the cells. You can easily do that. Pl visit the link given here:


edit flag offensive delete link more

answered 2012-05-18 06:58:31 +0200

vojo gravatar image

first answer does not work....formulas in tables are fixed references...moreover, you need to copy the actual forumula....copying the cell copies the contents but not the forumula

I ran into this same desire/problem yesterday (3.5.2 on XP). ended up having to manually copy formula and edit the formula to pick up the right cell references.

Better off to use calc and copy and paste...though formatting brings new challenges.

edit flag offensive delete link more


per Raev's comment....that does NOT work for me on 3.5.2, Copying the cell works fine but the formula in the new cell is the old formula....so if done 100 times, then 100 cells all with the same exact formula (<A1>+1) so all the same.....not the desired <A2>+1...<A3>+1....etc

vojo gravatar imagevojo ( 2012-05-21 05:34:27 +0200 )edit

Question Tools

1 follower


Asked: 2012-05-17 10:55:58 +0200

Seen: 15,103 times

Last updated: Aug 19 '14