+ Reply to Thread
Results 1 to 2 of 2

Proper syntax to return an * in an IF statement

  1. #1
    Registered User
    Join Date
    07-18-2016
    Location
    San Diego
    MS-Off Ver
    2007
    Posts
    13

    Proper syntax to return an * in an IF statement

    I am trying to exchange any cell with a "`" in it with an asterisk "*"; if not, leave blank. Seems easy enough. Why wont this formula work?

    =if(B1="`",*,,)

    Thanks
    Last edited by Pallando_II; 02-22-2017 at 08:28 PM.

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

    Re: Trouble with IF

    =if(B1="`","*",,)

+ 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. Proper formula syntax for an AND statement?
    By redsab in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-21-2013, 10:58 AM
  2. Proper IF syntax when using in VBA
    By scott28 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2013, 06:25 AM
  3. Proper syntax for IF statement
    By L.LEE in forum Excel General
    Replies: 1
    Last Post: 12-30-2012, 11:11 AM
  4. Proper syntax for an If/Then statement
    By sparemail72 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-24-2012, 09:25 AM
  5. Proper syntax for an IF statement
    By Stuart_Mansfield in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2012, 01:52 PM
  6. Proper syntax for IF statement within macro
    By rap73 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-30-2012, 11:25 PM
  7. [SOLVED] Proper syntax for an If statement with OR
    By publius190 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-26-2012, 10:00 AM

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