Sean Timmons said:
Format Cells > Custom
'00000-000000'
Forgot the comma. Simply append it to Sean's custom format, to wit:
'00000-000000',
But that presumes that "jlo" has the number zero (or any other number) in
the cell to begin with. I'm suspicious, given that we usually advise people
to enter strings of digits as text (with apostrophe prefix or by
preformatting the cell as Text) when the digit string is not intended to be
used as a number (e.g. credit card number).
"Jlo", are you saying that you want to enter a number (e.g. zero) and have
it appear in the form '00000-000000', (with comma)?
Or are you saying that you see 00000000000 in the cell, and you want it to
appear in that form?
If the latter, is the cell value numeric or text? For example, does
=TYPE(A1) result in 1 or 2?
If Sean's solution does not work for you, the reason might that the cell
contains text, one way or another.
----- original message -----