+ Reply to Thread
Results 1 to 3 of 3

Search within a part of a column

Hybrid View

OBIPEDA Search within a part of a... 06-16-2005, 11:47 AM
duane try this ... 06-16-2005, 11:55 AM
Guest Re: Search within a part of a... 06-16-2005, 03:05 PM
  1. #1
    Registered User
    Join Date
    06-16-2005
    Posts
    1

    Question Search within a part of a column

    Hello!
    I got a small question, which should not be any problem for a Excel specialist.

    I want to search through a part of a column (i.e. "E200:E250") for a specific text (i.e. "P"), and if in one cell of the specified range exactly this text is found, I want to set a seperate text (i.e. "B") in another cell (i.e. "E255).

    Has anyone of you some idea for me?

    I tried like =if(E200:E250="P"; "B"; ""), but is not working!

    Best regards,
    Peter

  2. #2
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    try this

    =IF(SUMPRODUCT(NOT(ISERROR(SEARCH("p",e200:e250,1)))*1)>0,5,6)

    substitute what you want for a positive (found) result for the 5, and for a negative (not found) result for the 6
    not a professional, just trying to assist.....

  3. #3
    Domenic
    Guest

    Re: Search within a part of a column

    Try...

    =IF(COUNTIF(E200:E250,"P"),"B","")

    Replace commas with semi-colons if your version of Excel uses the
    semi-colon as a list separator.

    Hope this helps!

    In article <OBIPEDA.1qq8eb_1118937915.5529@excelforum-nospam.com>,
    OBIPEDA <OBIPEDA.1qq8eb_1118937915.5529@excelforum-nospam.com> wrote:

    > Hello!
    > I got a small question, which should not be any problem for a Excel
    > specialist.
    >
    > I want to search through a part of a column (i.e. "E200:E250") for a
    > specific text (i.e. "P"), and if in one cell of the specified range
    > exactly this text is found, I want to set a seperate text (i.e. "B") in
    > another cell (i.e. "E255).
    >
    > Has anyone of you some idea for me?
    >
    > I tried like =if(E200:E250="P"; "B"; ""), but is not working!
    >
    > Best regards,
    > Peter


+ 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