+ Reply to Thread
Results 1 to 4 of 4

Double if

Hybrid View

  1. #1
    Registered User
    Join Date
    05-18-2010
    Location
    Europe
    MS-Off Ver
    Excel 2010
    Posts
    54

    Double if

    Hi guys,

    I hope you can help me.

    now I have this formula

    =IF(B2>1,1,0)

    but I discovered there is another paramiter that I have to consider. Basically if A2=Y this formula is still valid. If A2=N the formula should be =IF(B2>2,1,0)
    Should be something like what I have written below. I have also attached a file. Maybe it helps.

    IF A2=Y THEN C2="IF(B2>2,1,0)"
    IF A2=N THEN C2="IF(B2>1,1,0)"

    Let me know if something is not clear.
    Thanks in advance for your help!!!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Double if

    How about:

    =IF(B2>IF(A2="Y",1,IF(A2="N",2,0)),1,0)

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Double if

    Possibly?

    =IF(A2="Y",IF(B2>2,1,0),IF(B2>1,1,0))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    05-18-2010
    Location
    Europe
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: Double if

    yes! great it works. Much appreciated ))

    I am posting another question in a different thread. That one is more difficult. I hope you can help me also there

    anyway THANKS FOR HELPING here!

+ 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