Hi all, I have a table that looks like the below example. I want to be able to use an INDEX formula to transpose figures from this vertical data, to another (working out %) which is horizontal:
Table to INDEX:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]Satisfied[/TD]
[TD]Neutral[/TD]
[TD]Dissatisfied[/TD]
[/TR]
[TR]
[TD]Q1[/TD]
[TD]222[/TD]
[TD]13[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Q2[/TD]
[TD]172[/TD]
[TD]10[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]Q3[/TD]
[TD]82[/TD]
[TD]6[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]Q4[/TD]
[TD]107[/TD]
[TD]7[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Totals of each[/TD]
[TD]583[/TD]
[TD]36[/TD]
[TD]29[/TD]
[/TR]
[TR]
[TD]Overall Total[/TD]
[TD]648[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Table to transpose to:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]Q1[/TD]
[TD]Q2[/TD]
[TD]Q3[/TD]
[TD]Q4[/TD]
[/TR]
[TR]
[TD]Satisfied %
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Neutral %[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Dissatisfied %[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am basically trying to work out percentages, for a much larger table that I am working on, and wish to copy the formula from left to right on each row of the blank cells int he transposed table.
So, think it is something like =INDEX(first table array), then look up 'Satisfied' and look at column 2, row 2. If I drag that formula right, I want it to look at the same array, but use the figure from column 2, row 3. Then column 2, row 4 etc.
Table to INDEX:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]Satisfied[/TD]
[TD]Neutral[/TD]
[TD]Dissatisfied[/TD]
[/TR]
[TR]
[TD]Q1[/TD]
[TD]222[/TD]
[TD]13[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Q2[/TD]
[TD]172[/TD]
[TD]10[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]Q3[/TD]
[TD]82[/TD]
[TD]6[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]Q4[/TD]
[TD]107[/TD]
[TD]7[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Totals of each[/TD]
[TD]583[/TD]
[TD]36[/TD]
[TD]29[/TD]
[/TR]
[TR]
[TD]Overall Total[/TD]
[TD]648[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Table to transpose to:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]Q1[/TD]
[TD]Q2[/TD]
[TD]Q3[/TD]
[TD]Q4[/TD]
[/TR]
[TR]
[TD]Satisfied %
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Neutral %[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Dissatisfied %[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am basically trying to work out percentages, for a much larger table that I am working on, and wish to copy the formula from left to right on each row of the blank cells int he transposed table.
So, think it is something like =INDEX(first table array), then look up 'Satisfied' and look at column 2, row 2. If I drag that formula right, I want it to look at the same array, but use the figure from column 2, row 3. Then column 2, row 4 etc.