+ Reply to Thread
Results 1 to 8 of 8

This returns a false or a true statement

  1. #1
    Registered User
    Join Date
    10-14-2009
    Location
    orlando,Florida
    MS-Off Ver
    Excel 2003
    Posts
    20

    This returns a false or a true statement

    This returns a false or true : =IF(Y9="","",(AI/Y9)<$AB$6,''")
    How do I correct this to return a Zero(0) if the answer smaller that the AB6. And a true not a number when it is large than.


    I have tried several things and it just doesn't do what I have asked.


    Thanks

    GFV

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: This returns a false or a true statement

    An IF() function takes 3 parameters - The Logical test, Return value if True, Return value if False

    You have 4 parameters so I doubt you can enter that fomula in a cell.

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: This returns a false or a true statement

    Try
    =IF(Y9="","",IF(AI/Y9<$AB$6,0,''")

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: This returns a false or a true statement

    Quote Originally Posted by josé augusto View Post
    try
    =if(y9="","",if(ai/y9<$ab$6,0,''")
    =if(y9="","",if(ai/y9<$ab$6,0,''")[bold])[/bold]
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: This returns a false or a true statement

    Quote Originally Posted by josé augusto View Post
    try
    =if(y9="","",if(ai/y9<$ab$6,0,''")
    =if(y9="","",if(ai/y9<$ab$6,0,''"))

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: This returns a false or a true statement

    Quote Originally Posted by Special-K View Post
    =if(y9="","",if(ai/y9<$ab$6,0,''"))
    Thanks for the correction.

  7. #7
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: This returns a false or a true statement

    Normally I wouldnt have done that but you know what users are like "oh I typed that in and it gave me an error" :-)

  8. #8
    Registered User
    Join Date
    10-14-2009
    Location
    orlando,Florida
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: This returns a false or a true statement

    Thanks for your help on this I will try it.
    I think I have done that and came up with an error. So my original formula was:

    IF(Y9="","",(AI9/Y9) and this returned a Number which is good thing. But I wanted to add a filter to that formula so that it would return a Zero(0) or another number that would be greater than the Absolute Number Value in a certain cell i.e. AB6 ($AB$6) . does that make since. So if the Value of AB6 was 10 and the (AI9/Y9)=9 I would get a 0. And if the value was 10 I would get an 10 and so on.

    Does that help?

    GFV

+ 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. lookup exact match returns TRUE or FALSE
    By quade_1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-05-2016, 02:21 AM
  2. [SOLVED] IF Statement Evaluates as "TRUE" but Returns "FALSE" Value (Excel 2007)
    By Simcik in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-11-2014, 12:43 PM
  3. [SOLVED] IF Statement Returns False When True On Certain Numbers
    By paulm99 in forum Excel General
    Replies: 3
    Last Post: 11-26-2013, 04:41 PM
  4. IF STATEMENT returns False, even though the results are true
    By Biolu527 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-28-2013, 11:21 AM
  5. Replies: 5
    Last Post: 12-09-2012, 11:04 PM
  6. InStr function returns pseudo True/False?
    By GCW esq in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-04-2012, 08:00 AM
  7. [SOLVED] Function that compares dates and returns TRUE or FALSE
    By Emily in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-25-2006, 04:30 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