fbpx
Search
Close this search box.

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

Share

Facebook
Twitter
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.

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

Facebook
Twitter
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

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

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

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

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

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?
    =LOWER(LEFT(RIGHT(C15;LEN(C15)-FIND("";LOWER(C15))-6);FIND("";LOWER(RIGHT(C15;LEN(C15)-FIND("";LOWER(C15))-6)))-1))

  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