Concatenating carriage returned values from 3 columns

L

Legacy 226937

Guest
Hey,

I have 100s of rows with cells similar to the table as shown below. Each field is described by it's coded value and it's related value description - linked by number. Each value in the coded value and value description field are separate by a carriage return (char 10) - I'd like to concatenate them to be as shown in the Desired Result column.

Field IDName of FieldCoded ValuesFriendly ValueValue DefinitionDesired Result:
#) %Friendly Value% (%Coded Value%) - %Value Definition%
1Field A1) Y
2) N
1) Yes
2) No
1) Yes (Y)
2) No (N)
2Field B1) Abc
2) Bcd
3) EfA
1) Alpha Bravo Charlie
2) Bravo Charlie Delta
3) Echo Frank Alpha
1) Definition blah blah
2) Definition blah blah
3) Definition blah blah
1) description (Abc) - Definition blah blah
2) description (Bcd) - Definition blah blah
3) description (Bcd) - Definition blah blah

<tbody>
</tbody>

The number of values per cell vary - there could be no value or 50 values.

I'm not sure how to go about this exactly. I'm also welcome to suggestions. I was also thinking of separating values into individual rows per value then concatenating per row but then the challenge is how do I merge it again to look like the above. I would prefer this method if someone knows how.

Any help would be appreciated!

Thanks,

Jason
 
Last edited by a moderator:

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
To clarify, field ID 1 is 1 row, field ID 2 is another row. The values are stored and separated by carriage return within the cell.
 
Upvote 0

Forum statistics

Threads
1,215,518
Messages
6,125,292
Members
449,218
Latest member
Excel Master

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