Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Loop through rows to consolidate data
I have a simple excel file: column A is list of words and column B shows a
number. (This will become an index of terms in a book -- column B is the page number reference). The list can be easily sorted, but then I need to remove rows with duplicate words and just concatenate the page number references in column B. The result should look like: word1: 1,35,160 word2: 55 word3: 3, 88 I understand the basic logic required: compare column A value to value from previous row. If it's the same, concatenate the column B value, delete the current row and move on. I'm not experienced with VBA programming though. Does someone have some code to start with or other ideas? Thank-you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Consolidate data from multiple rows | Excel Discussion (Misc queries) | |||
Match consolidate multiple rows data into one row | Excel Worksheet Functions | |||
Consolidate data from worksheet (more then 65536 rows) | Excel Discussion (Misc queries) | |||
Create loop to insert two rows after every row of data | Excel Programming | |||
Loop cells - get all rows with matching data - paste into different wb | Excel Programming |