excel formula to make a list of names with komma in between

littlepete

Well-known Member
Joined
Mar 26, 2015
Messages
503
Office Version
  1. 365
Platform
  1. Windows
hello :)

following up on advice i got, this is a question about changing a list of names:

in one column i have for each person (row) the names of his children: for ex. : " mark. an. jules. pete. " that column is AV.
in the column after that AW is a number telling how much children there are.
the number of names is variable of course, depending on the parents !

how can i put a formula for that column F making a sentence saying : " he has 4 children : mark, an, jules and pete "

all have a great start of the advent :) !!!
 
Should be
Excel Formula:
=AU2&" has "&AW2&" children: "&SUBSTITUEREN(SUBSTITUEREN(SUBSTITUEREN(AV2;".";",");",";".";AW2);",";" and";AW2-1)
hello all :)

i am very glad to announce that formula does work perfectly :) !!!
as i said before the case of no children or one child is already in my long formula, and now the x children is working too !!!

i am very happy to see this work !!! i'd like to thank all that participated in the quest for answers !!!
wishing you all a great first advent sunday !!!
 
Upvote 0

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
You're welcome, happy we helped but please mark post number 4 by @jasonb75 as the solution as it is his formula (I only translated it)
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,499
Members
449,089
Latest member
Raviguru

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