Separating a Number Into Digits

In this article, you will learn how to separate number into digits; we use the MID function along with COLUMN function in Microsoft Excel.

1)    MID function is used to return a specific number of character(s) from a text string starting at the position specified and based on the number of characters specified.

image 1

2)    Column function is used to return the column number of a reference.

image 2


 Let’s take an example to understand how we can separate the number into digits.

Column A contains a list of numbers.

image 3


Separating the number in A2 into digits, so that each of cells B2:G2 contains one digit.

Follow below given steps:-

  • Write the formula in cell B2.
  • =MID($A2,COLUMN()-1,1)

image 4


  • Press Enter on your keyboard.
  • The function will return the first digit of cell A2.
  • To split the number of cell A2, copy the same formula by pressing the key Ctrl+C and paste in the range B2:G10.

image 5


Formula Explanation: - Mid function helps to pick the value, and column function is providing the number to Mid function which is required to be picked from the cell.


image 48


If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook.

We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at


  1. hi, i copy your formula then its working, but when i write or change column name its not working. plz tell me the university formula for that purpose.

  2. my cell contains combination of text and numbers how i will separate only numbers

    Selangor 50000
    abcd 45000 ded
    20000 cdef
    my text like in this text i want to separate only numbers pls help me

Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.