Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Find and Add a number in a text field

I have a list of activity IDs that I need to add a number or a letter before
a period (.) Here's examples:

Orig Activity ID
1.1.1.2
2.5.8.9
4.5.9.6.7.1.2
10.25.20.20.10.50

I want to find a formula that would put a zero (0) before each period (.)
and a zero after the last number in the field in the activity ID. So after
the formula it would look like this: 10.10.10.20; 20.50.80.90;
40.50.90.60.70.10.20; 100.250.200.200.100.500

Any help would be greatly appreciated.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 301
Default Find and Add a number in a text field

=SUBSTITUTE(A1,".","0.")&"0"
Bob Umlas
Excel MVP

"dereksmom" wrote in message
...
I have a list of activity IDs that I need to add a number or a letter
before
a period (.) Here's examples:

Orig Activity ID
1.1.1.2
2.5.8.9
4.5.9.6.7.1.2
10.25.20.20.10.50

I want to find a formula that would put a zero (0) before each period (.)
and a zero after the last number in the field in the activity ID. So
after
the formula it would look like this: 10.10.10.20; 20.50.80.90;
40.50.90.60.70.10.20; 100.250.200.200.100.500

Any help would be greatly appreciated.

Thanks.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble sorting first by a dates field and then by a text field. trainer07 Excel Discussion (Misc queries) 1 December 6th 06 12:25 AM
how do i use VLOOKUP to find text and return a number? roza_j2002 Excel Discussion (Misc queries) 8 August 14th 06 11:59 PM
find number position in excel text cell Don Excel Discussion (Misc queries) 5 April 7th 06 09:34 PM
Number Field to Text or Words mr_bsh Excel Discussion (Misc queries) 5 May 10th 05 03:40 PM
Find all text instances in a sheet and add one number from each row Greg Excel Discussion (Misc queries) 1 January 31st 05 11:45 PM


All times are GMT +1. The time now is 03:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"