ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I display the number 007? It keeps changing to 7 (https://www.excelbanter.com/excel-worksheet-functions/21381-how-do-i-display-number-007-keeps-changing-7-a.html)

Amy

How do I display the number 007? It keeps changing to 7
 
I need to have zeros in front of my numbers, but the worksheet keeps removing
the zeros. I need it to display 007, 042. etc

CLR

One way is to type an apostrophe before the first zero......it won't show,
but changes the value to TEXT and displays the leading zeros..........

Vaya con Dios,
Chuck, CABGx3


"Amy" wrote in message
...
I need to have zeros in front of my numbers, but the worksheet keeps

removing
the zeros. I need it to display 007, 042. etc




Gord Dibben

Methods......

1. Enter an apostrophe before typing the number.

2. Pre-format the cells as Text before entry.

3. Use a Custom Format of 000

The first two will be text and not calculable.

The third will not change the value of the numbers, formatting only.


Gord Dibben Excel MVP

On Sun, 10 Apr 2005 18:25:05 -0700, Amy wrote:

I need to have zeros in front of my numbers, but the worksheet keeps removing
the zeros. I need it to display 007, 042. etc




All times are GMT +1. The time now is 02:22 AM.

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