+ Reply to Thread
Results 1 to 4 of 4

Problem with IFAND function

  1. #1
    Registered User
    Join Date
    09-30-2020
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    26

    Problem with IFAND function

    Hi all,

    I have a workbook that contains a list of tasks (rows 3 to 82) and project milestones (columns F to M) within Sheet 1. The user selects a 'Y' in the column relevant to the milestone that the task will be completed in. I wanted to then create a consolidated list of tasks for each of the project milestones, which I have managed (shown in Sheet 3 of the example attached) using a formula I found online:

    {=IFERROR(INDEX(Sheet1!$E$2:$E$82,SMALL(IF("Y"=Sheet1!F$2:F$82,ROW(Sheet1!$E$2:$E$82),""),ROW()-1)-1,1),"")}

    To further consolidate the list of tasks for each project milestone, I would like to expand the formula above to include an AND function to also look for 'Y' in Column U of Sheet 1. I have tried the below:

    {=IFERROR(INDEX(Sheet1!$E$2:$E$82,SMALL(IF(AND(("Y"=Sheet1!F$2:F$82),Sheet1!$U2:$U$82="Y"),ROW(Sheet1!$E$2:$E$82),""),ROW()-1)-1,1),"")}

    I am only getting blank cells. Is anyone able to advise where I am going wrong??

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,795

    Re: Problem with IFAND function

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    this does not need array entry

  3. #3
    Registered User
    Join Date
    09-30-2020
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Problem with IFAND function

    That works brilliantly, thank you!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,795

    Re: Problem with IFAND function

    You're welcome & thanks for the feedback.

+ 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] IFAND Function?
    By jeptik in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 05-29-2017, 02:01 PM
  2. [SOLVED] Nested vlookup or nested IFAND function?
    By jeptik in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-11-2017, 02:27 AM
  3. Replies: 7
    Last Post: 10-18-2016, 02:13 PM
  4. Replies: 3
    Last Post: 09-26-2016, 02:42 PM
  5. [SOLVED] IFAND Function with positive and negative conditions
    By jeptik in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2016, 12:30 PM
  6. IfAND = X But If Than
    By rwmeis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-17-2013, 11:02 AM
  7. use of ifand And function
    By rajuj in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 08-16-2013, 10:23 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