Amalgamating data with several lines

slay0r

Board Regular
Joined
Jul 8, 2011
Messages
231
Hi All,

I need to amalgamate some data I've got but my minds gone completely blank. The name is all one person but I need all the types to come into one Cell. I'd normally use concatenate but some people haven't had all the tests so the data isn't consistent. Some have only had 2 parts..I basically need it to be one name and the range of tests they had. Is this simple enough to do?

My data looks like:

NameSurnameDOBSEXOccupationLocationType
GenericGeneric 220/04/1974MaleFitterTestHAVS Tier 2
GenericGeneric 220/04/1974MaleFitterTestAudiometry
GenericGeneric 220/04/1974MaleFitterTestSkin
GenericGeneric 220/04/1974MaleFitterTestRespiratory

<colgroup><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>


Thanks so much!

Kind Regards
Jonathan
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Ok we have the input data, but it's probably best to supply what you expect the data to look like, since I can think of several different types of output based on what you've said.
 
Upvote 0
Hi Mate,

Thanks so much for the quick reply.

I'd like it to be one line as below:

Screening DateNameSurnameDOBSEXOccupationLocationTypePrice
19/12/2017Jonathan Martin20/04/1974MaleFitterGENERIC Hearing Lung Skin HAVS

<colgroup><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>


All random data before anyone asks! :)
 
Upvote 0
Yeah I can do everything until I hit that point. If it was numbers I'd be all over it but cause it's text I haven't got a clue. IF it was consistent I'd just use concatenate but it's not :(
 
Upvote 0
Assuming you data starts from A1 to E1 & separated by spaces, Try this:
=(A1&" "&B1&" "&C1&" "&D1&" "&E1)
 
Upvote 0
I'm not sure what this would achieve? This would bring together everything in those cells but that's not what I require. It needs to roll up what's in Cell E.
 
Upvote 0
Heed Special-K99's advice@ #2 & supply your issue & expected output:

Seems no one understands your problem hence NO CORRECT ANSWERS COMING IN FROM "SUPRA-EXPERTS HERE!!
 
Upvote 0
Yes, I think we need to see some BEFORE and AFTER data to fully understand what it is you are looking for.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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