Parsing / Merging / Grouping Multiple Rows for Mail Merge

BigLad

New Member
Joined
Apr 30, 2014
Messages
2
Hi folks,

I was hoping some of you geniuses could help me with this problem. Ultimately I need to mail merge data based on a data source being fed into Excel ideally without using Macros as I know nothing about them.

My Dataset looks as follows -

Code,Title,First Name,Surname,Address1,Address2,Address3,City,County,Postcode,Country
1,Mr,Joe,Blogs,123 Street,,,London,,EC11MQ,United Kingdom
1,Mrs,Jane,Blogs,123 Street,,,London,,EC11MQ,United Kingdom
2,Mr,Peter,Wilson,456 Street,,,London,,EC11MQ,United Kingdom
2,Mrs,Cath,Wilson,456 Street,,,London,,EC11MQ,United Kingdom
2,Miss,Cj,Wilson,456 Street,,,London,,EC11MQ,United Kingdom
2,Mr,Jj,Wilson,456 Street,,,London,,EC11MQ,United Kingdom
3,Mr,James,Dean,789 Street,,,London,,EC11MQ,United Kingdom
3,,Guest,,,,,,,,
4,Mr,Paul,Down,111 Street,,,London,,EC11MQ,United Kingdom
4,Mrs,Clare,Murphy,111 Street,,,London,,EC11MQ,United Kingdom

So lets say I want to create a new worksheet on the fly saying something like this -

Code,Guests,Address1,Address2,Address3,City,County,Postcode,Country
1,Mr and Mrs Blogs,123 Street,,,London,,EC11MQ,United Kingdom
2,Mr and Mrs,Wilson,456 Street,,,London,,EC11MQ,United Kingdom (the top 2 lines are always Adults the other two are children)
3,Mr James Dean,789 Street,,,London,,EC11MQ,United Kingdom
4,Mr Paul Down and Mrs Clare Murphy,111 Street,,,London,,EC11MQ,United Kingdom

Anyone any clever suggestions on how to get my dataset into the above format with a combination of formulas or how would you go about this?

Any help is very much appreciated!!

Thanks,
BL
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top