When I want to multiply a field I can say =J9*K9.

But what if I want this over a selection of rows? I've selected Line 6-25 and for all I want to say =J{THIS_LINE_NUMBER}*K{THIS_LINE_NUMBER}*.

How do I say {THIS_LINE_NUMBER}?

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

Like most spreadsheets, Openoffice will handle this for you if you cut and paste the fomula, or select the region and use "Fill Down". If you have cell e.g. M9 containing =J9*K9, and you paste that into cell M10, it will automatically change that to =J10*K10.

Likewise for horizontal movement.

If you don't want it to do that, you have to put a $ in the relevant place: =$J9 * K$9 will always use column J for the first argument and row 9 for the second argument.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.