I have an Excel file that looks like this. In A4 I have put in the number 1023312345, but I have assigned a custom made number format that goes 000000-00000 to be sure that there is a 0 in from of the number - the number should ALWAYS have 6 numbers before
dash, then five numbers after dash. So example 030467-12345 when typed into the cell MUST show with the zero in front, and not as 30467-12345 (since Excel usually leaves out 0 in front of a number).
SO this works ok.

In cell B4 I have used the function LEFT - the problem is that left does NOT pick up the 0 in front, and leaves me without the zero. I have tried to use a text function before the left function to correct this, but it does not work. How can I write the function
that picks up the 6 first numbers from cell A4, including the 0 in front, and shows me the result 010233 and not 102331.... See my function in the formula bar on the screenshot.... It picks out the 6 digits, but not the zero.... Any suggestions? I guess it
is some sort of TEXT function, but I am unsure about the format to choose. Or is there any other solutions?

Also, finally, in the first personal number - example: 010233-12345 I want to use the MID function to pick out the number 3 (that is in 12345 (last part of the number). I can use MID to count the positions, however, when the format is put in like 000000-00000,
and I count 9 positions into the number, Excel starts counting in the number 1023312345 and ends up with 4. I want it to also count the 0 in front and end up with the number 3. How can I make Excel understand that the 0 in front is part of the text and must
be included in the function. So - start counting from left from the 0 and 9 positions into the text.
Hope someone understand, and can help??!
Regards from Kathrine