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

Calc • Re: Fill function with numbers in brackets

$
0
0
Instead of incrementing, the number repeats.
The Autofill feature can increment trailing numbers. However your numbers are in the middle, followed by the ] character. You can use Edit → Find & Replace to remove the ], fill down, then add the ] back. Depending on the content of other cells on the spreadsheet you may need to use More options → Current selection only for these operations. Use a regular expression to add the ] back, activating Find & Replace → More options → Regular expressions and typing .+ in the search field and &] in the replace field.

If you need any additional assistance attach a spreadsheet demonstrating the difficulty (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 document.

… but it doesn't work.
The fill tool is working properly. It just doesn't do what you want.

From a javascript I'm working on …
Another idea: Use Javascript to create the thousand entries with sequential numbers and paste that into Calc.

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.

Statistics: Posted by MrProgrammer — Thu Dec 26, 2024 5:49 pm



Viewing all articles
Browse latest Browse all 1281

Trending Articles