Hi smarties
I am trying to make a table that turns this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]John
[/TD]
[TD]potato[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD]cranberry[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]David[/TD]
[TD]salsa[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Stacy[/TD]
[TD]potato[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Greg[/TD]
[TD]potato[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Anna[/TD]
[TD]salsa[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]
Into this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]John[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Potato[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Cranberry[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]David[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Salsa[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Stacy[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Potato[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Greg[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Potato[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Anna[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Salsa[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]
The first table is a long list of rows that will continually grow. The second table is on another sheet. I want to be able to write the formulas in rows 1 and 2 (John & potato) and drag the set down the rest of the sheet. So far everything I've tried produces a result that skips rows from the first table. Instead of going John, Mary, David, Stacy it goes John, David, Greg.
I tried a few things with INDIRECT and OFFSET but I still get a result that skips rows from table 1.
Any ideas?
Thanks!
I am trying to make a table that turns this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]John
[/TD]
[TD]potato[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD]cranberry[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]David[/TD]
[TD]salsa[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Stacy[/TD]
[TD]potato[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Greg[/TD]
[TD]potato[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Anna[/TD]
[TD]salsa[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]
Into this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]John[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Potato[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Cranberry[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]David[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Salsa[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Stacy[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Potato[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Greg[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Potato[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Anna[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Salsa[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]
The first table is a long list of rows that will continually grow. The second table is on another sheet. I want to be able to write the formulas in rows 1 and 2 (John & potato) and drag the set down the rest of the sheet. So far everything I've tried produces a result that skips rows from the first table. Instead of going John, Mary, David, Stacy it goes John, David, Greg.
I tried a few things with INDIRECT and OFFSET but I still get a result that skips rows from table 1.
Any ideas?
Thanks!