+ Reply to Thread
Results 1 to 6 of 6

Creating an if statement

  1. #1
    Registered User
    Join Date
    03-23-2013
    Location
    usa
    MS-Off Ver
    Excel 2013
    Posts
    9

    Creating an if statement

    How do I go about doing the following:
    If cell "A" contains any number value than cell "B" will simply just show an addition sign (+)? I don't want it to do any calculations. Thank you!

  2. #2
    Forum Contributor
    Join Date
    05-04-2009
    Location
    ME
    MS-Off Ver
    Excel 2003,2007
    Posts
    157

    Re: Creating an if statement

    Try this

    Please Login or Register  to view this content.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Creating an if statement

    the syntax for an if() statement is...
    =if(criteria-to-test,what-to-do-if-test=TRUE,what-to-do-if-test=FALSE)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    03-23-2013
    Location
    usa
    MS-Off Ver
    Excel 2013
    Posts
    9

    Re: Creating an if statement

    thank you guys. i know i am making this way too hard. I
    typed this into the cell where i wanted the addition sign to appear. however excel will not let me do it because it is a circular reference. not really sure what that means.

  5. #5
    Registered User
    Join Date
    03-23-2013
    Location
    usa
    MS-Off Ver
    Excel 2013
    Posts
    9

    Re: Creating an if statement

    After looking it up I know what a circular reference is. I also found out how to disable them by going to options and enabling iterative calculations. Now it works. Thankyou!

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Creating an if statement

    umm OK, if you have a circ ref, you have probably done something wrong...it's never a good idea to turn off warning messages like that - circ errors can cause all sorts of wierd, unexpected answers to appear.

    I would suggest you find/fix the error rather than ignore it...kinda like turning up the radio in the car coz the engine is making funny noises?

    Im thinking that in B1 you need =if(isnumber(a1),"+",A1)

    NOTE the "" around + these turn + into text, esle excel expects the + to be teh start of a formula
    Last edited by FDibbins; 03-30-2013 at 04:34 PM.

+ 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