Hello excelforumers,
I apologize if this has been asked. I have browsed a few sections and not found what I was looking for. The main problem is this issue is broad and I assume it has several different solutions. This may be better suited in the VBA [EDIT:] so I had it moved here XD [END EDIT]
Here is what I have, there are data 'blocks' that have 2 columns. There are 6 General rows in each block accounting for 6 attributes. The left column is basically an attribute name. The right column is a value. I want to turn each attribute name into a column header and then take all of the values and align them under the correct attribute name. Each row should then have the data 'block's values. One problem is that the 5th attribute sometimes has several values that are stored in separate cells. The values are still adjacent to the attribute cell, however. The blocks are separated by a blank row which will make it easier to keep the data separate.
So what I was thinking of doing is writing a script that would copy the value in column B (right column as referenced above) and check to see what the attribute from column A (left column as referenced above) it is associated with then paste it in a new sheet under the attribute header. I would continue this until I reached a blank row, indicating the end of a block, then start a new row in the new sheet. Then continue copying the value from B and placing it according to the attribute in A.
Any information would help. I was at least hoping to find the VBA code for checking an adjacent cells value, and for pasting values into a cell without replacing the current content for the case where the attribute has multiple values.
Thanks in advance.
Bookmarks