Quickly process text using split() spreadsheet function in google docs

Posted on August 25th, 2008 in Analytics , Learn Excel , technology - 4 comments

Google docs spreadsheet app is going mainstream with each passing day. Recently they have introduced split() formula to divide text in to multiple cells using a user specified delimiter.

split-spreadsheet-function-google-docs

The syntax for this function is =split(text value, delimeter), for eg. =split("pointy haired dilbert", " ") would result in 3 individual cells with “pointy”, “haired” and “dilbert” as values. Learn more.

This is a very good replacement for excel import text functionality using which you can paste large text files in to excel sheet.


Also try:
concat() function to combine lots of cells to a single value

| More
Subscribe for PHD Email updates and get a free excel e-book with 95 tips & tricks

Comments
Branden August 26, 2008

This is a great feature. I wish it would have been available when I was creating Halo 3 stat pages for me and my buddies. I pulled in RSS feeds in that consisted of long text strings and had to use find(), left(), mid() and lots of if() statements to split them.

Chandoo August 27, 2008

@Branden: Agree, splitting text using left(), mid(), find() is a pain and error prone. I wish they had something similar in standard spreadsheet functions of excel.

Branden August 29, 2008

This isn’t the only feature that’s missing from Excel, I love the importfeed() and importhtml() functions as well. That’s the great thing about the g-doc software, they continually improve the product and add these really great features.

I enjoyed your work around to get the import functions into excel, so thanks for that too.

AdaptiveDervish September 2, 2008

So Chandoo: Any chance of sharing your Excel wisdom about the text splitting functions that /are/ available in Excel please? Maybe a full post…?

RSS feed for comments on this post. TrackBack URI

Leave a comment

   Name (required)

   E-mail (required, never displayed)

   URL


If you have a question, please ask in the forums

Recommended Excel, Charting, VBA books