+ Reply to Thread
Results 1 to 8 of 8

SMALL() Picking Empty Cells In An Array Function

  1. #1
    Registered User
    Join Date
    11-11-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2007
    Posts
    29

    SMALL() Picking Empty Cells In An Array Function

    I'm building a list from a set of data. I am trying to find the 3 smallest numbers in - let's call it Column R - and there are some empty cells there. The list is populating with data I'm actually trying to ignore.

    Is there a simple fix?

    =IFERROR(SMALL(IF(($C$4:$C$26="GENERIC SEARCH TERM"),$R$4:$R$26),ROWS($1:1)),"") [Entered as an array with CTRL+SHIFT+ENTER]

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: SMALL() Picking Empty Cells In An Array Function

    small addition...
    =IFERROR(SMALL(IF(($C$4:$C$26="GENERIC SEARCH TERM")*($C$4:$C$26<>""),$R$4:$R$26),ROWS($1:1)),"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: SMALL() Picking Empty Cells In An Array Function

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


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    11-11-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2007
    Posts
    29

    Re: SMALL() Picking Empty Cells In An Array Function

    If there's a formula in that cell - in Column R - though, will it still return a zero?

  5. #5
    Registered User
    Join Date
    11-11-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2007
    Posts
    29

    Re: SMALL() Picking Empty Cells In An Array Function

    Welp, tried it and it seems to work fine. Thanks folks.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: SMALL() Picking Empty Cells In An Array Function

    Perhaps you should provide some sample data and then we can all stop guessing. And expected results would be helpful. Have you tried the formulae provided? What result does it give?

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: SMALL() Picking Empty Cells In An Array Function

    Seems you got what you needed

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: SMALL() Picking Empty Cells In An Array Function

    That's good, seeing as the two formulae do different things

+ 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. 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
  2. [SOLVED] How to ignore empty cells when I use the MATCH() function for an array
    By alice2011 in forum Excel General
    Replies: 3
    Last Post: 02-15-2015, 12:52 AM
  3. [SOLVED] Show only no empty cells from big array - INDEX FUNCTION
    By jakg88 in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 11-03-2013, 06:35 AM
  4. [SOLVED] Excel 2007 : Small function in an array
    By ajajr in forum Excel General
    Replies: 13
    Last Post: 05-02-2012, 10:49 AM
  5. picking same SMALL and LARGE values from list
    By Karolis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2011, 11:20 AM
  6. INDEX SMALL ROW array function
    By ACurtis802 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-10-2009, 02:10 AM
  7. small or min function excluding values in an array
    By kifoka in forum Excel General
    Replies: 2
    Last Post: 08-26-2009, 05:44 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