Read Text in a List Separated by Commas in Excel
252 comments to "How to split text cord in Excel by comma, space, graphic symbol or mask"
-
Hello - Alexander seems to be a great assistance here with specialized cell appointment. Alexander - maybe you could assist me hither?
I have a jail cell that can take multiple text values in information technology split on multiple lines in the cell H:
"Shift Differential Charge per unit 2, 1.50 USD Hourly
Shift Differential Rate three, 2.00 USD Hourly
Shift Differential Charge per unit iv, 2.00 USD Hourly
Hourly - Hourly Programme, 15.29 USD Hourly"I want to split the cord info I, J, K, L
Additionally in that location are cells that practice not have this text but only this text in Cell H:
Salary - Salary Plan, 64,480.00 USD AnnualAny suggestions.
Thx in advance -
Howdy, I take a long text in one column and I need to split information technology into different sections. When I tried to split by all "," "." " " I have over 5000 columns. Anyone who might help ?
Part of the text in one cavalcade:
Zsolt Geretovszky Academy of Szeged, Hungary,two,33,sixteen.50.Ziming Zhong 1,56,56.00,Giorgio Maddaluno.Zhixian X Jiu Wuhan Polytechnic University, Prc,2,4,2.00.Wanted result: (bigger spaces = different columns - f.east. Zsolt Geretovszky is name, university of szeged is schoolhouse etc.)
Zsolt Geretovszky University of Szeged Hungary 2 33 16.50
Ziming Zhong one 56 56.00
Giorgio Maddaluno
Zhixian X Jiu Wuhan Polytechnic Academy China 2 4 2.00 -
my data in 1 column:
GLES2_IMPL_EXPORT extern const char kEnableGpuClientTracing[]
GPU_EXPORT extern const char kDisableShaderNameHashing[]
extern const char kNearbyShareHTTPHost[]
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kArcDisableAppSync[]And i need:- kEnableGpuClientTracing[]
kDisableShaderNameHashing[]
kNearbyShareHTTPHost[]
kArcDisableAppSync[] to be seperated.When I'm using the formulae it got separated with "extern const char kDisable....."
could you help me through this? -
I have a comma delimited listing of zip codes that I need split into 1200 character max lengths while nevertheless keeping the zip codes together, but non going over 1200 characters. Is there whatsoever formula that will exercise that then I don't accept to manually do it?
Thanks!
-
Simply to clarify - they are all in ane cell and information technology is 8747 characters in 1 cell. I'd like to have cells that are no more 1200 characters in length, without breaking autonomously the zip codes. Thank you!
-
-
Howdy,
I would similar to dissever an 11 digits sequence e.g. 23456543987 into eleven dissever cells in excel.
Can you please advise me?
thanks a lot. -
Go to Data > Text to Columns and set delimiter to -
-
Hi,
In cells of Cavalcade A I take data:
55771 13 units
44231 5 units
12341 22 units
and etc....
In side by side cells of Column B I need:
55771
44231
12341
In adjacent cells of Column C:
13 units
5 units
22 units
Is it possible with formula? -
Hi, please aid me out.
Cavalcade A has,
7000
12345
54543
7890it has to exist separated into two units from the terminal and to exist written in columns B, C and D... like...
In Column B
00
45
43
ninetyIn column C
seventy
23
45
78In column D
0
1
5
0(zero- since there are no more than digits there)
Please help me with the formula.
Cheers. -
Prison cell has cord of 6 digit numbers: A1=123456 234567 345678 456789 ... Split the cord of 6-digit numbers into single column, B1=123456, B2=234567, B3=345678, B4=456789, .... Whatsoever suggested solution? Thanks.
-
Hi, My query is that if we have beginning names and terminal names combined in a column (with both of them starting with capital letters) then is information technology possible to separate the strings into kickoff name and last proper noun? both the first and terminal names have different number of characters.
-
012-01-I-020-Prophylactic RUNNER SET
I WANT TO Divide ABOVE Data AS Beneath
012-01-I-020 IN ONE CELL AND RUBBER RUNNER Prepare IN Some other CELLmy information actual data as below which i want to divide.
012-01-I-020-Condom RUNNER SET
01-U-428-UNWINDER UN Spiral AND FLANGE ASSY M104
02-P-458-FR 59-48 1080 28 1334 MS/MS 104
03-C-096-CUTTING Bridge ASM FOR ร130ROTARY(M-104)
03-C-4016-GFR 44-32 360 25 386 MS/MS 104
09-01-S-142-Acme & BOTTOM Knife BRKT-L.H 60MM WIDTH -
I'm looking to split Name, address, city, state, zilch in their ain columns. As of now, they are in one column
Name Address Metropolis, State Nada
Give thanks you for any assist!!
-
Hi, id really dearest your help on this
I'yard trying to split up the below into columns, I'm doing ok with the =LEFT formula but trying to divide the remainder is proving hard
WIFI:T:WPA;S:RUT240_93AD;P:k2T6Vvu5;;SN:1107473141;I:861585044986089;Grand:001E422B93AB;B:081;
For instance, annihilation subsequently the ":" is what im trying to get.
Eg - values Only after South: RUT240_93AD, P: k2t6Vvu5, SN: 1107473141I would like just the model and serial numbers in their own column, without the "S:" attached to it
-
Hi,
I have a scenario where I go string followed by numbers as below in a cell. Sometimes information technology won't exist in sequential order. I am able to split it taking ";" equally delimiter. Just non able to sort and detect min value, max value as it is a string followed by number.
Integration Sprint 34;Integration Sprint 35;Integration Sprint 36;Integration Sprint 37;Integration Dart 38;Integration Sprint 39;Integration Sprint 40
I need to split information technology considering ";" as delimiter and sort it in sequential order.
Then i need to find minimum value and max valueCould you lot please suggest excel tips for it
-
Hello,
I have this tabular array
ID(size-no.of purchase)
ii-ane
2-1
2-4
ane-ane,2-1,xiii-1
2-1
two-1
ten-i
1-1
two-i
two-i
iii-1
three-1
2-one
iii-1
iii-2
five-one,10-i,1-1,6-1
3-1
3-1
3-one
3-ane
2-1,1-i,3-1
3-1
3-1
3-1
2-ane,1-ane
1-1
3-1
5-1
v-1
v-1
v-ane
2-one
2-1
2-1
i-i
five-ane
two-1
one-1
2-one
5-1
5-one
1-1,3-ii,2-1,13-one
2-1,1-1,3-ane
2-1,i-1,3-1
3-1
1-1,iii-1,ii-1
five-one
5-1,ten-1
ii-one,i-ane
two-1,1-1
five-2
1-ane
three-ane
five-2
1-2,2-two
one-one
3-i
ten-1,i-one
ane-1,3-1,2-i
1-1,3-i,2-1,13-1
ane-one,2-1,3-one
5-1,x-1,1-1,vi-1,3-1,9-1
5-1
how to dissever and notice sum of purchase?
Thanks for Response!
-
Please I desire to separate N1,N2,N3 up to N48 in a cell to 48 cells
-
Hey there.
I take a text similar this in one cell:
"ABC: fdsdfsfdsdfds.ghfhghjhf.BCD: ghgfhfhhgfg.CDE: tretrerter.DEF: hgfhgfhggf."
where those labels (ABC, BCD, CDE, DEF) tin can be a single or multiple words and they are always followed by ':'.
What I'd like to become is
one) to split those blocks in different columns
2) to get the characterization for each of these new columns.So it would be something similar:
label1: "ABC"
text1: "fdsdfsfdsdfds.ghfhghjhf." (it'due south ok also to get "ABC: fdsdfsfdsdfds.ghfhghjhf.")
label2: "BCD"
text2: "ghgfhfhhgfg." (it'due south ok also to get "BCD: ghgfhfhhgfg.")
label3: "CDE"
text3: "tretrerter." (it's fine ok to get "CDE: tretrerter.")
label4: "DEF"
text4: "hgfhgfhggf." (it's ok also to become "DEF: hgfhgfhggf.")I'm having problems detecting the delimiter for splitting, given that it tin can't exist e'er (as yous can see ABC should result = fdsdfsfdsdfds.ghfhghjhf.). So delimiter should exist but simply when it'due south followed past ':' prior to ...
Whatever idea nearly how I tin exercise information technology?
Thank you. -
For the string 100005.5559Dress, (IN Jail cell A2)
using the = LEFT(A2,SUM(LEN(A2)-LEN(SUBSTITUTE(A2,{"0","one","2","3","4","v","vi","7","8","9"},"")))),
output is equally followed:
100005.555
Non 100005.5559.
Please suggest an amended code to accept 100005.5559 reflected as the output.
-
Hullo Folks,
This helped me with some of my task, but there is one section I tin't seem to excerpt. I have a cord from a barcode scanner that looks like this:
B55032324d12200420222537\r\n31483\r\n086-118090-900\r\nNWK12200420222536
And I desire to intermission it autonomously at the "\r\n" in carve up cells, the order or orientation is not of import.
-
Thanks !!! you saved my life <three
-
Super useful. I used it to split out the domain in e-mail addresses so I could see which emails were in the same domain similar this....
=LEFT(B2, SEARCH("@",B2,1)-1)
=Correct(B2,LEN(B2)- SEARCH("@",B2,1)) -
tabel Size w h A W H B&c Due west H D Or D&E
Freezer : A - W: 48" 10 H: 28" | B & C - W: 26" x H: 30"|D - Westward: 48" ten H: 26" 48 28 1 26 30 2 48 26 1
Freezer : A - West: 64" 10 H: 29" | B & C - W: 27.five" x H: 21"D & E - Due west: 28" x H: 39" 64 29 1 27.five 21 2 28 39 2
Freezer : A - W: 61" x H: 25" | B & C - W: 23" 10 H: 21"D & East - Westward: 25" x H: 29" 61 25 1 23 21 2 25 29 2 -
Give thanks you!!!
-
I have applied the following formula to my spreadsheet to split 1 cell that contains the information as follows:
Prison cell = 3^4^12With the formula practical, the cell is split and separated into their own separate cells every bit follows:
3
4
1The issue is that the formula I've applied does not taken into account that there may be numbers of more than 1 digit.
And so instead of the intended outcome existence:
iii, 4, 12, the formula splits it as iii, 4 and 1Please propose if there is a way to solve this outcome?
formula to split 1st number:
=LEFT(D3,SEARCH("^",D3)-ane)formula to separate 2nd number:
=IFERROR(MID(D3,SEARCH("^",D3)+ane,SEARCH("",D3,SEARCH("^",D3)+ane)-SEARCH("^",D3))," ")formula to dissever tertiary number:
=IFERROR(MID(D3,SEARCH("^",D3)+3,SEARCH("",D3,SEARCH("^",D3)+1)-SEARCH("^",D3))," ") -
Hi. I have the below data, each containing information separated by the "^" sign.
The length of this data is not consequent, with some containing 2 "^" and others with upwardly to xv "^"I've tried the LEFT, MID, RIGHT formula, but I do not know how to extend information technology to search upwards to 15 "^"
Please tin you help.Data:
Colour (heading)
Orange^Blackness^Red^Yellowish^GreynessColour Reference (heading)
O^BL^R^Y^GYColor QTY to Order (heading)
one thousand^1500^1300^500^2000I would like to split the data in each row, into it'south own column/row
Then that in the finish:
Color QTY to Guild
1000 - each in it'south own row/cavalcade
1500
1300
500
2000 -
Later using Python for years, it almost seems criminal that Excel doesn't include a "split" control inside the UI. I created my ain user-defined function (UDF) to accomplish this. This parser tin can pluck the Nth element from a given string provided there'south a consistent delimiter, and it can piece of work left to correct or right to left. Code:
Option Explicit
Function GetLength(a As Variant) Equally Integer
If IsEmpty(a) Then
GetLength = 0
Else
GetLength = UBound(a) - LBound(a) + 1
Stop If
Terminate FunctionOffice FetchElement(RefCell As String, ReturnElementNbr As Integer, Delimiter As String, Reverse Every bit Boolean) As String
Dim Hierarchy As Cord
Dim MyArray As Variant
Dim ArraySize As IntegerIf Reverse = Truthful And so
If Correct(RefCell, 1) = Delimiter Then
Hierarchy = StrReverse(Left(RefCell, Len(RefCell) - ane)) 'remove abaft "\" so reverse balance of string
Else: Hierarchy = StrReverse(RefCell)
Terminate If
Else: Hierarchy = RefCell
Finish IfMyArray = Separate(Bureaucracy, Delimiter)
ArraySize = GetLength(MyArray)
If ReturnElementNbr > ArraySize Then
FetchElement = ""
ElseIf Reverse = True So FetchElement = StrReverse(MyArray(ReturnElementNbr - ane))
Else: FetchElement = MyArray(ReturnElementNbr - 1)
End IfEnd Part
sample information to parse (let'due south say it's in cell "A1"): prvd00664966\PT00076084\PT00072170\PT00072157\PT00076116
command: =FetchElement(A1,3, "\", TRUE)
this will count the elements from right to left (True flag used) with an assumption that the delimiter is a "\" and that we want the 3rd element (parm = 3, above) in the listing.
Yes, UDFs are relatively slow. Only this is a heck of a lot more readable and usable than having to apply and so many nested string functions in Excel
-
Give thanks you for your instructions. Unfortunately I could not observe my reply. If you could be so kind to aid me. I have the following data:
For instance (123)
For example (1)
For (example) (344)
For instance (for) instance (12)I need to remove the numbers and the brackets. I tried many ways but I have not found a solution. There is a formula for removing everything after and including brackets. Nevertheless so I have a trouble with data such as: For instance (for) instance (12) . In which information technology will not only delete the numbers merely besides the text.
Is at that place a formula for deleting numbers in brackets? Or a fashion for me to remove it?
Hope to hear from you lot soon.
-
Hi There,
How do I split text by a pattern. However, the pattern can modify and at that place is no common string that I tin can use to separate the jail cell into columns.
For instance,
I have the text 2015 Mazda CX5 V6 White Bumper. I would like to separate this past Brand, Model, Twelvemonth, Engine Type, Color, Office and others if whatsoever. The catchy office here is on the adjacent row I could have 2003 Toyota Camry Bonnet Blue. I desire all the makes to become into 1 column, all the models to go into 1 column, all the parts to get into 1 column and so on. The pattern tin modify too. Because sometimes information technology can start with the make and end with model or it could exist other as well. I want this process to exist automated.
Because the excel wouldn't understand what the make, model, yr are, what we could practice is we could probably add a drib-downwardly on the heading of each column that has the list of makes, and another cavalcade would be models and and then on. So, now when the system identifies make, it would have to search in all the drop-downs of all the columns and observe where it is and put it on that cavalcade. I know information technology's a piffling circuitous, just I am certain it can be washed.
Whatsoever help would highly be appreciated. Thanks!!
-
The goal is to divide each Biblical Hebrew word into private messages. Notwithstanding, Text-to-Cavalcade causes the nikkud/accents to carve up from the base letter.
I've discovered that putting a hyphen between each letter of the Hebrew word will crusade Text-to-Cavalcade to separate the individuals characters intact.
Then, I went looking for a formula to insert dashes between messages and plant one that works....only only for English letters/numbers. With the Hebrew, this formula separates out the nikkud/accents.
https://superuser.com/questions/1371473/how-can-i-format-a-character-string-in-excel-to-insert-hyphens
Sub InsertCharacter()
Dim Rng As Range
Dim InputRng Equally Range, OutRng As Range
Dim xRow Equally Integer
Dim xChar Every bit String
Dim alphabetize As Integer
Dim arr As Variant
Dim xValue As Cord
Dim outValue Equally String
Dim xNum Every bit IntegerxTitleId = "Put Dashes"
Prepare InputRng = Awarding.Selection
Set InputRng = Application.InputBox("Range :", xTitleId, InputRng.Accost, Type:=8)xRow = Application.InputBox("Number of characters :", xTitleId, Type:=1)
xChar = Application.InputBox("Specify a character :", xTitleId, Type:=two)Set OutRng = Application.InputBox("Out put to (single jail cell):", xTitleId, Type:=8)
Prepare OutRng = OutRng.Range("A1")xNum = i
For Each Rng In InputRng
xValue = Rng.Value
outValue = ""
For index = 1 To VBA.Len(xValue)
If index Mod xRow = 0 And index VBA.Len(xValue) And so
outValue = outValue + VBA.Mid(xValue, index, 1) + xChar
Else
outValue = outValue + VBA.Mid(xValue, index, one)
End If
Adjacent
OutRng.Cells(xNum, one).Value = outValue
xNum = xNum + 1
Next
End SubQuestion: Is at that place a way to tweak this formula then that it will recognize Hebrew 'complete characters'? Or is there some other style to work with Hebrew in Excel?
Thanks then much.
-
trouble string:
/subscriptions/dummy-subscription-id/resourceGroups/my-resource-group-name/providers/Microsoft.Web/serverfarms/my-app-service-plan-namewhat i needed out of it?
my-app-service-program-namewhat expression got it?
=Correct(I2,LEN(I2)-SEARCH("serverfarms",I2)-LEN("serverfarms"))thank you for guiding me towards
-
Super cheers to y'all, you made my 24-hour interval really grate
whith this formular :
=LEFT(A10,LEN(A10)-LEN(D10)) -
I demand to dissever the value 12 into ix two i in 3 different cellsand incase if the value becomes 13 i need it to ne splited inti ix ii 2. Is that possible? I need the value in the terminal colum continue changing if the value varies. Is there any possibile solution? Delight assistance
-
Looking for an automated option to take whatever is typed into jail cell B3 to auto populate each graphic symbol into rows beneith
Ex: B3 =abcd 'is entered
cells populate here:
Cells B5 =a
B6 = b
B7 = c
B8 = dcannot use text to column
Whatsoever help??? -
HI,
I am looking for the number "02305255" to exist separated from the hyperlink. Could y'all help go the Excel formula?
-
Thank you for the helpful article and comments!
I have been trying to split up a cord into characters (so I can accept each graphic symbol into a separate cavalcade).
Such equally if I have a cord "word", I would similar to to have it'due south characters "due west", "o", "r", "d" in split columns.
Any help will exist appreciated. -
Thanks!
-
Thank yous!
-
I am using AbleBits Split by Characters function to split by commas into rows. No matter how many times I try information technology, it splits into columns instead. Tin you help me understand what I'm doing wrong?
-
I cannot go a prison cell separated and have information technology notwithstanding identified as a whole number (to later average). I've tried substitute, supersede, left functions... with no luck.
It is separating out the _F from a number of temperature readings: 37 F, 42 F, etc
Lil assist?
-
Hullo,there!
I want to split up # following with any number for case #8, #vi, then I want to use number 8 or 6 every bit my value to use if role to print out different event, if viii , print " 38 mm", if 6 impress " 50mm" just a example. Thanks a lot!-
"I desire to split # following with any number for example #8, #6, and so I want to employ number 8 or half dozen as my value to employ if function to print out different result, if viii , impress " 38 mm", if 6 impress " 50mm" just a example. Thanks a lot!" It is in the Same Prison cell, print besides at the same Cell.
-
-
I accept a cell similar "1 Due south Laser Beam, iii M Pulse Laser, 18 Sansha Debris, 9 M Booster"
what this means is that the cell has i qty of Pocket-size Laser Beam, 3 qty of Medium Pulse Lasers and etc.
How can I parse this so that I tin can parse these quantities so that I tin employ them individually? Thanks
-
Hi at that place,
How to split this? Can you lot tell me?
151 Exc AvenueNey York, NY 10001
123 Discussion AptMiami, FL 23456
I Desire urban center proper name to be in separate field and presiding address in separate field. Any formula which puts the discussion starting in CAPITAL after SMALL alphabetic character to a different field? -
I have a challenge on number search in a cell that is formatted as text. I have a TAB "Systems Software" with column Thousand that have cells with multiple numbers (not necessarily in numeric guild) separated past commas (i.e., G4 contains 4,28,9,14,44,23,10,104) in each cell. Each cell may have a unmarried number, or exist empty or a string of numbers separate by a commas. I demand to observe if a given specific number (i.eastward., 4) is in that string of numbers that are contained in a cell formatted as text. It is number four that I am searching for in that sample, non the four in fourteen or forty iv or one hundred 4. If I detect the search number within the number in the string, I can print an Ten in the cell that is doing the search. Otherwise, if the number is not constitute, leave the cell empty. Any assistance will be greatly appreciated.
-
Looking for just 4 and not the 4 in 14,24,104 etc?
Simply search for ",four," Include the commas.
The but time you demand whatsoever special check is the first or last numbers in the string.Saiph
-
-
Hi Team,
He is a smart guy.
smart people are everywhere.
I want to impress the word which is right later the word "smart", can some i please help me
Thanks,
Anand -
For those wondering how to split up a concatenation of characters into more than 3 cells :
I'm too lazy to interpret my formulas. The functions are in french and so I'll just translate them hither :
GAUCHE = LEFT
DROITE= RIGHT
STXT= MID
CHERCHE= SEARCH
NBCAR= LENSo, I wrote in A2 (yeah I started from A2 instead of A1) :
test1;test2;test3;test4;test5;test6
I desire to separate this into half-dozen cells.
In B2, I type :
=GAUCHE(A2;(CHERCHE(";";A2;1)-1))
This gives me "test1".
In C2, I blazon :
=STXT(A2;NBCAR(B2)+2;CHERCHE(";";A2;(NBCAR(B2)+2)-CHERCHE(";";A2))-1)
This gives me "test2"
In D2, I'll write :
=DROITE(A2;NBCAR(A2)-NBCAR(B2)-NBCAR(C2)-2)
This gives me "test3;test4;test5;test6"
From there on, I tin reiterate the ii other formulas to obtain in E2 : "test3", in F2 : "test4", in G2 : "test5;test6" and so on and then on. -
Hello Team - Thanks for this cloth.. absolutely useful. However I am a bit stuck (think i am being naive as missing something :) ).. From example above, how am i able to carve up all the string between 2 characters as there are multiple occurrences.
Above example shows clearly on how to excerpt between 1st and 2nd occurrence. How about 2d and tertiary occurrence, 3rd and quaternary occurrence etc.. I want this to exist in a single formula.
Case:
Dress-Blue-S-US-xx-Yes
Expected output:
Blueish (Answer available on top of this postal service)
S
United states of america
20
Aye -
I am working with power query and my results accept jumbled together movie names with release dates, where the release date (format August 7, 2020) is combined with the movie name. the movie names of course are different lengths, and the dates are unlike lengths depending on the release date. I'm not finding any manner to carve up my data between the movie proper noun and the release appointment (example: The Broken Hearts GalleryAugust vii, 2020). Can you lot bear witness me how to do this?
-
I've found i mode that adds a small macro (that y'all don't need to go along)
ALT + F11
Create a module and add together the following code:
Office IS_DATE(rng) As Boolean
IS_DATE = IsDate(rng)
End FunctionThis will tell you lot if a engagement is valid or non (true/simulated)
Then we exam your movie titles by trying to notice the date on the end
There volition e'er be four digits for year, 1 for comma, 1 space, at least one digit for day and then the calendar month. A span of seven possible lengths. May x – September xx
Assuming your championship/appointment is in A1.
In B1 put:
=IF(is_date(Correct(A1,xi))=TRUE,xi,IF(is_date(RIGHT(A1,12))=Truthful,12,IF(is_date(RIGHT(A1,13))=TRUE,13,IF(is_date(Right(A1,14))=TRUE,xiv,IF(is_date(Correct(A1,15))=TRUE,fifteen,IF(is_date(RIGHT(A1,16))=Truthful,sixteen,IF(is_date(Right(A1,17))=TRUE,17,IF(is_date(Correct(A1,18))=Truthful,18,""))))))))The formula trys cropping the string at 11 characters long to 18 and tests each ane to meet if it's a real date or not. The month is the decider so short spelled or additional characters make this a false date. But the correct length will actually create a valid date and returns the trim length
The result is the number of characters to cut the string atMovie title goes in C1:
=left(A1,len(A1)-B1)Date goes into D1
=right(A1,B1)
-
-
Hello..
Plz help me to count the frequency in the following
1234567 = frequency is seven than plz assist me to observe correct formula for count frequency in the post-obit examples
i.3..67 = iv and
7 = 1 and
...3...7 = iiPlz assistance
-
Hello,
I'am looking for this office:
I take a cell like this : XTORM SOLID BLUE MICRO USB CABLE 1MTR
I want to divide this cell (all cells with text) after the 3rd or 4rd space, similar this
XTORM SOLID BLUE
MICRO USB Cablevision
1MTR
Those words undernead in 1 jail cell
Is this possible?? i hope thanks!!! greetz remco -
Give thanks you lot!
-
I have output from a Qualtrics survey for "select all that apply" questions. I demand to import it into a statistical package for analysis (SPSS). The data at present have numeric codes for answer choices, but when imported into the stats package are read equally cord (alpha) and separated past commas. I am trying to use Exsel to split these values into columns, just need a unlike column for each value. Some questions have up to 5 values, only users may take only checked 1, 2 or even 4 or 5 options, and and then their values vary.
Original Data: --> New array, where | | indicates a separate cavalcade
i, 2, 5 becomes | 1 | 2 | | | five| (i.e. the columns for the values three and four are left bare)
two, 3, becomes | | 2 | 3 | | | (i.eastward. the columns for the values 1, 4 and 5 are left blank)
4 becomes | | | | 4 | | (i.e. the columns for the values, 1, ii, 3 and 5 are left blank)Text to column separates them, but and so I have a cavalcade with a mixture of answers (eastward.g. 1, 2, 4 based on example higher up) withal I need to create a dichotomous variable for reply choice one, a divide i for 2, etc. Any ideas? Thank you.
-
I don't know if you can do information technology other than with a formula:
______A___ | ____________B______________ ... ____________F______________
1 | "1,2,5" | =if(iserr(find("1",A1)),"",1) ... =if(iserr(find("five",A1)),"",5)
2 | ...
3 | "4" ____| =if(iserr(find("i",A3)),"",1) ... =if(iserr(detect("v",A3)),"",5)
-
Post a comment
Source: https://www.ablebits.com/office-addins-blog/2016/06/01/split-text-string-excel/
Don says:
One proposition: the example with the "To excerpt the color ..." part using MID and Search would be improved if the separator is not a hyphen in both instances. It is hard to tell which reference is to the kickoff instance of a hyphen and which is to the 2nd instance...unless ane already knows. Otherwise a really great resources. Thank you!