+ Reply to Thread
Results 1 to 9 of 9

ISNUMBER with IF Returns FALSE

  1. #1
    Registered User
    Join Date
    01-13-2015
    Location
    Japan
    MS-Off Ver
    2013
    Posts
    77

    ISNUMBER with IF Returns FALSE

    Hello,

    =IF(AND(ISNUMBER(O15),ISNUMBER(P15)),IF(O15>P15,"Improved","Regressed"))

    My formula works, but where there is no number I get FALSE. I would like to change this to N/A. But I don't know where to write "N/A" in my formula.

    Thanks very much!

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: ISNUMBER with IF Returns FALSE

    Try this
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-13-2015
    Location
    Japan
    MS-Off Ver
    2013
    Posts
    77

    Re: ISNUMBER with IF Returns FALSE

    Thanks very much, Kv. That's almost does it. I get #N/A now instead of FALSE.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: ISNUMBER with IF Returns FALSE

    If you want a text value "N/A" rather than an error value then replace NA() with "N/A"
    Audere est facere

  5. #5
    Registered User
    Join Date
    01-13-2015
    Location
    Japan
    MS-Off Ver
    2013
    Posts
    77

    Re: ISNUMBER with IF Returns FALSE

    That's sorted it. Thanks very much (both of you)!

  6. #6
    Registered User
    Join Date
    01-13-2015
    Location
    Japan
    MS-Off Ver
    2013
    Posts
    77

    Re: ISNUMBER with IF Returns FALSE

    I want to add IF(O15>Q15) to my formula, but I can't get it to work. This is what I have now:

    =IF(AND(ISNUMBER(O15),ISNUMBER(P15),ISNUMBER(Q15)),IF(O15>P15,"Improved","Regressed"),IF(O15>Q15,"Improved","Regressed"),"N/A")

    Excel says there are too many arguments. What should I change? Thanks!

  7. #7
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: ISNUMBER with IF Returns FALSE

    Hi,

    Try this.. remove last condition
    =IF(AND(ISNUMBER(O15),ISNUMBER(P15),ISNUMBER(Q15)),(IF(O15>P15,"Improved","Regressed")),IF(O15>Q15,"Improved","Regressed"))

  8. #8
    Registered User
    Join Date
    01-13-2015
    Location
    Japan
    MS-Off Ver
    2013
    Posts
    77

    Re: ISNUMBER with IF Returns FALSE

    Thanks, PG. I used your formula, but it doesn't quite work.

    I need my IF formula to check three columns for Number Values; then check if one value is greater than two others and finally write "Improved" or "Regressed." The figures are test scores, by the way. This is easier to grasp on the simplified spreadsheet attached (Test - Hokkaido Jan 14.xlsx); the last column shows the result I would like to have. As the issue has become a little more complicated I am going to mark this thread as solved and post a new question. Thanks!
    Last edited by hokkaido19; 01-14-2015 at 10:12 PM. Reason: Rewrite Question

  9. #9
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: ISNUMBER with IF Returns FALSE

    Try this..
    =IF(COUNTIF(D5:E5,"N/A")>0,"N/A",IF(AND(C5>D5,C5>E5),"Improved","Regressed"))

    Regards,
    Suhas

+ 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. [SOLVED] Not sure where to put false condition within ISNUMBER formula
    By lukela85 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-22-2013, 02:12 PM
  2. [SOLVED] ISNUMBER = FALSE, how do I convert to number?
    By BenCrockett in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-18-2013, 02:41 PM
  3. Replies: 3
    Last Post: 11-21-2011, 06:44 AM
  4. False Returns
    By adsxvii in forum Excel General
    Replies: 7
    Last Post: 11-26-2007, 07:04 AM
  5. How to do nothing if @IF returns FALSE?
    By PMorrisDuke in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-11-2006, 11:45 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