Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String Forluma

Status
Not open for further replies.

rb2005

Programmer
Mar 7, 2005
110
US
Hi,
I have to create a formula which will convert this
05-123-00
50200500012300.
I can concatenate 50 with the exsisting string. I wrote a formula to convert 05 to 2005 or 96 to 1996. Is there a way I can count how many characters are there between two "-" and add zeros accordingly.

Thanks in advance.

RB
 
I think it would help if you showed some more sample data along with what the converted data should look like. It might also help to see the formula as you have it so far.

-LB
 
I have already solved it. Thanks anyway.
 
It would be potentially helpful to others if you posted your solution.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top