Need some assistance on Reporting and Calculations

Pam Ferguson
Pam Ferguson Overachievers Alumni

Would love the communities advise on how to best solve this. I have an Aging Report that I need to provide the totals of the top 10 based on the $ amount (top 10 largest $ amount) and then the top 10 oldest items. How should I best get this information which will change from week to week?

Best Answer

  • Paul Newcome
    Paul Newcome Community Champion
    Answer ✓

    Ah. Ok. This is starting to make more sense.


    Total dollar amount for 10 largest combined would be...


    =SUMIFS([Dollar Amount]:[Dollar Amount], [Dollar Amount]:[Dollar Amount], @cell >= LARGE([Dollar Amount]:[Dollar Amount], 10))

    Breakdown: We use the LARGE function to pull the 10th largest dollar amount. Then we use that as our criteria in a SUMIFS that says to add everything up that is greater than or equal to that amount.

    The only time this will not accurately reflect a total of all top 10 combined is if you have duplicates in any of those 10 positions. Example...


    100

    95

    90

    85


    If we run the above formula looking for the top two, we would get a total of 195 which is the top two added together. However, if we have...


    100

    100

    95

    90

    85


    We will actually get a total of 295 because there are actually 3 values greater than or equal to the 2nd largest.

    If duplicate numbers could cause an issue like this, please let me know, and I will be happy to work towards a different solution.


    We would use the same concept for pulling the total sum for the 10 oldest (this also comes with the same drawback as above where duplicate dates within the ranking could skew the data) (also let me know if you need something different than this).

    We pull the 10th oldest date.

    SMALL([Date Column]:[Date Column], 10)


    Then we use a SUMIFS to give a total dollar amount for the 10th oldest and older.

    =SUMIFS([Dollar Amount]:[Dollar Amount], [Date Column]:[Date Column], @cell <= SMALL([Date Column]:[Date Column], 10))

Answers