Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50085

Merge multiple (and variable) rows and columns by repeating value

$
0
0
Hi all, I've searching a while now and haven't found a solution to the function I am looking for (apols if I've missed an existing thread).

Anyway I've got a data source that has a value in column A that can repeat over a variable number of rows and have data in variable multiple columns against it, though won't exceed thirty columns. Using a macro I'd like to transform this so each value in column A occurs only once, with every data point listed against it in the same row across multiple columns (this may include duplicate data points, or no data points).


I've attached an example file below.

MergeRows.xlsx

Any assistance that could be provided would be most appreciated.

Regards,
Ron

Viewing all articles
Browse latest Browse all 50085

Trending Articles