+ Reply to Thread
Results 1 to 3 of 3

Sumproduct and frequency funtion sorting

  1. #1
    Registered User
    Join Date
    12-04-2013
    Location
    england
    MS-Off Ver
    Excel 2013
    Posts
    13

    Sumproduct and frequency funtion sorting

    I am using macros to pulldata in from closed workbooks. The data goes into a league table.

    When I use the formula =SUMPRODUCT( (FREQUENCY($U$11:$U$25, $U$11:$U$25) > 0) * (U11 >= $U$11:$U$26) ) - To rank the link the results are in the wrong order, they descend rather than ascend.

    you can see in the image that the rank is working correctly, i.e. 1,1,1,2,3,3,4 etc etc.

    The issue is that the ranking (far left in colours) is the wrong way around. I need the 7's to be at the bottom and the 1 to be at the top.Capture.PNG

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,677

    Re: Sumproduct and frequency funtion sorting

    Try reversing the second > like this

    =SUMPRODUCT( (FREQUENCY($U$11:$U$25, $U$11:$U$25) > 0) * (U19 <= $U$11:$U$26) )
    Audere est facere

  3. #3
    Registered User
    Join Date
    12-04-2013
    Location
    england
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: Sumproduct and frequency funtion sorting

    WOW, all day I have been trying to figure that out......

    Thank you so much.

+ 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. [SOLVED] Need help with useing Sumproduct with named range and date funtion
    By fgruhlke in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 02-17-2014, 11:17 PM
  2. frequency and sumproduct
    By step_one in forum Excel General
    Replies: 7
    Last Post: 12-20-2011, 01:08 AM
  3. Countif, Sumproduct or Frequency
    By toria in forum Excel General
    Replies: 2
    Last Post: 03-15-2011, 11:09 AM
  4. sorting by frequency
    By Miloud in forum Excel General
    Replies: 3
    Last Post: 12-21-2008, 02:30 AM
  5. sorting by frequency
    By Miloud in forum Excel General
    Replies: 1
    Last Post: 12-20-2008, 08:49 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