Quantcast
Channel: Apache OpenOffice Community Forum
Viewing all articles
Browse latest Browse all 1291

Calc • Re: Auto number only specific selected cells

$
0
0
I would like to consecutively number the cells, but not all of them—only those that head a certain number of rows.
If the intent is to begin the numbering for a new group of cells with the number one greater than the last number of the previous group, use karolus' idea but formula =1+MAX(A$1:INDIRECT("R[-1]C";0)). You could record a macro to put that formula in the cells and assign a function key to the macro. If you are a beginner it may be easiest to just use copy/paste for now.

However, this number of rows is not always the same, so neither a formula nor selecting multiple cells and dragging down will work for me.
If the rows to be numbered contain a pattern of data which identifies them, you could use a formula to number the cells in all your rows which will automatically skip over the cells which should not receive numbers. This type of formula can be filled down to future rows. If you need assistance with that idea, attach a spreadsheet demonstrating the situation (remove confidential information then use Post Reply, not Quick Reply, and don't attach a picture instead of the spreadsheet itself). I will not help further unless you attach a spreadsheet. Explain in English what pattern of your data can be used to identify the rows that you want numbered.

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.

[Tutorial] Ten concepts that every Calc user should know

Statistics: Posted by MrProgrammer — Thu Jun 13, 2024 4:24 pm



Viewing all articles
Browse latest Browse all 1291

Trending Articles