Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am trying to use MID to extract teh first 2 numbers of a 4 digit number
that is in a cell. The problem is, the number sometimes has a "0" as the first digit and when this happens, MID() ignores the 0, and reads the 2nd and 3rd character. So: Cell A1 = 0123 Cell B2 =MID(A1,1,2) Returns 12 instead of 1 How can I fix this? I need tehm to stay numbers so I can use them in mathmatical operations in another formula. I thought I had teh problem solved by formatting the cell to "Number -custom 0000" TIA Adam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
have some problem with database | Excel Discussion (Misc queries) | |||
Urgent Help Required on Excel Macro Problem | Excel Discussion (Misc queries) | |||
Problem With Reference Update | Excel Worksheet Functions | |||
Copy an Drag cell Formula Problem | Excel Discussion (Misc queries) | |||
Freeze Pane problem in shared workbooks | Excel Discussion (Misc queries) |