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 / Worksheet Functions / February 2007

Tip: Looking for answers? Try searching our database.

Format serie of numbers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Norm Gregoire - 10 Feb 2007 13:38 GMT
I need the following number to look as follows:
Is:         A1 D01-3
Want:    A01 D01-3

I need to add a zero after the A to 3000 entries without changing the rest.
Can it be done?
Thanks
Norm
Mike - 10 Feb 2007 14:02 GMT
Assuming your first number is in A1 enter this in B1 and drag down

=LEFT(A1,1)&"0"&+MID(A1,2,7)

> I need the following number to look as follows:
> Is:         A1 D01-3
[quoted text clipped - 4 lines]
> Thanks
> Norm
andy62 - 10 Feb 2007 14:05 GMT
If it's the only "A" in the text you could just use the Replace function, and
replace "A" with "A0"

> I need the following number to look as follows:
> Is:         A1 D01-3
[quoted text clipped - 4 lines]
> Thanks
> Norm
daddylonglegs - 10 Feb 2007 14:47 GMT
With a formula in another cell.....assuming your data in cell B2

=REPLACE(B2,2,0,0)

> If it's the only "A" in the text you could just use the Replace function, and
> replace "A" with "A0"
[quoted text clipped - 7 lines]
> > Thanks
> > Norm
Teethless mama - 10 Feb 2007 14:44 GMT
=SUBSTITUTE(A1,"A","A0")

copy down as far as needed

> I need the following number to look as follows:
> Is:         A1 D01-3
[quoted text clipped - 4 lines]
> Thanks
> Norm
Norm Gregoire - 12 Feb 2007 16:18 GMT
Thanks to all,
I used the  REPLACE  function for this problem. Back in business!

> I need the following number to look as follows:
> Is:         A1 D01-3
[quoted text clipped - 4 lines]
> Thanks
> Norm
 
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.