I wondered if there's an option to batch edit formulas that are in same column but different rows?
Due to my misunderstanding of priorities I have to add ( ) to existing formulas. Every formula is different though, because they are in different rows.
what I've got etc
=F87+H87+J87+M87+N87*1.05+O87
=F88+H88+J88+M88+N88*1.05+O87
=F89+H89+J89+M89+N89*1.05+O87
what I'd like to achieve
=(F87+H87+J87+M87+N87)*1.05+O87
=(F88+H88+J88+M88+N88)*1.05+O87
=(F89+H89+J89+M89+N89)*1.05+O87
Thanks so much.
JP
Microsoft W10
Open Office Calc 4.1
[Solved] Batch edit of formulas in a column
[Solved] Batch edit of formulas in a column
Last edited by robleyd on Tue Oct 29, 2024 1:16 am, edited 1 time in total.
Reason: Tagged [Solved]. Add green tick
Reason: Tagged [Solved]. Add green tick
OpenOffice 4.1.3 on Windows 10
Re: Batch editing formulas
No need for batch editing. Simply edit the first formula to your needs, then use the drag handle at the bottom right of the cell to drag it down as far as needed.
Specifically your existing formula will need to be changed to
See [Tutorial] Absolute, relative and mixed references if you don't know why I've used dollar signs in the addresses.
Code: Select all
=F87+H87+J87+M87+N87*1.05+O87 Code: Select all
=(F87+H87+J87+M87+N87)*1.05+$O$87 Slackware 15 (current) 64 bit
Apache OpenOffice 4.1.16
LibreOffice 26.2.3.2; SlackBuild for 26.2.3 by Eric Hameleers
---------------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
Apache OpenOffice 4.1.16
LibreOffice 26.2.3.2; SlackBuild for 26.2.3 by Eric Hameleers
---------------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
Re: Batch editing formulas
Thank you so much robleyd
Saved me a ton of time. Just shows what a self-learned newbie I am. Thank you!!
Further to this:
How can I do this without affecting individual cell formatting ie borders, colours etc
Saved me a ton of time. Just shows what a self-learned newbie I am. Thank you!!
Further to this:
How can I do this without affecting individual cell formatting ie borders, colours etc
OpenOffice 4.1.3 on Windows 10
- MrProgrammer
- Moderator
- Posts: 5430
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: Batch edit of formulas in a column
Edit the first formula. Edit → Copy. Select the target cells (the others in that column). Edit → Paste Special → Formulas → OK.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).