Your thread title says "merge and concatenate". Does that mean the "a 1" (your first result) is the letter "a" followed by a space followed by "1" all in a single cell with "a 2" in the cell under it, and so on? Or are you looking for the comma delimited list you showed as the result you want?
thanks for your reply
a b c d and 1 2 3 4 are symbols of values. i would like a1 in either single cell or separate cells (i can concatenate) and a 2 in the cell under it.
e.g.
first data set in column A:
[TABLE="width: 64"]
<colgroup><col width="64" style="width: 48pt;"></colgroup><tbody>[TR]
[TD="width: 64"]name[/TD]
[/TR]
[TR]
[TD]christina[/TD]
[/TR]
[TR]
[TD]richard [/TD]
[/TR]
[TR]
[TD]luke [/TD]
[/TR]
[TR]
[TD]jon
[/TD]
[/TR]
</tbody>[/TABLE]
second data set in column B
[TABLE="width: 64"]
<colgroup><col width="64" style="width: 48pt;"></colgroup><tbody>[TR]
[TD="width: 64"]ref[/TD]
[/TR]
[TR]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD="align: right"]300[/TD]
[/TR]
[TR]
[TD="align: right"]400
[/TD]
[/TR]
</tbody>[/TABLE]
i would like the result to be
[TABLE="width: 128"]
<colgroup><col style="width: 64px" span="2"></colgroup><tbody>[TR]
[TD="width: 64"]name[/TD]
[TD="width: 64"]ref[/TD]
[/TR]
[TR]
[TD]christina[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]christina[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]christina[/TD]
[TD="align: right"]300[/TD]
[/TR]
[TR]
[TD]christina[/TD]
[TD="align: right"]400[/TD]
[/TR]
[TR]
[TD]richard [/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]richard [/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]richard [/TD]
[TD="align: right"]300[/TD]
[/TR]
[TR]
[TD]richard [/TD]
[TD="align: right"]400[/TD]
[/TR]
[TR]
[TD]luke [/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]luke [/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]luke [/TD]
[TD="align: right"]300[/TD]
[/TR]
[TR]
[TD]luke [/TD]
[TD="align: right"]400[/TD]
[/TR]
[TR]
[TD]jon[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]jon[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]jon[/TD]
[TD="align: right"]300[/TD]
[/TR]
[TR]
[TD]jon[/TD]
[TD="align: right"]400[/TD]
[/TR]
</tbody>[/TABLE]
thanks again