How to Split Number into Different Columns in Excel

Sometimes we get a number consists of some parts, for example, an ID for a student 100100120050121, the first 4 digits 1001 is class ID, next 001 is student ID, the last part 20050121 is the student’s birthday. If we want to split this number into three columns refer to above three parts, how can we do? Actually, in excel, we can use Text to Columns function to split number, sentence or string into different columns properly. This article will show you the details of split a number step by step.

For example:

Split Number into Different Columns 1

Refer to above rule, we need to split number in column A to column B, C, D.

Split Number into Different Columns in Excel


Step 1: Copy A2 to B2 firstly.

Split Number into Different Columns 2

Step 2: Select B2, then click Date in ribbon, click Text to Columns in Data Tools group.

Split Number into Different Columns 3

Verify that ‘Convert Text to Columns Wizard’ window pops up. Total 3 steps.

Split Number into Different Columns 4

Step 3: Check on ‘Fixed width’, and click Next. As we want to split a number, so we can split it by different width; if there are some characters exist in number, you can keep default option ‘Delimited’, and set different character per your demands as separator.

Split Number into Different Columns 5

Step 4: Add two break lines to split number refer to description. Verify that number is split by break lines properly in Data preview field. Then click Next.

Split Number into Different Columns 6

Step 5: In the last step, select the format for each section. We select Text in this case. Then click Finish.

Split Number into Different Columns 7

Step 6: Verify that number is split properly.

Split Number into Different Columns 8

Comment:

If number is displayed as ‘1001 001 20050121’ with two space to connect each part, you can check on ‘Delimited’ in ‘Convert Text to Columns Wizard’ step 2 and check on ‘Space’ as separator to split number. See screenshot below:

Split Number into Different Columns 9

 

Related Posts

Calculate Years Between Dates In Ms Excel

If you are an avid Ms Excel user, then you might have come across a task in which you needed to calculate the years between the dates; you might take it easy and do this task manually, which is also ...

Calculate Number of Hours between Two Times

Calculating the difference between two times might be a valuable statistic for subsequent computations or averages, whether you're producing a time sheet for staff or recording personal exercises. While Excel has a plethora of complex functions, including date and time ...

Calculate Loan Interest in Given Year

When you borrow money, you are supposed to repay it gradually. Lenders, on the other hand, want to be compensated for their services and the risk they incur by lending you money. That is, you will not just repay the ...

Calculate Interest Rate for Loan

The interest rate is the fee charged by a lender to a borrower and is expressed as a percentage of the principal—the lent amount. The interest rate on a loan is often expressed as an annual percentage rate, abbreviated as ...

Calculate Interest for Given Period

Using the IPMT function in Excel, we can compute the interest payment on any loan. This step-by-step tutorial will guide Excel users of all skill levels through the process to calculate interest for given period. Finally, the formula: =IPMT(B3/12,1,B5,-B2) The ...

How To Use Excel GCD Function

This post will guide you how to use Excel GCD function with syntax and examples in Microsoft excel. Description The Excel GCD function Returns the greatest common divisor of two or more integers. So you can use the GCD function ...

Calculate A Ratio From Two Numbers In Excel

In elementary mathematics, a ratio is a connection or comparison between two or more integers. For example, ratios are often expressed as ":" to demonstrate the relationship between two numbers. You would think that manually calculating a ratio from two ...

How To Use Excel RRI Function

This post will guide you how to use Excel RRI function with syntax and examples in Microsoft excel. Description The Excel RRI function Returns an equivalent interest rate for the growth of an investment. So you can use the RRI ...

CAGR Formula Examples in Excel

CAGR in Excel is a formula that calculates the compound annual growth rate for any invested amount over the specified years or timeframe. Although there is no direct function in Excel that can help us identify the CAGR value, there ...

Build Hyperlink With VLOOKUP in Excel

You might have come across a task in which you were assigned to build hyperlinks, which seems very easy, and if you are new to excel or don't have enough experience with it, then you might wonder about doing this ...

Sidebar