"Constants" in a spreadsheet

Discuss the spreadsheet application
Post Reply
j4nd3r53n
Posts: 14
Joined: Mon Nov 25, 2013 10:50 pm

"Constants" in a spreadsheet

Post by j4nd3r53n »

Sometimes I need to divide/multiply a column of numbers with the same value, which in turn is calculated from numbers in other cells. It would be handy if I could first calculate that value somewhere in the sheet, and then reference it in a column - however, if I just reference the calculated cell in the first cell of the column of my calculations, then copy the it to the next cells, the reference "moves", as designed - see the attached, simple example.

Is there a way to avoid that? I think it must be something that many would find useful.
Attachments
ex1.ods
Simple example
(8.85 KiB) Downloaded 76 times
OpenOffice 3.1.0 on Debian 7
User avatar
RoryOF
Moderator
Posts: 34618
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: "Constants" in a spreadsheet

Post by RoryOF »

You might find [Tutorial] Absolute, relative and mixed references a useful resource.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
FJCC
Moderator
Posts: 9277
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: "Constants" in a spreadsheet

Post by FJCC »

In this specific case, make the formula in B4

Code: Select all

=A4*$G$2
and then copy it down.
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.
Post Reply