I am working with a datasheet that is essentially a combination of multiple tables (about 75) with different column headers pasted into the same table. I am trying to pull the data over to another spreadsheet and have not had much luck with vlookup and index match due to the structure of the file I am working with. Here is an example of what I am working with.
Oldsheet
a b c d
1 item-no Width Weight Speed
2 555555 5 20 20
3 444444 5 22 22
4 333333 4 25 25
5 item no Width Height Weight
6 111111 5 35 55
7 666555 5 35 44
8 777888 3 20 22
9 555444 4 20 30
I am reorganizing the data on a new sheet with all column headers in row 1 as such:
newsheet
a b c d e
1 item-no width weight height speed
2 555555 5 20 20
3 444444
4 333333
I need a formula for my newsheet that will look up an item number from the oldsheet. The formula need to return the value from an array at the intersection of the corresponding item number row and a column where "Width" exists for example.
I need to be able to fill the formula down in each column on my new sheet.
I have been trying different formulas including index match match, index sumproduct, and index sumproduct row to no avail.
Any advice with examples would be greatly appreciated.
Bookmarks