Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / June 2007

Tip: Looking for answers? Try searching our database.

update column

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
brian - 25 Jun 2007 21:01 GMT
How would I update a column with numeric values so that there are 3 leading
zeros for each row?
FSt1 - 25 Jun 2007 22:46 GMT
hi
it is not possible to add leading zeros to a numeric value. Mathematically,
this is redundent and unnecessary.

> How would I update a column with numeric values so that there are 3 leading
> zeros for each row?
FSt1 - 25 Jun 2007 22:51 GMT
opps.
hit the post button too quick.
option 1. custom format
if your numeric value is 12345 then see the custom format to 00000000.
note. format do not change data - it just changes the way it looks in the
cell.
option2. format to text
then use the concatinate function to add the leading zeros.
your numeric values would not longer be numeric values but treated as text
by excel.

regards
FSt1

> How would I update a column with numeric values so that there are 3 leading
> zeros for each row?
Don Guillett - 25 Jun 2007 23:38 GMT
for each c in range("a2:a200")
c.value="000"& c
next c

Signature

Don Guillett
SalesAid Software
dguillett1@austin.rr.com

> How would I update a column with numeric values so that there are 3
> leading
> zeros for each row?
FSt1 - 26 Jun 2007 00:14 GMT
hi,
format range A2:a200 to text first.
does works better that the concatinate formula. alot quicker. less mouse work.

regards
FSt1

> for each c in range("a2:a200")
> c.value="000"& c
[quoted text clipped - 3 lines]
> > leading
> > zeros for each row?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.