In OOo Calc I have two cells B1 and B2 where I enter various integers and a column (column A) with fixed values.
If the numbers entered into the two cells are, for example, 4 in cell B1 and 10 in cell B2 their product, 4*10, will be 40. I wish to display the value of the cell A(40), that is A(B1*B2), in cell B3
Is there a function or combination of functions that will achieve this or must I go to a macro (which I have not attemted as yet).
[Solved] Value of a cell
[Solved] Value of a cell
Last edited by grahamn on Mon Jul 17, 2017 5:29 am, edited 1 time in total.
OpenOffice 4.1.0 on windows 7
Re: value of a cell
Code: Select all
=INDIRECT("A"&(B1*B2))
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: value of a cell
=INDIRECT("A"&(B1*B2)) [interprete concatenated text as a reference]
=OFFSET(A1;B1*B2-1) [from reference A1, n rows downwards]
=INDEX(A1:A100000;B1*B2) [nth row within reference A1:A100000]
=OFFSET(A1;B1*B2-1) [from reference A1, n rows downwards]
=INDEX(A1:A100000;B1*B2) [nth row within reference A1:A100000]
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: [Solved] Value of a cell
if the offset is a vertical onegrahamn wrote:Thank you both. INDIRECT was easiest.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: [Solved] Value of a cell
OtherwiseVilleroy wrote:if the offset is a vertical one
Code: Select all
=INDIRECT(ADDRESS(RowNumber, ColumnNumber))
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
---
Lupp from München