trekker1218
Board Regular
- Joined
- Feb 15, 2018
- Messages
- 86
- Office Version
- 2019
- Platform
- Windows
I am trying to line up columns of data that are all jumbled. Example. length x width x height are in my sheet in a row. But are in different columns. I've tried to Index and match to no avail. How can I search for a cell label marked WIDTH in a row and then get the next cell to the right with the WIDTH VALUE. I am using 2 sheets. one with all the data and a blank. I though I could Index the row and match the data cell.
=INDEX(Sheet2!BG3:FH3,MATCH(BG3,Sheet2!BG3:FH3,FALSE),2)
row of data row of data
this works for my first column only. When i apply it to other columns. its give me an error or no values when I know the values are there.
[TABLE="width: 1722"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Attribute Label 1[/TD]
[TD]Attribute Value 1[/TD]
[TD]Attribute Label 2[/TD]
[TD]Attribute Value 2[/TD]
[TD]Attribute Label 3[/TD]
[TD]Attribute Value 3[/TD]
[TD]Attribute Label 4[/TD]
[TD]Attribute Value 4[/TD]
[TD]Attribute Label 5[/TD]
[TD]Attribute Value 5[/TD]
[TD]Attribute Label 6[/TD]
[TD]Attribute Value 6[/TD]
[/TR]
[TR]
[TD]Brand Name[/TD]
[TD]Gastite[/TD]
[TD]Sub Brand[/TD]
[TD]FlashShield[/TD]
[TD]Item Name[/TD]
[TD]Corrugated Tube[/TD]
[TD]Type[/TD]
[TD]Metallically Shielded, Flexible[/TD]
[TD]Nominal Size[/TD]
[TD]1/2 Inch[/TD]
[TD]Size[/TD]
[TD]#N/A[/TD]
[/TR]
</tbody>[/TABLE]
=INDEX(Sheet2!BG3:FH3,MATCH(BG3,Sheet2!BG3:FH3,FALSE),2)
row of data row of data
this works for my first column only. When i apply it to other columns. its give me an error or no values when I know the values are there.
[TABLE="width: 1722"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Attribute Label 1[/TD]
[TD]Attribute Value 1[/TD]
[TD]Attribute Label 2[/TD]
[TD]Attribute Value 2[/TD]
[TD]Attribute Label 3[/TD]
[TD]Attribute Value 3[/TD]
[TD]Attribute Label 4[/TD]
[TD]Attribute Value 4[/TD]
[TD]Attribute Label 5[/TD]
[TD]Attribute Value 5[/TD]
[TD]Attribute Label 6[/TD]
[TD]Attribute Value 6[/TD]
[/TR]
[TR]
[TD]Brand Name[/TD]
[TD]Gastite[/TD]
[TD]Sub Brand[/TD]
[TD]FlashShield[/TD]
[TD]Item Name[/TD]
[TD]Corrugated Tube[/TD]
[TD]Type[/TD]
[TD]Metallically Shielded, Flexible[/TD]
[TD]Nominal Size[/TD]
[TD]1/2 Inch[/TD]
[TD]Size[/TD]
[TD]#N/A[/TD]
[/TR]
</tbody>[/TABLE]