+ Reply to Thread
Results 1 to 3 of 3

RANK, SMALL formulas inside the array argument (no CTRL+SHIFT+ENTER)

  1. #1
    Registered User
    Join Date
    05-02-2006
    Posts
    95

    RANK, SMALL formulas inside the array argument (no CTRL+SHIFT+ENTER)

    Hello Experts,
    How do you obtain the nth value within a formula or calculation array range?

    This basic method works because it is referencing a range $A$1:$A$4
    Please Login or Register  to view this content.
    However, I will not be referencing a range, nor helper columns...I'd like the have each formula within $A$1:$A$4 inside of SMALL and RANK.
    For example: (Invalid array range error)
    RANK(A1,(1+1, 2+2, 3+3, 4+4),1)
    SMALL( (1+1, 2+2, 3+3, 4+4),1)
    Attempted with RANK(A1, {1+1, 2+2, 3+3, 4+4}, 1) didn't work either

    To get the nth value, I was thinking about using SMALL & RANK. But, this way doesn't work
    SMALL( (1+1, 2+2, 3+3, 4+4), RANK(A1,(1+1, 2+2, 3+3, 4+4),1) )

    Is there a better option to get the formula calculation inside of the array range?

    I've tried AGGREGATE also but that, too, resulted in an Invalid array error.

    Strangely, MIN and MAX does allow formulas & calculations such as
    MIN (1+1, 2+2, 3+3, 4+4)

    Thanks in advance,
    Ricky
    Last edited by ExcelQuestion; 07-02-2019 at 04:32 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: RANK, SMALL formulas inside the array argument (no CTRL+SHIFT+ENTER)

    I don't follow this at all. Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

    2. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    3. Make sure that your desired solution is also shown (mock up the results manually).

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: RANK, SMALL formulas inside the array argument (no CTRL+SHIFT+ENTER)

    Hi,

    I'm as confused as Glenn.

    Quote Originally Posted by ExcelQuestion View Post
    I'd like the have each formula within $A$1:$A$4 inside of SMALL and RANK.
    What precisely does the above mean? How precisely do you wish to have your desired values inputted into RANK? Hard-coded? Derived by a single formula? Derived by several formulas?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ 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: 15
    Last Post: 01-03-2018, 03:32 PM
  2. Replies: 6
    Last Post: 08-11-2014, 09:13 PM
  3. With VBA Enter Ctrl Shift Enter For Array Formula
    By realniceguy5000 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-17-2013, 09:02 AM
  4. Array Formula: Ctrl+Shift+Enter does not work
    By georgroth in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-30-2013, 12:15 PM
  5. Ctrl+Shift+Enter (CSE) array formulas in VBA using differing formulas
    By officeguy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2012, 04:31 PM
  6. Array Formula: CTRL+SHIFT+ENTER?
    By WebKill in forum Excel General
    Replies: 2
    Last Post: 05-27-2011, 01:56 PM
  7. [SOLVED] array and CTRL+SHIFT+ENTER
    By Nicolas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-18-2005, 08:05 AM

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.6.0 RC 1