+ Reply to Thread
Results 1 to 3 of 3

Nested IF/AND/OR formula

Hybrid View

  1. #1
    Registered User
    Join Date
    12-03-2013
    Location
    York
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question Nested IF/AND/OR formula

    I have 4 columns and I want to do a formula to produce yes or no based on certain conditions being met.

    1st condition to return yes - IF E2 contains Bridge AND F2 is in List1 (named range of bridge types)
    2nd condition to return yes - OR E2 = Not Bridge AND F2 is in List2 AND AV contains #N/A ISNA(AV1)?
    If neither of these conditions is met return No.

    I've tried using IF/AND/OR as nested formulas along with INDEX, MATCH, COUNTIF... but nothing will work.
    Thanks in advance for your help,
    Liv

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Nested IF/AND/OR formula

    =IF(OR(AND(E2="Bridge"),COUNTIF(LIST1,F2)>0),AND(E2="Not Bridge",COUNTIF(LIST2,F2))),"YES","NO")
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Nested IF/AND/OR formula

    I missed the error part.

    As for the last part of condition 2, what is the cell reference? AV2 contains an error?

    Maybe:

    =IF(OR(AND(E2="Bridge"),COUNTIF(LIST1,F2)>0),AND(E2="Not Bridge",COUNTIF(LIST2,F2),ISERROR(AV1)),"YES","NO")

+ 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. [SOLVED] Nested Formula Using VBA
    By Gard5096 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-02-2013, 05:58 PM
  2. Replies: 2
    Last Post: 10-08-2009, 09:51 PM
  3. Nested Formula
    By e602043 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2009, 09:22 AM
  4. help on a nested countif/nested if formula
    By vickiemc in forum Excel General
    Replies: 2
    Last Post: 08-13-2008, 08:29 AM
  5. nested formula
    By jvanderveen in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-04-2007, 10:21 AM

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