+ Reply to Thread
Results 1 to 10 of 10

Search for specific words

Hybrid View

  1. #1
    Newberry
    Guest

    Search for specific words

    I have imported data from a database.
    One column contains comments which might include words such as:-
    store
    compound
    laundry

    If one of the above words is included in the text cell I would like to
    assign a code to it in an adjacent column, i.e.
    store A
    compound B
    laundry C
    Is this possible
    thanks
    Newberry

    --
    Remove DOG from address



  2. #2
    Dave R.
    Guest

    Re: Search for specific words

    Try

    =IF(ISNUMBER(SEARCH("store",A1),"A","")

    change SEARCH to FIND to make it case sensitive.


    "Newberry" <newberryDOG@zoom.co.uk> wrote in message
    news:42deb653$0$1261$da0feed9@news.zen.co.uk...
    > I have imported data from a database.
    > One column contains comments which might include words such as:-
    > store
    > compound
    > laundry
    >
    > If one of the above words is included in the text cell I would like to
    > assign a code to it in an adjacent column, i.e.
    > store A
    > compound B
    > laundry C
    > Is this possible
    > thanks
    > Newberry
    >
    > --
    > Remove DOG from address
    >
    >




  3. #3
    Newberry
    Guest

    Re: Search for specific words

    Dave,
    thanks for taking the time to reply.
    When I enter your formula I get an error, I think one of the closing
    brackets is missing from the formula but I'm not able to correct it.
    Newberry

    "Dave R." <daverx@hotmail.com> wrote in message
    news:%238Ad7TXjFHA.1968@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =IF(ISNUMBER(SEARCH("store",A1),"A","")
    >
    > change SEARCH to FIND to make it case sensitive.
    >
    >
    > "Newberry" <newberryDOG@zoom.co.uk> wrote in message
    > news:42deb653$0$1261$da0feed9@news.zen.co.uk...
    >> I have imported data from a database.
    >> One column contains comments which might include words such as:-
    >> store
    >> compound
    >> laundry
    >>
    >> If one of the above words is included in the text cell I would like to
    >> assign a code to it in an adjacent column, i.e.
    >> store A
    >> compound B
    >> laundry C
    >> Is this possible
    >> thanks
    >> Newberry
    >>
    >> --
    >> Remove DOG from address
    >>
    >>

    >
    >




  4. #4
    Newberry
    Guest

    Re: Search for specific words

    Dave,
    thanks for taking the time to reply.
    When I enter your formula I get an error, I think one of the closing
    brackets is missing from the formula but I'm not able to correct it.
    Newberry

    "Dave R." <daverx@hotmail.com> wrote in message
    news:%238Ad7TXjFHA.1968@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =IF(ISNUMBER(SEARCH("store",A1),"A","")
    >
    > change SEARCH to FIND to make it case sensitive.
    >
    >
    > "Newberry" <newberryDOG@zoom.co.uk> wrote in message
    > news:42deb653$0$1261$da0feed9@news.zen.co.uk...
    >> I have imported data from a database.
    >> One column contains comments which might include words such as:-
    >> store
    >> compound
    >> laundry
    >>
    >> If one of the above words is included in the text cell I would like to
    >> assign a code to it in an adjacent column, i.e.
    >> store A
    >> compound B
    >> laundry C
    >> Is this possible
    >> thanks
    >> Newberry
    >>
    >> --
    >> Remove DOG from address
    >>
    >>

    >
    >




  5. #5
    Newberry
    Guest

    Re: Search for specific words

    Following up my previous post, the following works for me,
    =IF(ISNUMBER(SEARCH("store",A1)),"A","").
    I added a second close bracket after the cell reference
    Newberry

    "Newberry" <newberryDOG@zoom.co.uk> wrote in message
    news:42e009ae$0$30661$db0fefd9@news.zen.co.uk...
    > Dave,
    > thanks for taking the time to reply.
    > When I enter your formula I get an error, I think one of the closing
    > brackets is missing from the formula but I'm not able to correct it.
    > Newberry
    >
    > "Dave R." <daverx@hotmail.com> wrote in message
    > news:%238Ad7TXjFHA.1968@TK2MSFTNGP14.phx.gbl...
    >> Try
    >>
    >> =IF(ISNUMBER(SEARCH("store",A1),"A","")
    >>
    >> change SEARCH to FIND to make it case sensitive.
    >>
    >>
    >> "Newberry" <newberryDOG@zoom.co.uk> wrote in message
    >> news:42deb653$0$1261$da0feed9@news.zen.co.uk...
    >>> I have imported data from a database.
    >>> One column contains comments which might include words such as:-
    >>> store
    >>> compound
    >>> laundry
    >>>
    >>> If one of the above words is included in the text cell I would like to
    >>> assign a code to it in an adjacent column, i.e.
    >>> store A
    >>> compound B
    >>> laundry C
    >>> Is this possible
    >>> thanks
    >>> Newberry
    >>>
    >>> --
    >>> Remove DOG from address
    >>>
    >>>

    >>
    >>

    >
    >




  6. #6
    Newberry
    Guest

    Re: Search for specific words

    Following up my previous post, the following works for me,
    =IF(ISNUMBER(SEARCH("store",A1)),"A","").
    I added a second close bracket after the cell reference
    Newberry

    "Newberry" <newberryDOG@zoom.co.uk> wrote in message
    news:42e009ae$0$30661$db0fefd9@news.zen.co.uk...
    > Dave,
    > thanks for taking the time to reply.
    > When I enter your formula I get an error, I think one of the closing
    > brackets is missing from the formula but I'm not able to correct it.
    > Newberry
    >
    > "Dave R." <daverx@hotmail.com> wrote in message
    > news:%238Ad7TXjFHA.1968@TK2MSFTNGP14.phx.gbl...
    >> Try
    >>
    >> =IF(ISNUMBER(SEARCH("store",A1),"A","")
    >>
    >> change SEARCH to FIND to make it case sensitive.
    >>
    >>
    >> "Newberry" <newberryDOG@zoom.co.uk> wrote in message
    >> news:42deb653$0$1261$da0feed9@news.zen.co.uk...
    >>> I have imported data from a database.
    >>> One column contains comments which might include words such as:-
    >>> store
    >>> compound
    >>> laundry
    >>>
    >>> If one of the above words is included in the text cell I would like to
    >>> assign a code to it in an adjacent column, i.e.
    >>> store A
    >>> compound B
    >>> laundry C
    >>> Is this possible
    >>> thanks
    >>> Newberry
    >>>
    >>> --
    >>> Remove DOG from address
    >>>
    >>>

    >>
    >>

    >
    >




  7. #7
    Newberry
    Guest

    Re: Search for specific words

    Following up my previous post, the following works for me,
    =IF(ISNUMBER(SEARCH("store",A1)),"A","").
    I added a second close bracket after the cell reference
    Newberry

    "Newberry" <newberryDOG@zoom.co.uk> wrote in message
    news:42e009ae$0$30661$db0fefd9@news.zen.co.uk...
    > Dave,
    > thanks for taking the time to reply.
    > When I enter your formula I get an error, I think one of the closing
    > brackets is missing from the formula but I'm not able to correct it.
    > Newberry
    >
    > "Dave R." <daverx@hotmail.com> wrote in message
    > news:%238Ad7TXjFHA.1968@TK2MSFTNGP14.phx.gbl...
    >> Try
    >>
    >> =IF(ISNUMBER(SEARCH("store",A1),"A","")
    >>
    >> change SEARCH to FIND to make it case sensitive.
    >>
    >>
    >> "Newberry" <newberryDOG@zoom.co.uk> wrote in message
    >> news:42deb653$0$1261$da0feed9@news.zen.co.uk...
    >>> I have imported data from a database.
    >>> One column contains comments which might include words such as:-
    >>> store
    >>> compound
    >>> laundry
    >>>
    >>> If one of the above words is included in the text cell I would like to
    >>> assign a code to it in an adjacent column, i.e.
    >>> store A
    >>> compound B
    >>> laundry C
    >>> Is this possible
    >>> thanks
    >>> Newberry
    >>>
    >>> --
    >>> Remove DOG from address
    >>>
    >>>

    >>
    >>

    >
    >




  8. #8
    Newberry
    Guest

    Re: Search for specific words

    Dave,
    thanks for taking the time to reply.
    When I enter your formula I get an error, I think one of the closing
    brackets is missing from the formula but I'm not able to correct it.
    Newberry

    "Dave R." <daverx@hotmail.com> wrote in message
    news:%238Ad7TXjFHA.1968@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =IF(ISNUMBER(SEARCH("store",A1),"A","")
    >
    > change SEARCH to FIND to make it case sensitive.
    >
    >
    > "Newberry" <newberryDOG@zoom.co.uk> wrote in message
    > news:42deb653$0$1261$da0feed9@news.zen.co.uk...
    >> I have imported data from a database.
    >> One column contains comments which might include words such as:-
    >> store
    >> compound
    >> laundry
    >>
    >> If one of the above words is included in the text cell I would like to
    >> assign a code to it in an adjacent column, i.e.
    >> store A
    >> compound B
    >> laundry C
    >> Is this possible
    >> thanks
    >> Newberry
    >>
    >> --
    >> Remove DOG from address
    >>
    >>

    >
    >




  9. #9
    Dave R.
    Guest

    Re: Search for specific words

    Try

    =IF(ISNUMBER(SEARCH("store",A1),"A","")

    change SEARCH to FIND to make it case sensitive.


    "Newberry" <newberryDOG@zoom.co.uk> wrote in message
    news:42deb653$0$1261$da0feed9@news.zen.co.uk...
    > I have imported data from a database.
    > One column contains comments which might include words such as:-
    > store
    > compound
    > laundry
    >
    > If one of the above words is included in the text cell I would like to
    > assign a code to it in an adjacent column, i.e.
    > store A
    > compound B
    > laundry C
    > Is this possible
    > thanks
    > Newberry
    >
    > --
    > Remove DOG from address
    >
    >




  10. #10
    Dave R.
    Guest

    Re: Search for specific words

    Try

    =IF(ISNUMBER(SEARCH("store",A1),"A","")

    change SEARCH to FIND to make it case sensitive.


    "Newberry" <newberryDOG@zoom.co.uk> wrote in message
    news:42deb653$0$1261$da0feed9@news.zen.co.uk...
    > I have imported data from a database.
    > One column contains comments which might include words such as:-
    > store
    > compound
    > laundry
    >
    > If one of the above words is included in the text cell I would like to
    > assign a code to it in an adjacent column, i.e.
    > store A
    > compound B
    > laundry C
    > Is this possible
    > thanks
    > Newberry
    >
    > --
    > Remove DOG from address
    >
    >




+ 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