+ Reply to Thread
Results 1 to 3 of 3

select part of a cell value string

  1. #1
    rich_j_h
    Guest

    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

  2. #2
    Bob Phillips
    Guest

    Re: select part of a cell value string

    Hi Rich,

    Try this

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

    --
    HTH

    Bob Phillips

    "rich_j_h" <[email protected]> wrote in message
    news:[email protected]...
    > 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




  3. #3
    Jason Morin
    Guest

    RE: select part of a cell value string

    =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


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1