+ Reply to Thread
Results 1 to 4 of 4

Complicated Nested If/Then Statement (I think)

  1. #1
    Registered User
    Join Date
    02-25-2015
    Location
    New Jersey
    MS-Off Ver
    2007
    Posts
    3

    Complicated Nested If/Then Statement (I think)

    This is what I'm trying to do ---- but just can't seem to get it right. Can anyone help???

    IF J3="RD" and K3="RA", OR
    K3="RD" and L3="RA", OR
    L3="RD" and M3="RA", OR
    M3="RD" and N3="RA",
    if one of the above is true then V3*W3
    if none of the above are true then "n/a"

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,632

    Re: Complicated Nested If/Then Statement (I think)

    Try this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-25-2015
    Location
    New Jersey
    MS-Off Ver
    2007
    Posts
    3

    Re: Complicated Nested If/Then Statement (I think)

    Thank you so much zbor -- I have the same formula needed for a second group of cells (see below). I thought I would just be able to replace the cell references, but that does not seem to work. I hate to ask, but can you tell me what I'm doing wrong?

    What I need for the next grouping:
    IF N3="RD" and O3="RA", OR
    O3="RD" and P3="RA", OR
    P3="RD" and Q3="RA", OR
    Q3="RD" and R3="RA",
    if one of the above is true then V3*W3
    if none of the above are true then "n/a"

    I changed your formula to: =IF(SUMPRODUCT(--(N3:R3="RD"),--(N3:R3="RA")), V3*W3, NA())

    Thanks in advance to any insight you can offer!

  4. #4
    Registered User
    Join Date
    02-25-2015
    Location
    New Jersey
    MS-Off Ver
    2007
    Posts
    3

    Re: Complicated Nested If/Then Statement (I think)

    Drat -- this is how flustered I am about this. Sorry if I sent this already, but I was interrupted, and now I'm not sure if my response went out.
    I figured out my mistake in re the formula. Thank you again for your help though!

+ 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. semi-complicated nested IF statement
    By bj in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 09:05 PM
  2. [SOLVED] semi-complicated nested IF statement
    By tjb in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  3. [SOLVED] semi-complicated nested IF statement
    By tjb in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  4. semi-complicated nested IF statement
    By tjb in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 AM
  5. [SOLVED] semi-complicated nested IF statement
    By tjb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2005, 05:05 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