+ Reply to Thread
Results 1 to 3 of 3

If a cell contains a symbol, value if true, value if false = is not working for me

  1. #1
    Registered User
    Join Date
    04-24-2020
    Location
    Philippines
    MS-Off Ver
    Office 365
    Posts
    1

    If a cell contains a symbol, value if true, value if false = is not working for me

    Hello,

    I'm looking to have a formula detect the symbol "?" question mark and turn in values if true or false.

    I saw the following formula:
    =IF(ISNUMBER(SEARCH("?",K23)),"&", "?")
    but it only works if what SEARCH is looking for is a text

    Is there a way for me to do this? Thanks!

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: If a cell contains a symbol, value if true, value if false = is not working for me

    Try using tilde.

    ex:
    =IF(ISNUMBER(SEARCH("~?",K23)),"&", "?")
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: If a cell contains a symbol, value if true, value if false = is not working for me

    Alternately, switch to the FIND function which does not recognize wildcards (? and *)
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. excel If Condition TRue False not working on decimals
    By bkvenkat in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2019, 04:59 AM
  2. [SOLVED] Application.screenupdating True towards False isnt working
    By Fean in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-07-2016, 11:45 AM
  3. [SOLVED] If cell a and b have data , true or else false
    By makinmomb in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-26-2014, 01:23 PM
  4. What is best to use for helper cells 0 or 1, typed true or false or =true =false
    By Gingermuppet in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2014, 10:41 PM
  5. [SOLVED] in this TRUE OR FALSE function, i want desired name instead of display true or false
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2013, 06:44 PM
  6. format true and false in a cell
    By rrobelen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-22-2010, 04:49 PM
  7. Checking if cell value is true or false
    By billiboy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-27-2009, 09:02 AM

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