+ Reply to Thread
Results 1 to 3 of 3

Thread: help with SMALL based on criteria

  1. #1
    Registered User
    Join Date
    06-06-2011
    Location
    brooklyn
    MS-Off Ver
    Excel 2003
    Posts
    8

    help with SMALL based on criteria

    hi,

    I have 2 columns and need to find, of all items in Item that are "B", the 2nd smallest number in Number.

    Item Number
    A 7
    B 5
    B 4
    B 2
    C 1
    A 2
    C 6
    B 13

    should return 4

    Thanks.
    Last edited by always Stumped; 06-07-2011 at 12:55 AM.

  2. #2
    Valued Forum Contributor Haseeb A's Avatar
    Join Date
    05-24-2011
    Location
    India | Kwt
    MS-Off Ver
    2007
    Posts
    1,460

    Re: help with SMALL based on criteria

    Hello, Try

    Assume your data is in A1:B9 including header.

    =SMALL(IF(A2:A9="B",B2:B9),2)

    This is an Array Formula, must hit CONTROL+SHIFT+ENTER, rather than just ENTER
    HTH; Haseeb

    If your problem is solved, please say so clearly, and mark your thread as Solved:
    Forum Rules & How to Mark a thread as SOLVED

  3. #3
    Registered User
    Join Date
    06-06-2011
    Location
    brooklyn
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: help with SMALL based on criteria

    Quote Originally Posted by Haseeb A View Post
    Hello, Try

    Assume your data is in A1:B9 including header.

    =SMALL(IF(A2:A9="B",B2:B9),2)

    This is an Array Formula, must hit CONTROL+SHIFT+ENTER, rather than just ENTER
    That's great - knew it was simple, just broken brain. thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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.2.0