[Solved] Copy cells with formula referencing a fixed cell

Discuss the spreadsheet application
Post Reply
GarethG
Posts: 2
Joined: Tue May 30, 2023 5:42 pm

[Solved] Copy cells with formula referencing a fixed cell

Post by GarethG »

I am a newbie to the forum so this may seem a very basic question. I tried to find the answer in other posts but no success. Basically I want to use a formula for a simple calculation which refers to a cell with a base rate. EG
Cell A1 has a base rate of 10
Cell A5 has a value entered of 2
Cell B5 has a formula =A5*A1 to give the result of 20
Then I want to copy the formula down the column so it picks up whatever is entered in column 1 and multiplies by A1 for each row. When I copy it it moves the reference and I have manually set the formula to A1 for each one.
Help would be appreciated. Thanks
Last edited by Hagar Delest on Wed May 31, 2023 4:12 pm, edited 1 time in total.
OpenOffice 4.1.11 on Windows 7 Pro
FJCC
Moderator
Posts: 9278
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Copying Cells - with formula referencing one cell value

Post by FJCC »

In B5 use the formula

Code: Select all

= A5 * $A$1
Using the $ symbols in the reference to A1 makes it an absolute reference that will not adjust as you copy the formula.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
User avatar
robleyd
Moderator
Posts: 5086
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Copying Cells - with formula referencing one cell value

Post by robleyd »

Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
GarethG
Posts: 2
Joined: Tue May 30, 2023 5:42 pm

Re: Copying Cells - with formula referencing one cell value

Post by GarethG »

Thanks for the replies - now all working well.
OpenOffice 4.1.11 on Windows 7 Pro
Post Reply