Separating multiple text values with a single cell

Blanchetdb

Board Regular
Joined
Jul 31, 2018
Messages
164
Office Version
  1. 365
Platform
  1. Windows
Hi

I am dealing with a tool that allows an individual to enter multiple text entries and when the info is exported to excel, the info appears all in the same cell ... example: Location, Language, Security

Unfortunately, this does not allow the user of the excel spreadsheet to filter, report or collect statistics using the info from that cell. Is there a formula that can be added to the spreadsheet that would extract each text entry and move each of them to its own cell ..... the formula would read the text until it reaches the comma "," and extract that text and copy it to an empty cell at the end of that row.

example

The extract gives me the first 4 columns
Could I add a formula in the 5th, 6th, 7th, 8th, ... columns that would read column 4, extract the first text up to the comma and insert in that column 5 and continue for column 6 and 7 and 8 ...
NumberStatusRequest TypeRequest Sub-TypeSub-Type 1Sub-Type 2Sub-Type 3
123568CompletedReorganizationSecurity, Position, LocationSecurityPositionLocation

any assistance would be greatly appreciated
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
how many text strings could there be ??
are you still using excel 2016
if a more recent version
text split
=TEXTSPLIT(D2,",")
Book2
ABCDEFG
1NumberStatusRequest TypeRequest Sub-TypeSub-Type 1Sub-Type 2Sub-Type 3
2123568CompletedReorganizationSecurity, Position, LocationSecurity Position Location
Sheet1
Cell Formulas
RangeFormula
E2:G2E2=TEXTSPLIT(D2,",")
Dynamic array formulas.
 
Upvote 0
Solution
how many text strings could there be ??
are you still using excel 2016
if a more recent version
text split
=TEXTSPLIT(D2,",")
Book2
ABCDEFG
1NumberStatusRequest TypeRequest Sub-TypeSub-Type 1Sub-Type 2Sub-Type 3
2123568CompletedReorganizationSecurity, Position, LocationSecurity Position Location
Sheet1
Cell Formulas
RangeFormula
E2:G2E2=TEXTSPLIT(D2,",")
Dynamic array formulas.
Hi... I just added that to the spreadsheet and it worked perfectly .... thank you
 
Upvote 0
Hi... I just added that to the spreadsheet and it worked perfectly .... thank you
If that works, then you most be using a newer version of Excel than 2016, as TextSplit was not available in Excel 2016.
Can you please update your profile to reflect which version of Excel you are currently using?

1733753128407.png


It will help people assist you in the future to know which version of Excel you are using,
 
Upvote 0
glad to have helped , i may not have posted the later version function, just a hunch i guess , as you had 2016 in profile, glad its now updated to 365 - so many more functions to make things so much easier to do
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,253
Members
452,900
Latest member
LisaGo

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