ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I combine multiple records for a single item? (https://www.excelbanter.com/excel-discussion-misc-queries/140989-how-do-i-combine-multiple-records-single-item.html)

DrStone98

How do I combine multiple records for a single item?
 
I have a list of people that have individual records (rows) for several
items. I would like to combine the data into one row per person with
additional columns for the data that used to be in the additional rows.

Gord Dibben

How do I combine multiple records for a single item?
 
Is there a pattern to the records/rows?

i.e. four rows then next set of records repeated?

Assume four as above.

In B1 enter =INDEX($A:$A,(ROWS($1:1)-1)*4+COLUMNS($A:B)-1)

Copy across to E1 then select B1:E1 and copy down untill you get zeros.


Gord Dibben MS Excel MVP

On Mon, 30 Apr 2007 12:30:02 -0700, DrStone98
wrote:

I have a list of people that have individual records (rows) for several
items. I would like to combine the data into one row per person with
additional columns for the data that used to be in the additional rows.




All times are GMT +1. The time now is 08:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com