+ Reply to Thread
Results 1 to 5 of 5

Issue with nested Or statement

  1. #1
    Registered User
    Join Date
    05-19-2015
    Location
    Boulder, Colorado
    MS-Off Ver
    2016
    Posts
    45

    Issue with nested Or statement

    Hi I'm having trouble with the formula I'm using. I want it to return information depending on criteria from another sheet. The criteria is that the concluding followup row OR the initial followup row has to have "yes" in order for the data to be transferred. For some reason that I cannot identify, It's returning every single row to the sheet when I input this formula.

    =IFERROR(INDEX(Table5,SMALL(IF(OR(Table5[Concluding Followup]="YES",Table5[Initial followup]="Yes"),ROW(Table5[Offer '#])-MIN(ROW(Table5[Offer '#]))+1,""),ROWS($1:1)),MATCH(B$1, 'Proposal log'!$A$1:$P$1,0)),"")

    Though without the "Table5[Initialfollowup]="Yes" portion it works fine but only returns the rows with concluding followup as "yes".

    Can anyone identify the problem? If not I'll post a sample file.

    Thank you.

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Issue with nested Or statement

    Hi
    I think it might be difficult to identify the problem from the formula alone. A sample file would help enormously in clarifying the fault.

    DBY

  3. #3
    Registered User
    Join Date
    05-19-2015
    Location
    Boulder, Colorado
    MS-Off Ver
    2016
    Posts
    45

    Re: Issue with nested Or statement

    Here's the sample file. Column B in the Emails sheet contains the error I'm describing.

    Thank-you
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Issue with nested Or statement

    Take a look at the attached file. I've amended the Array formula you were using on the Emails tab. Does this do as required?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-19-2015
    Location
    Boulder, Colorado
    MS-Off Ver
    2016
    Posts
    45

    Re: Issue with nested Or statement

    Yes, that's exactly it.

    Thanks for clearing that up, I'm still learning the intricate elements for formulas within excel.

    Best regards

+ 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. Nested If Statement - ISNA issue
    By Bearack in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-06-2013, 11:44 AM
  2. [SOLVED] Nested IF Statement Issue
    By mbhc77 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-02-2013, 03:46 PM
  3. [SOLVED] Issue with nested IF statement
    By Sc0tt1e in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-13-2013, 06:44 AM
  4. [SOLVED] Nested IF Statement issue
    By jsouthgate in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-05-2012, 04:49 PM
  5. Replies: 6
    Last Post: 01-14-2009, 06:59 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