+ Reply to Thread
Results 1 to 3 of 3

Problem resolving formula with IF function

Hybrid View

  1. #1
    Registered User
    Join Date
    10-14-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Problem resolving formula with IF function

    Hi

    I have what seems to be a simple formula but I just can't resolve it. I've tried a number of permutations but can't get the formula to do what I want.

    I've got this far;

    =IF(M10="yes",6,0)+IF(O10<39,-4.5)+IF(M10="no",4.5,0)

    What I want is the following logical formula;

    If M10 equals "yes" and O10 is greater than or equal to 39 return a value of 6
    If M10 equals "yes" and O10 is less than 39 return a value of 1.5
    If M10 equals "no" return a value of 0

    I'm sure this is easy and I will kick myself when I see it resolved.

    Thankyou very much in advance.

  2. #2
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Problem resolving formula with IF function

    =if(M10="","",if(M10="No",0,if(O10<39,1.5,6)))

  3. #3
    Registered User
    Join Date
    10-14-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Problem resolving formula with IF function

    Quote Originally Posted by brokenbiscuits View Post
    =if(M10="","",if(M10="No",0,if(O10<39,1.5,6)))
    Thankyou ever so much - I appreciate it - been banging my head against the wall with it.

+ 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