hello i am currently trying to transpose groups of cells to another worksheet. Example here : http://stackoverflow.com/questions/1728 ... ffice-calc . how do i achieve this?how can i delimit groups of cells?
Thank you for your patience.
[Solved] Transposing GROUPS of cells
[Solved] Transposing GROUPS of cells
Last edited by meldor on Wed Jun 26, 2013 1:49 pm, edited 1 time in total.
OpenOffice 3.3 on Windows 7
-
- Volunteer
- Posts: 918
- Joined: Sun May 31, 2009 1:35 am
- Location: Sydney, Australia
Re: Transposing GROUPS of cells
Maybe the INDEX function with row parameter determined by the MOD function and column parameter determined by the INT function...
Ken Johnson
Code: Select all
=IF(INDEX($Sheet1.$A$1:$AMJ$65536;MOD(ROW(A1)-ROW(A$1);5)+1;INT((ROW(A1)-ROW(A$1))/5)*3+COLUMN(A1)-COLUMN($A1)+1)="";"";INDEX($Sheet1.$A$1:$AMJ$65536;MOD(ROW(A1)-ROW(A$1);5)+1;INT((ROW(A1)-ROW(A$1))/5)*3+COLUMN(A1)-COLUMN($A1)+1))
AOO 4.1.3 on Ms Windows 10
Help improve this forum by clicking the EDIT button on your first post then adding "[Solved]" to its heading once a solution to your problem has been provided.
Help improve this forum by clicking the EDIT button on your first post then adding "[Solved]" to its heading once a solution to your problem has been provided.
Re: Transposing GROUPS of cells
Thanks it seems to work just fine... One more thing: assuming all rows for each clump are non-void how could i do this for variable rows?
OpenOffice 3.3 on Windows 7
-
- Volunteer
- Posts: 918
- Joined: Sun May 31, 2009 1:35 am
- Location: Sydney, Australia
Re: Transposing GROUPS of cells
If you mean that each two column group could be any number of rows deep instead of each being three rows deep then I'm fairly sure you will need to use a Helper column that the INDEX function's row and column parameters can use to determine the correct values to use.
See if the formulae on Sheet 4 acting on the data in Sheet3 are behaving the way you are wanting... Ken Johnson
See if the formulae on Sheet 4 acting on the data in Sheet3 are behaving the way you are wanting... Ken Johnson
AOO 4.1.3 on Ms Windows 10
Help improve this forum by clicking the EDIT button on your first post then adding "[Solved]" to its heading once a solution to your problem has been provided.
Help improve this forum by clicking the EDIT button on your first post then adding "[Solved]" to its heading once a solution to your problem has been provided.