Quickly extract text information from Excel 2010 cell Brackets

Source: Internet
Author: User

Example Demo

① we open an Excel spreadsheet, we're going to extract the bracketed contents of column C into column D, click D2 Cell, and enter the following formula: =mid (C2,find ("() +1,len (C2)-find (" ("C2)-1)

② input complete, press ENTER, enter, get results Shenzhen. If you do not get the correct results, to see if the formula is the English half-width state input, otherwise it will be wrong!

③ is still using the method of cell padding to complete the remaining data entry. In this way, we have extracted the contents of a cell bracket.

Formula description

Mid (where to fetch, starting from the first few): The specified character (text) is taken from the specified string (text).

Find (what to look for, where to find): Returns the position of the find content in the text.

Len (cell reference): Counts how many words are in a cell.

First, use the Find function to locate the "(" position in C2 3, plus 1 results are 4, second, Len calculates the text length of the C2 cell 6, minus 3, minus 1, and the result is 2. Finally, the mid function in the C2 cell, from the 4th start, take 2, to extract the contents of the parentheses in "Shenzhen", Note that parentheses must be entered in the English half-width state.

Classification:
  • Excel Tutorials

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.