+ Reply to Thread
Results 1 to 2 of 2

IF statements

Hybrid View

  1. #1
    Registered User
    Join Date
    06-17-2013
    Location
    Lindale, TX
    MS-Off Ver
    Excel 2007
    Posts
    6

    Question IF statements

    Not really sure what to use. I'm trying to look at one cell (A1) and if it contains a certain work or phrase then another cell (B2) is true.
    Last edited by turpin_1980; 06-27-2013 at 09:53 AM.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: What formulas or Funtion should i use

    Hi,

    Depends what you mean by "contains". If you mean that the entry in cell A1 matches precisely your phrase, then, in B2 enter:

    =IF(A1="This Phrase",TRUE)

    If you mean that cell A1 contains your phrase somewhere within its string, then, in B2:

    =IF(ISNUMBER(SEARCH("This Phrase",A1)),TRUE)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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