[Solved] Copying formulae from cells

Discuss the spreadsheet application
Post Reply
kieranoh
Posts: 39
Joined: Wed Sep 04, 2013 4:41 pm

[Solved] Copying formulae from cells

Post by kieranoh »

Hello,

I have a spreadsheet that has lots of columns of totals that include calcs such as the followings:

=SUMPRODUCT(I6:I5834=O15;E6:E5834=1)

Cell O15 is a Heading and below, from O16 to O50, I have more headings.

If I do a standard copy and paste of the above onto line 16, I get this:

=SUMPRODUCT(I7:I5835=O16;E7:E5835=1)

So, it has moved O15 onto O16, which is great BUT it also incremented the I and E cells, which I do not want.

I can obviosuly manullay update the cells, but there are lots of them!

So, the question is:
Is there a way that I can copy =SUMPRODUCT(I6:I5834=O15;E6:E5834=1) and for it to become =SUMPRODUCT(I6:I5834=O16;E6:E5834=1)

Thanks for any help.

Kieran
Last edited by Hagar Delest on Wed Oct 17, 2018 11:58 pm, edited 1 time in total.
Reason: tagged solved
openoffice 4.0 on windows 10
User avatar
robleyd
Moderator
Posts: 5087
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Copying formulae from cells.

Post by robleyd »

Use absolute or mixed references where needed. See [Tutorial] Absolute, relative and mixed references
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
kieranoh
Posts: 39
Joined: Wed Sep 04, 2013 4:41 pm

Re: Copying formulae from cells.

Post by kieranoh »

Excellent. Thanks!

Kieran
openoffice 4.0 on windows 10
Post Reply