Results 1 to 22 of 22

Grouped Data Blocks editted to Columns of Data based off left cell value?

Threaded View

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    36

    Grouped Data Blocks editted to Columns of Data based off left cell value?

    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.
    Last edited by BlazzedTroll; 06-05-2013 at 02:23 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1