Skip to main content

How to split a cell at the first number in Excel?

Author: Sun Last Modified: 2020-07-23

Usually, you can split text string by delimiter or fixed width in Excel. However, have you ever tried to split the string by the first number as below screenshot shown? Here I introduce the tricks on splitting a cell at the first number of a string in Excel.
doc split by first number 1

Split cell at the first number with formulas

Split cell at the first number with Word and Text to Columns


Split cell at the first number with formulas

To split cells at the first number, you need formulas in Excel.

1. Select a cell that you will output the text part in, for instance B1, type this formula =TRIM(LEFT(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"0123456789"))-1)), drag auto fill handle down to extract the text part from the strings. See screenshot:
doc split by first number 2

2. Select a cell to output the number part, for instance, C1, type this formula, =TRIM(REPLACE(A1,1,LEN(B1),"")), and then drag the auto fill handle down to extract the number part from the strings. See screenshot:
doc split by first number 3


Quickly Split one cell into columns or rows based on delimiter

In Excel, to split a cell into columns is tedious with the Wizard step by step. But with Kutools for Excel's Split Cells utility, you can: 1,convert one cell into columns or rows based on delimiter; 2,convert string into text and number; 3,convert string based on specific width, with clicks.  Click for full-featured 30 days free trial!
doc split cell
 
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

Split cell at the first number with Word and Text to Columns

If the strings are mixed with numbers in the first part and texts in the second part as below screenshot shown, you need to use the Find and Replace utility in Word then apply the Text to Columns utility in Excel.
doc split by first number 4

1. Copy the strings and paste in a Word document, and press Ctrl + H keys to enable the Find and Replace dialog.
doc split by first number 5

2. In the Find and Replace dialog, type ([0-9]{1,}) into the Find what text box, type \1, into the Replace with dialog, click More to expand the dialog, and check Use wildcards. See screenshot:
doc split by first number 6

3. Click Replace All, and then click Yes > OK in the popping out dialogs. See screenshots:

doc split by first number 7 shot arrow right doc split by first number 8

Now a comma has been added after every number string. See screenshot:
doc split by first number 9

4. Copy the strings and paste back to Excel sheet, and click Data > Text to Columns. See screenshot:
doc split by first number 10

5. In the Text to Columns dialog, check Delimited, click Next, and then check Comma in Delimiters section. See screenshot:

doc split by first number 11 shot arrow right doc split by first number 12

6. Click Next, select a cell to output the result and click Finish. See screenshot:
doc split by first number 13

Now the strings have been split by the first text.
doc split by first number 14

Note: this method also works while the first part is text, and you only need to type ,\1 into the Replace with text box. See screenshot:
doc split by first number 15

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations