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


Share on facebook
Share on twitter
Share on linkedin

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.


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

Share on facebook
Share on twitter
Share on linkedin

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Chandoo is an awesome teacher

– Jason

Excel formula list - 100+ examples and howto guide for you

100 Excel Formulas List

From simple to complex, there is a formula for every occasion. Check out the list now.

20 Excel Templates

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Weighted average formula in excel

Weighted Average in Excel [Formulas]

Learn how to calculate weighted averages in excel using formulas. In this article we will learn what a weighted average is and how to Excel’s SUMPRODUCT formula to calculate weighted average / weighted mean.

What is weighted average?

Wikipedia defines weighted average as, “The weighted mean is similar to an arithmetic mean …, where instead of each of the data points contributing equally to the final average, some data points contribute more than others.”

Calculating weighted averages in excel is not straight forward as there is no built-in formula. But we can use SUMPRODUCT formula to easily calculate them. Read on to find out how.

6 Responses to “Quickly process text using split() spreadsheet function in google docs”

  1. Branden says:

    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.

  2. Chandoo says:

    @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.

  3. Branden says:

    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.

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

  5. tom says:

    looking for something like this?

  6. I know you probably don't want to hear it, but it can easily be done in VBA (there is a split function and a join function) so a UDF could be written.

Leave a Reply