Create Single Cell Lists from Text Strings With ';' Semi-Colon Delimiter

NeoTheNerd

New Member
Joined
Nov 13, 2021
Messages
5
Office Version
  1. 2019
Platform
  1. MacOS
I would like to build a list within a single cell from a sting stored another cell. The string has a semi colon delimiter ';' to separate the string SMTP, smtp, X400, FAX. Unfortunately the x400 portion of the string also has semi colons which need to be kept. Its delimiter is a second semi colon ';;'.

I need some help expanding this answer from yesterday, which provides an example of the output i need - Create single cell list from another cell containing a text string as does the below table.

StringList (Output)
SMTP:userS1@thetest.com;X400:C=GB\;A= \;P=TEST\;O=Exchange\;S=S1\;G=user\;I=P\;;smtp:user1@test.local;FAX:User P. S1[userS1]@test.localSMTP:userS1@thetest.com
X400:C=GB\;A= \;P=TEST\;O=Exchange\;S=S1\;G=user\;I=P\;
smtp:user1@test.local
FAX:User P. S1[userS1]@test.local
X400:C=GB\;A= \;P=TEST\;O=Exchange\;S=41\;G=user\;X400:C=GB\;A= \;P=TEST\;O=Exchange\;S=41\;G=user\;
SMTP:user2@thetest.com;X400:C=GB\;A= \;P=TEST\;O=Exchange\;S=2\;G=user\;;smtp:user2@test.local;FAX:user 2[user2]@test.localSMTP:user2@thetest.com;
X400:C=GB\;A= \;P=TEST\;O=Exchange\;S=2\;G=user\;
smtp:user2@test.local
FAX:user 2[user2]@test.local
X400:C=GB\;A= \;P=TEST\;O=Exchange\;S=17\;G=user\;;FAX:user 17[user17]@test.localX400:C=GB\;A= \;P=TEST\;O=Exchange\;S=17\;G=user\;
FAX:user 17[user17]@test.local
SMTP:user3@thetest.com;X400:C=GB\;A= \;P=TEST\;O=Exchange\;S=3\;G=user\;;smtp:user3@test.local;FAX:user 3[user3]@test.localSMTP:user3@thetest.com
X400:C=GB\;A= \;P=TEST\;O=Exchange\;S=3\;G=user\;
smtp:user3@test.local
X400:C=GB\;A= \;P=TEST\;O=Exchange\;S=4\;G=user\;;smtp:user4@test.localX400:C=GB\;A= \;P=TEST\;O=Exchange\;S=4\;G=user\;
smtp:user4@test.local
FAX:user 6[user6]@test.local;X400:C=GB\;A= \;P=TEST\;O=Exchange\;S=6\;G=user\;FAX:user 6[user6]@test.local
X400:C=GB\;A= \;P=TEST\;O=Exchange\;S=6\;G=user\;
smtp:user6@test.local
smtp:user5@test.localsmtp:user5@test.local
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,";SMTP",CHAR(10)&"SMTP"),";smtp",CHAR(10)&"smtp"),";X400",CHAR(10)&"X400"),";FAX",CHAR(10)&"FAX")
 
Upvote 0
Solution

Forum statistics

Threads
1,215,250
Messages
6,123,887
Members
449,131
Latest member
leobueno

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