+ Reply to Thread
Results 1 to 36 of 36

Formula To Average Recent Groups

Hybrid View

  1. #1
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,742

    Re: Formula To Average Recent Groups

    Is there a way to make the helper column "I" figure out the most recent 5 groups for each user in the list, giving us the same results as it is now, but without using the CLARIFICATION column? That would solve this, I think.
    Yes. I have a solution that currently uses array constants ... which assume 5 groups.

    Those can instead be made reliably dynamic if ... there are not multiple groups with < 5 unique dates. Though I haven't tried it yet I question whether my ranking strategy will work.

    If there are it will be back to the "salt mines".

    The attached has:

    A helper column C that returns unique dates for WILL.
    Formula: copy to clipboard
    =IF(COUNTIFS($A$16:A16,A16,$A$16:A16,$A$1,$B$16:B16,B16)=1,B16,"")

    A rank column D that ... ranks those dates.
    Formula: copy to clipboard
    =IF(C16="","",RANK(C16,$C$16:$C$61))

    Then column E returns the group #s.
    Formula: copy to clipboard
    =IF(A16=$A$1,LOOKUP(LOOKUP(10^10,$D$16:D16),{0,6,11,16,21},{1,2,3,4,5}),"")

    Then D3:D7
    Formula: copy to clipboard
    =IF(COUNTIF($E$16:$E$61,B3) < 5,"MORE DATA RQD",ROUND(AVERAGEIF($E$16:$E$61,B3,$H$16:$H$61),0))
    Attached Files Attached Files
    Last edited by FlameRetired; 07-01-2018 at 02:03 PM.
    Dave

+ 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. Formula To Average N Most Recent Group
    By swordswinger710 in forum Excel General
    Replies: 15
    Last Post: 07-03-2018, 09:00 AM
  2. Formula To Average N Most Recent Group
    By swordswinger710 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-15-2018, 01:57 PM
  3. Groups no longer appear in Recent People
    By taylorsm in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 11-14-2017, 12:30 PM
  4. [SOLVED] Average most recent 3 values excluding dashes - array formula help required
    By cricket_stoner in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-04-2017, 08:00 AM
  5. Replies: 2
    Last Post: 01-04-2016, 03:40 AM
  6. Formula to average 3 most recent scores by date, then subtract baseline
    By kslattery in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-18-2014, 11:16 AM
  7. most recent average value
    By Joe Miller in forum Excel General
    Replies: 5
    Last Post: 12-23-2008, 08:43 AM

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