ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Removing parts of Data in a Cell / [], # (https://www.excelbanter.com/excel-discussion-misc-queries/211705-removing-parts-data-cell-%5B%5D.html)

Teddy-B

Removing parts of Data in a Cell / [], #
 
I have date that is copied from another program (similar to notebook) and
pasted into excel. I perform text to colums and end up with ALMOST whta I
need. The problem is that two colums are not exactly right.

One colum shows four digit numbers with brackets [1234]. I need to keep the
number, but remove the brackets.
The second column has a string of numbers with #in front #12345678. I need
to keep the number string, but remove the # symbol.

Thanks

porter444

Removing parts of Data in a Cell / [], #
 
Use "Edit", "Replace" (and leave Replace with blank)
--
If my posting was helpful, please click the "Yes" button.

ROCK ON!,

Scott


"Teddy-B" wrote:

I have date that is copied from another program (similar to notebook) and
pasted into excel. I perform text to colums and end up with ALMOST whta I
need. The problem is that two colums are not exactly right.

One colum shows four digit numbers with brackets [1234]. I need to keep the
number, but remove the brackets.
The second column has a string of numbers with #in front #12345678. I need
to keep the number string, but remove the # symbol.

Thanks


David Biddulph[_2_]

Removing parts of Data in a Cell / [], #
 
=MID(A2,2,LEN(A2)-2) for the first
=RIGHT(A2,LEN(A2)-1) for the second
--
David Biddulph


"Teddy-B" wrote in message
...
I have date that is copied from another program (similar to notebook) and
pasted into excel. I perform text to colums and end up with ALMOST whta I
need. The problem is that two colums are not exactly right.

One colum shows four digit numbers with brackets [1234]. I need to keep
the
number, but remove the brackets.
The second column has a string of numbers with #in front #12345678. I need
to keep the number string, but remove the # symbol.

Thanks





All times are GMT +1. The time now is 07:50 PM.

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