If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 adding a zero in front of number
 Author Name Remember Me? Password
 Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

## adding a zero in front of number

 Thread Tools Display Modes
#1
April 7th 05, 08:03 PM
 Pinky external usenet poster Posts: n/a
adding a zero in front of number

how do you add a zero in front of other numbers, I am using item numbers and
most start with zero, just shows whole numbers when I enter. example 095421
when I enter shows 95421. help.
#2
April 7th 05, 08:21 PM
 Arvi Laanemets external usenet poster Posts: n/a

Hi

When the number must remain numeric data, then format the cell as Custom
"00000" (the number of 0's determines to which length is the entry padded).

When you want the number to be converted to string, then use the formula (in
my example the original number resides in cell A1)
=TEXT(A1,"00000")
(again, the number of 0's in format string determines the length of padding)

Arvi Laanemets

"Pinky" > wrote in message
...
> how do you add a zero in front of other numbers, I am using item numbers

and
> most start with zero, just shows whole numbers when I enter. example

095421
> when I enter shows 95421. help.

#3
April 7th 05, 08:27 PM
 SUNIL S GAWDE \(INDIA\) external usenet poster Posts: n/a

>-----Original Message-----
>how do you add a zero in front of other numbers, I am

using item numbers and
>most start with zero, just shows whole numbers when I

enter. example 095421
>when I enter shows 95421. help.
>.
>

You will have to custom format the cells in question
as "00" or "000" or "0000" etc depending on number of
leading Zeros you wish to put. The 1 will show as 01 or
001 or 0001 etc resp.
Select the cells in question. Go to Format-Cells-Number-
Custom. Then type 00 or 000 or 0000 etc in the Type: box
to the right side.
Hope this helps you. You can reach me at
for more assistance.

#4
April 7th 05, 09:05 PM
 Fredrik Wahlgren external usenet poster Posts: n/a

"Pinky" > wrote in message
...
> how do you add a zero in front of other numbers, I am using item numbers

and
> most start with zero, just shows whole numbers when I enter. example

095421
> when I enter shows 95421. help.

Enter the number as '095421 with a leading apostrophe.

/Fredrik

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Excel Newsgroups     Excel Discussion (Misc queries)     Setting up and Configuration of Excel     New Users to Excel     Excel Worksheet Functions     Links and Linking in Excel     Charts and Charting in Excel     Excel Programming About ExcelBanter     About this forum

 Similar Threads Thread Thread Starter Forum Replies Last Post adding to a number containing text R D S Excel Discussion (Misc queries) 4 January 21st 05 03:55 AM Adding + in front of a number Ted Metro Excel Discussion (Misc queries) 3 December 29th 04 10:45 PM Adding a number to a date as workdays Chris Maximus Excel Worksheet Functions 6 December 8th 04 08:48 PM GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM Adding A Set Number Once a Week? HeatherDawn Excel Worksheet Functions 4 November 23rd 04 10:38 PM

All times are GMT +1. The time now is 11:29 PM.

 - Contact Us - ExcelBanter forum home - FAQ - Links - Privacy Statement - Top