ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   select part of a cell value string (https://www.excelbanter.com/excel-discussion-misc-queries/26816-select-part-cell-value-string.html)

rich_j_h

select part of a cell value string
 
Hi,

I have a column of text (postcodes/zipcodes) in the following formats L3*1MT
or L12*3DE. What i want to do is have a second column that reads the first
column value and removes the *data, leaving just the L3 or L12. How can i do
this??

Thanks

Rich

Bob Phillips

Hi Rich,

Try this

=LEFT(A1,FIND("*",A1)-1)

--
HTH

Bob Phillips

"rich_j_h" wrote in message
...
Hi,

I have a column of text (postcodes/zipcodes) in the following formats

L3*1MT
or L12*3DE. What i want to do is have a second column that reads the

first
column value and removes the *data, leaving just the L3 or L12. How can i

do
this??

Thanks

Rich




Jason Morin

=LEFT(A1,FIND("*",A1)-1)

HTH
Jason
Atlanta, GA

"rich_j_h" wrote:

Hi,

I have a column of text (postcodes/zipcodes) in the following formats L3*1MT
or L12*3DE. What i want to do is have a second column that reads the first
column value and removes the *data, leaving just the L3 or L12. How can i do
this??

Thanks

Rich



All times are GMT +1. The time now is 08:19 PM.

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