ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I type number that begins with a zero to keep zero? (https://www.excelbanter.com/excel-discussion-misc-queries/46134-how-do-i-type-number-begins-zero-keep-zero.html)

Vickie Newton

How do I type number that begins with a zero to keep zero?
 
I am typing last four digits of social in cells and ones that begin with
zero, will not hold the zero. How do if fix this? thanks Vickie Newto

DNA

Format the cell as Custom and under the "Type" section type 0000.

HTH


David Billigmeier

Format the cells as "Text".... Format-Cells-Click on "Text"
--
Regards,
Dave
<!--


"Vickie Newton" wrote:

I am typing last four digits of social in cells and ones that begin with
zero, will not hold the zero. How do if fix this? thanks Vickie Newto


Dave Peterson

Give the cell(s) a custom format of 0000.
Format the cells as text, then type your entry.
Start your entry with a leading apostrophe: '0012

The first one will keep the value numeric. The bottom two will treat your value
as text.

Vickie Newton wrote:

I am typing last four digits of social in cells and ones that begin with
zero, will not hold the zero. How do if fix this? thanks Vickie Newto


--

Dave Peterson

AlfD


Hi!

Format the cell as text before you fill it.

Use Format Cells...NumberText.

It won't be a number anymore, but I can't imagine you want to calculate
using it...

Alf


--
AlfD
------------------------------------------------------------------------
AlfD's Profile: http://www.excelforum.com/member.php...fo&userid=4785
View this thread: http://www.excelforum.com/showthread...hreadid=468922



All times are GMT +1. The time now is 10:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com