+ Reply to Thread
Results 1 to 5 of 5

SMALL Function Problem

  1. #1
    Registered User
    Join Date
    01-17-2020
    Location
    UK
    MS-Off Ver
    2016
    Posts
    43

    SMALL Function Problem

    Hi all,

    I got given a formula a while back on here which solved a problem but another one has come up.

    The formula was this

    =IFERROR(INDEX(Trialists!$D$2:$D$500, SMALL(IF(E$2=Trialists!$B$2:$B$500, ROW(Trialists!$D$2:$D$500)-1,""), ROW()-2)),"")

    My problem is the SMALL function above

    SMALL(IF(E$2=Trialists!$B$2:$B$500

    This provides the vertical list when the condition of U19M is met from the column on the other tab.

    However my problem is now that I need this to meet two conditions.

    One for what squad there are in now like the U19M and the other being whether they are paying a standing order which is listed as Yes in column on the other tab

    Thanks

    Andrew
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: SMALL Function Problem

    You need to change your formula in E3 to this:

    =IFERROR(INDEX(Trialists!$D$2:$D$500, SMALL(IF((E$2=Trialists!$B$2:$B$500)*(Trialists!$A$2:$A$500="Yes"), ROW(Trialists!$D$2:$D$500)-1,""), ROW()-2)),"")

    (changes in red).

    Remember that this is an array formula, so you need to commit it using Ctrl-Shift-Enter, instead of the usual Enter.

    Then you can copy it down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    01-17-2020
    Location
    UK
    MS-Off Ver
    2016
    Posts
    43

    Re: SMALL Function Problem

    Hi Pete,

    =IFERROR(INDEX(Trialists!$D$2:$D$500, SMALL(IF(E$2=Trialists!$B$2:$B$500*(Trialists!$A$2:$A$500="Yes"), ROW(Trialists!$D$2:$D$500)-1,""), ROW()-2)),"")

    Is the formula I have, however it has now returned a blank cell?

    I have reattached the file if you can help again?
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: SMALL Function Problem

    Put brackets around the first term in the IF (see my red colours).

    Pete

  5. #5
    Registered User
    Join Date
    01-17-2020
    Location
    UK
    MS-Off Ver
    2016
    Posts
    43

    Re: SMALL Function Problem

    Splendid,thanks

+ 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. Replies: 5
    Last Post: 02-26-2019, 04:17 AM
  2. How Small Function works when small(array,1),small(array,2) are same ?
    By bkvenkat in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-02-2015, 02:00 AM
  3. [SOLVED] Problem with function INDEX, SMALL AND IF
    By dejussy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-08-2014, 10:36 PM
  4. problem in using function small
    By aelhakim8022 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-22-2005, 07:59 PM
  5. problem in using function small
    By aelhakim8022 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-22-2005, 07:59 PM
  6. Problem with SMALL function
    By JazzMan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-09-2005, 11:08 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