+ Reply to Thread
Results 1 to 5 of 5

problems making this IF formula work

  1. #1
    Registered User
    Join Date
    12-22-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    42

    problems making this IF formula work

    Hi guys,

    I'm working on this IF statement and having some troubles with excel accepting it. I was wondering if anyone could help me out with it


    =IF((E3>(P22+(P22*0.025)),IF((K4<K7,L4>L7)),IF((L2<L3,TRUE))

    Any help with this would be huge!

  2. #2
    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,042

    Re: problems making this formula work

    the syntax for an if() statement is...

    =if(criteria-to-test,what-to-do-if-test=TRUE,what-to-do-if-test=FALSE)

    you have 3 nested if() statements, they each have the criteria-to-test, and they each have what to do if TRUE, but none of them have what to do if FALSE

    Excel will accept this, but i have NO idea if it will give you what you want...
    =IF(E3>P22+(P22*0.025),IF(K4<K7,L4>L7,IF(L2<L3,TRUE,"")))

    Can you explain in words what you are trying to do?
    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

  3. #3
    Registered User
    Join Date
    03-25-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: problems making this formula work

    Below shows where you need to put your value if true and value if false.

    Hope this helps.

    =IF(E3>(P22+(P22*0.025)),IF(AND(K4<K7,L4>L7),IF(L2<L3,"All True","Last IF False"),"Middle IF False"),"First If False")

  4. #4
    Registered User
    Join Date
    12-22-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    42

    Re: problems making this formula work

    [QUOTE=FDibbins;3171902]the syntax for an if() statement is...

    =if(criteria-to-test,what-to-do-if-test=TRUE,what-to-do-if-test=FALSE)

    you have 3 nested if() statements, they each have the criteria-to-test, and they each have what to do if TRUE, but none of them have what to do if FALSE



    Excel will accept this, but i have NO idea if it will give you what you want...


    Sorry for the delay, been busy tonight but i do appreicate the reply

    I tried your formula and its really not working out

    What i'm trying to do is this

    first argument, see if that condition applies

    If so

    Does the sequence follow to be true

  5. #5
    Registered User
    Join Date
    12-22-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    42

    Re: problems making this formula work

    Quote Originally Posted by Fieldstone View Post
    Below shows where you need to put your value if true and value if false.

    Hope this helps.

    =IF(E3>(P22+(P22*0.025)),IF(AND(K4<K7,L4>L7),IF(L2<L3,"All True","Last IF False"),"Middle IF False"),"First If False")
    Fieldstone,

    thanks for this,

    i tried it out but it doesnt work.

    what do you input in for the ALL True or Last if fasle or middle if false or first if false...?


    I'm not to sure how to interpret this formula

+ 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