Split number into individual digits in Excel
This tutorial explains how to use a combination of the MID and COLUMN functions to split a specific number in a cell into individual digits in Excel.
How to split number into individual digits in Excel?
As the below screenshot shown, you want to separate number in each cell into individual digits. Please do as follows to get it done.
How to use this formula?
1. Select a blank cell to output the first digit. In this case, I select D3.
2. Enter the below formula into it and press the Enter key. Then the first digit of the number in cell B3 has been extracted.
3. Select the result cell, and then drag its Fill Handle right to apply the formula to the right cells until all digits of the number in B3 are extracted.
4. Keep the above cells selecting, and then drag the Fill Handle down to get all digits of other cells in column B. See screenshot.
How this formula works?
1. COLUMN(): In this case, I select cell D3 to enter the formula, so the COLUMN function here returns 4, because column D is the fourth column in the worksheet;
2. COLUMN($D3): Here the COLUMN function returns the column number of the reference $D3. Here the result is 4;
3. MID(12345,4-(4- 1),1): The MID function extracts one digit from the number "12345", starting at the first digit.