I have this string in cell A1:
A1 some text, to be, processed
I want to create formulas for B1, C1, D1, etc. where:
B1 some text
C1 to be
D1 processed
E1
I already found the Text to Columns feature, but I need to do this using formulas.
|
I have this string in cell A1:
I want to create formulas for B1, C1, D1, etc. where:
I already found the Text to Columns feature, but I need to do this using formulas. |
||||
|
|
|
You can use VBA to create a custom function that can be used as a formula. To do this:
Now close the Visual Basic window to go back to Excel. To use the formula, as per your example, type
You can change the comma to split by other characters. The only downside to custom formulas is that you will get a warning to enable macros whenever you open the file. |
|||||
|
|
|
You can use the text functions Left, Mid and Right. Left lets you extract a number of characters from the left side of the text string. Right does the same thing from the right side of the text string. With Mid, you exclude some number of characters from the left, then tell it to take the next x number of characters. If you go to the "insert Function" dialog box (click the "fx" next to the formula bar), you'll find these functions under the "Text" category. |
|||||||
|