+ Reply to Thread
Results 1 to 2 of 2

Using IF statements when the conditions contain complex characters such as >,<,+,=, or "

  1. #1
    Registered User
    Join Date
    10-06-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    78

    Using IF statements when the conditions contain complex characters such as >,<,+,=, or "

    I have a list of notes for our accounts that contain proprietary code. I have exported these notes to excel and I want to find all the accounts that have the specific line of code below.

    <font size="+.25"><font color="blue"><b> Received %50 Down</b></font>

    Part of the problem is that the cells may contain other information. I want to use an if statement to return a 1 if the code is in the cell and 0 otherwise. I tried using a wildcard but I think the " and >< characters are messing it up. See the attached file, I need a solution!

    =IF(D2="*<font size="+.25"><font color="blue"><b> Received %50 Down</b></font>*",1,0)
    Did NOT work

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Using IF statements when the conditions contain complex characters such as >,<,+,=, or

    =IF(ISERROR(FIND("font size="&CHAR(34)&"+.25"&CHAR(34),D2)),0,1) and drag it down

+ 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