+ Reply to Thread
Results 1 to 3 of 3

In a column of text data, how do I delete random cells that have .

  1. #1
    Minivann
    Guest

    In a column of text data, how do I delete random cells that have .

    for example, in the column of city, I have some cells with data in this
    format:"city,state" and i just want the city.
    Do I have to go manually and delete or is there a quicker way?

    thank you

  2. #2
    Jason Morin
    Guest

    Re: In a column of text data, how do I delete random cells that have .

    Select the column, press Ctrl+H, key in

    ,*

    into "Find What" and click "Replace All".

    HTH
    Jason
    Atlanta, GA

    >-----Original Message-----
    >for example, in the column of city, I have some cells

    with data in this
    >format:"city,state" and i just want the city.
    >Do I have to go manually and delete or is there a

    quicker way?
    >
    >thank you
    >.
    >


  3. #3
    Gord Dibben
    Guest

    Re: In a column of text data, how do I delete random cells that have .

    Mini

    Data>Text to Columns>Delimited by comma>Next select the "state" column and "do
    not import".

    Or if you want to preserve the data in the original column, in an adjacent
    column enter

    =LEFT(A2,IF(ISERROR(FIND(",",A2,1)),LEN(A2),FIND(",",A2,1)-1))

    Copy down.


    Gord Dibben Excel MVP

    On Wed, 26 Jan 2005 11:23:02 -0800, "Minivann"
    <Minivann@discussions.microsoft.com> wrote:

    >for example, in the column of city, I have some cells with data in this
    >format:"city,state" and i just want the city.
    >Do I have to go manually and delete or is there a quicker way?
    >
    >thank you



+ 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