Home > Topics > Excel > body text

How to extract pure numbers from excel cells

coldplay.xixi
Release: 2020-12-22 10:05:37
Original
22607 people have browsed it

How to extract pure numbers from Excel cells: 1. After entering the corresponding number in the first cell, select the area and press [Ctrl E] to quickly fill it; 2. Enter the formula [= in the cell MIDB(A2,SEARCHB("?",A2),2*LEN(A2)-LENB(A2))], and then fill downwards.

How to extract pure numbers from excel cells

The operating environment of this article: Windows 7 system, Microsoft Office Excel 2010 version, Dell G3 computer.

How to extract pure numbers from excel cells:

First method: Ctrl E

first in the first cell Enter the corresponding number into the box, then select the area and press Ctrl E to quickly fill it.

How to extract pure numbers from excel cells

If this function cannot be implemented in the form, then try the second method.

Second: Function method

Enter the formula in the cell=MIDB(A2,SEARCHB("?",A2),2*LEN (A2)-LENB(A2)), then fill downwards.

How to extract pure numbers from excel cells

Formula description:

  • ##SEARCHB("?",A2) : Indicates finding the position of the first number in cell A2

  • 2*LEN(A2)-LENB(A2): Indicates extracting the number in the string The number

#Function description:

The SEARCHB function is used to find the starting position of the specified search value in the string

Grammar structure=SEARCHB(What to look for, where to look for, from which position to search)

LEN function returns the number of characters in the text string

Grammar structure=LEN(text String)

The MIDB function is to extract a string of a specific length starting from any position in the middle of a text string.

Grammar structure = MIDB (string, starting position, extraction length)

Related learning recommendations:

excel tutorial

The above is the detailed content of How to extract pure numbers from excel cells. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!