+ Reply to Thread
Results 1 to 2 of 2

Rank With Array

  1. #1
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Hong Kong
    MS-Off Ver
    Office 365 PC Version
    Posts
    214

    Rank With Array

    Dear All,

    Plaese take a look and see if you can help.

    I have 2 arrays A1:E1 and A2:E2 with numbers 1,2,3,4,5 and 5,4,3,2,1

    The third array in A3:E3 is the product of the above 2 arrays or 1*5, 2*4, 3*3, 4*2, 5*1 or 5,8,9,8,5

    Rank(5, A3:E3,1) works fine.

    I need a formula however, that multiplies 2 arrays as follows rank(5, A1:E1*A2:E2,1) ?

    The aforementined does not let me enter the formula in excel, any ideas?

    The same problem happens when A1:E1 and A2:E2 are in offset formulas.

    Thanks and regards john

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Rank With Array

    Hello John,

    Try SUMPRODUCT;

    =SUMPRODUCT((($A1:$E1*$A2:$E2)<A1*A2)+0)+1
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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