+ Reply to Thread
Results 1 to 3 of 3

If Statement Problem

  1. #1
    Registered User
    Join Date
    09-11-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    1

    If Statement Problem

    I am attempting to write an If statement as follows, but it only returns "FALSE". Can anyone help with what I am doing incorrectly?

    =IF(L4="0","Future",IF([@Status6]="-1","Current"))

    Thank you in advance for your help!

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: If Statement Problem

    Try using the evaluate function button on the formula toolbar to step through how the function is evaluating.

    It might be something to do with the double quotes around the numbers. If they are not text then the double quotes should be unnecessary.

  3. #3
    Registered User
    Join Date
    08-02-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: If Statement Problem

    you're missing the if value is false parameter in the second IF.

    e.g. =IF(L4="0","Future",IF([@Status6]="-1","Current","ERROR"))

    Where I've put "ERROR" you need to replace it with whatever satisfies the FALSE, FALSE outcome of both IF statements.

+ 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