ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Text to Columns from the Left (https://www.excelbanter.com/excel-worksheet-functions/8158-text-columns-left.html)

Jim

Text to Columns from the Left
 
I have a column that has the following:

***************025
25

I need to reduce the column width, but I need to keep the
numbers and 9 stars. When I use text to columns, it wants
to seperate the records with stars from the records with
just numbers. Any idea's?

Thanks Guys !!
Jim

Dave R.

This is worksheet.functions.. so if you want a formula solution, you can
try:

=IF(ISNUMBER(FIND("*",A1)),REPT("*",9)&SUBSTITUTE( A1,"*",""),A1)


"Jim" wrote in message
...
I have a column that has the following:

***************025
25

I need to reduce the column width, but I need to keep the
numbers and 9 stars. When I use text to columns, it wants
to seperate the records with stars from the records with
just numbers. Any idea's?

Thanks Guys !!
Jim




Jim

Thanks !!! You are the man !!!
-----Original Message-----
This is worksheet.functions.. so if you want a formula

solution, you can
try:

=IF(ISNUMBER(FIND("*",A1)),REPT("*",9)&SUBSTITU TE

(A1,"*",""),A1)


"Jim" wrote in message
...
I have a column that has the following:

***************025
25

I need to reduce the column width, but I need to keep

the
numbers and 9 stars. When I use text to columns, it

wants
to seperate the records with stars from the records with
just numbers. Any idea's?

Thanks Guys !!
Jim



.



All times are GMT +1. The time now is 07:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com