+ Reply to Thread
Results 1 to 6 of 6

if cell doesn't contain multiple words then return "S"

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    Wellington, NZ
    MS-Off Ver
    Excel 2010
    Posts
    5

    if cell doesn't contain multiple words then return "S"

    I have found this command:

    =IF(ISERROR(SEARCH("x",A1)),"Z","")

    How do you make mulitple arguements? I can't seem to get an =if(or(... function working.

    Basically I have a cell with 5 if functions already and I need to add another arguement that if cell A doesn't have the text "Apple", "Banana", "Orange", "Carrot" or "Pear" then say "S", if not then say "".

    that possible?

    Many thanks
    Mike

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: if cell doesn't contain multiple words then return "S"

    Try this...
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: if cell doesn't contain multiple words then return "S"

    Please Login or Register  to view this content.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: if cell doesn't contain multiple words then return "S"

    Try something like this...

    =IF(SUMPRODUCT(--ISNUMBER(SEARCH({"Apple","Banana","Orange","Carrot","Pear"},A1))),"","S")
    Last edited by AlphaFrog; 06-20-2013 at 02:49 AM. Reason: doesn't contain text

  5. #5
    Registered User
    Join Date
    06-18-2013
    Location
    Wellington, NZ
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: if cell doesn't contain multiple words then return "S"

    Hi All, Thanks for the repsonses. Unfortunately I am looking for a formula that answer "S" if the arguement is True. Not if it is false. Is that possible?

    Cheers
    Mike

  6. #6
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: if cell doesn't contain multiple words then return "S"

    Quote Originally Posted by mikeop99 View Post
    Hi All, Thanks for the responses. Unfortunately I am looking for a formula that answer "S" if the argument is True. Not if it is false. Is that possible?

    Cheers
    Mike
    Swap the "" with the "S" at the end of any of the IF formulas

+ 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