+ Reply to Thread
Results 1 to 3 of 3

Help on If Statement returning a FALSE value

  1. #1
    Registered User
    Join Date
    08-05-2014
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    10

    Help on If Statement returning a FALSE value

    Hello,

    I was hoping someone could help me with the following error on my formula.

    =IF(W19="Priority",NETWORKDAYS(K19,IF(X19="",TODAY(),X19)))

    Where W19 is a text selector cell with a set of drop down options (priority, regular, NA)

    I want the formula to find the difference between 2 dates K19 and X19 only if "Priority" is selected (in NETWORKDAYS) or between K19 and TODAYS date if X19 is BLANK.

    If "regular" or "NA" is selected I want the cell to be BLANK and currently it is returning "FALSE"

    Please help.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,454

    Re: Help on If Statement returning a FALSE value

    Last argument of the IF function is missing
    Please Login or Register  to view this content.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,796

    Re: Help on If Statement returning a FALSE value

    try
    =IF( (W19="regular", W19="NA"), "", IF ( X19="", networkdays(K19, Today()) , networkdays( K19, X19) ))
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. If statement, answer is false, hide false.
    By Mel B in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-07-2013, 06:36 PM
  2. If statement with a range and true/false statement
    By aarleblanc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-20-2012, 06:34 PM
  3. Why is this returning FALSE?
    By RefillMyInk in forum Excel General
    Replies: 7
    Last Post: 12-29-2010, 03:47 PM
  4. Embedded if statement not returning the catch all if false
    By nschneemann in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-02-2010, 04:06 PM
  5. Why is UDF always returning False?
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-19-2009, 12:09 PM

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