Average of the best (8) of most recent 20 events

Anyone know a formulae approach to determine the average of the best (8) of the most recent (20) events.
I can do this manually by sorting the whole table by date, then selecting the most recent (20) events (rows), sorting those by the values in the column of interest, then selecting the best (8) and calculate the average.
I looked at using Automator, but could not find a way of to cope with the change of table size (since new rows of data are added every other day).

Quinn, (and Badunit),
You guys are amazing, a million thank you's...
Quinn,
I looked up the description of the formulae, added the range (20 most recent rows), and it worked like a treat:
=AVERAGE(SMALL(M2:M21,1),SMALL(M2:M21,2),SMALL(M2:M21,3),SMALL(M2:M21,4),SMALL(M 2:M21,5),SMALL(M2:M21,6),SMALL (M2:M21,7),SMALL(M2:M21,8))
The result is the average of the eight (8) smallest scores from the 20 most recent rounds, exactly what I was looked to do.
Badunit,
Using Quinn's suggestion, provided I ensure the table is always displayed in it's default mode [all rows sorted by date in descending order],
the above formulae will always give me the correct answer.
Since I am the only user right now, this will be refined enough.
But thank you, I have made a note of your suggestion, and will incorporate it into my next version.
PS: I note that it is not possible (well, I could not find a way) to edit the formulae in the Cell.
So I copied and pasted it into Pages, then did a Find-Replace, LARGE to SMALL, and A to M2:M21, then copied and pasted it back into the Numbers Cell.

Similar Messages

  • I have the latest generation ipad and just purchased an ipad mini but when signing onto the apple store, my most recent app purchases are not visible to download on my new ipad mini i.e. "receipe box"

    i have the latest generation ipad and just purchased an ipad mini but when signing onto the apple store, my most recent app purchases are not visible to download on my new ipad mini i.e. "receipe box".  How can i download onto the new ipad mini without paying again?

    Sign out, reboot and sign in
    Settings>iTunes and App Store>Apple ID

  • Can application know the location of its most recent cached *jnlp* file?

    Can an application know if it was launched by clicking on the hyperlink in a web page, or whether it was launched from the shortcut on the desktop?
    Alternatively, Can the application know the location of its most recent cached jnlp file on the desktop?
    To take a specific example, let's say I have a word processor, My Word that is deployed using Web Start. It can view documents on the web and must also work offline to view local documents.
    When a user clicks the hyperlink to the doc, say,
    myParty Open the myParty document
    then myParty.jnlp launches My Word, opening the myParty.txt file.
    Since there is no way to pass arguments dynamically, one must have a jnlp file for each doc.
    So myParty.jnlp has the url of the doc hardcoded in it.
    <application-desc main-class="MyWord">
    <argument>http://www.MySite.com/myParty.doc</argument>
    </application-desc>
    The problem is that apparently Web Start uses the most recent jnlp each time it is launched.
    So that if the file has moved, or if one is offline, then the application hangs because it is trying to open the same document, regardless of whether MyWord was launched by clicking on the hyperlink in a web page - in which case this would be appropriate - or whether it was launched from the shortcut on the desktop - inappropriate here.
    As a workaround, I was wondering - where is the jnlp file stored on the local desktop?
    If the application could find the most recent jnlp, then it could rewrite it (after it was opened the first time) with an identical jnlp that has no application-desc arguments.
    Then when the user runs from the shortcut on the desktop, it will launch without a document to open.
    Any help appreciated.
    thanks,
    Anil Philip
    Are you planning to kill yourself? Stop! listen to this song
    broadband version: http://www.youtube.com/watch?v=pLHHB4YZucI
    dial-up version: http://www.youtube.com/watch?v=xL5WyBenUpM

    1) To make it more complicated, it seems that the browser also does the caching.
    2) I could not find the jnlp as a file on the desktop, so I suspect that is stored in some database. Is there any way the application can write to it or any api to simply allow the application to change the arguments?
    3) It is not an option to use jnlpservlet as the document can be placed anywhere and not just on a webserver under our control.
    Edited by: anilp1 on Mar 20, 2009 9:40 PM

  • I can only see the most recently imported "event" in a pop up window

    I seem to have lost access to the administration bar that is normally on left hand side of the iphoto view. So I cannot access source list, albums - or any of my old pictures. I basically am just looking at the most recent event (today's pictures) imported.
    the iphoto library is still 21GB so I have not lost the photos - I imagine a corrupt file somewhere?
    I am using iphoto 2008 (7.1.5) that came with my macbook 10.5.7 - not ilife.
    Thanks for your suggestions...Barbara

    Barbara
    Welcome to the Apple user to user assistance forums
    Move your cursor to the left hand side of the window and when it turns to a + click and drag the source pane open
    Or quit iPhoto and delete the iPhoto preference file - "your username" ==> library ==> preferences ==> com.apple.iPhoto.plist - when you launch iPhoto reset any personal preference you have changed and if you have moved the location of the iPhoto library repoint to it
    LN

  • Can I make the finder open my most recently used folder when opening a new window?

    Hello Community!
    When I open a new finder window I would like it to open the folder I worked in last (i.e. the one I saved sth to or opened sth from). I know I can go over "Go to" but is there a way to adjust the settings so that it opens automatically?
    Thanks in advance!

    none than I know of.
    Of course, you could always make an Apple Script as an app (that you could place next to the finder icon on the dock for ex) that would do it, but that would require programming skills.

  • TB show all my inboxes but will not show the emails in my most recent account in the unified inbox.

    Thunderbird successfully displays all of my e-mail accounts in the list of accounts and displays all of the inboxes correctly however it doesn't display the e-mails at my newest address in the unified inbox. To see them, I have to click on that particular e-mail accounts inbox. In every way, this account appears to be set up the same as the all the other ones. The newest e-mail account is a second account through Zoho. What do you think is the problem?
    Mac OS 10.9
    Thunderbird 31.6
    [email protected]

    ''LeoJoy [[#question-1058991|said]]''
    <blockquote>
    Thunderbird successfully displays all of my e-mail accounts in the list of accounts and displays all of the inboxes correctly however it doesn't display the e-mails at my newest address in the unified inbox. To see them, I have to click on that particular e-mail accounts inbox. In every way, this account appears to be set up the same as the all the other ones. The newest e-mail account is a second account through Zoho. What do you think is the problem?
    Mac OS 10.9
    Thunderbird 31.6
    [email protected]
    </blockquote>
    Thank you. I had to select the search from the menu instead og by right clicking but it worked just the same.

  • Why can't I access my most recently imported event from Facebook?

    I imported a bunch of photos and video to iphoto...no problem, created a new event, I can easily access it from iphoto of course. BUT...when I try to access the event from Facebook or from gmail to send as an attachment the event doesn't seem to exist. I look through "recent import" and they aren't there either. Where have they disappeared to?

    Where have you got your library stored?
    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • What is the best application to sync meetings and events through the iPhone and iPad with Outlook work e mail

    i need my secritart to place events on my calendar through an application without having to go through my works calendar ,,
    for example if there is an event sceduled for tomorrow i want them to just log into the app assign the event date and time on the calendar and it will automatically be synced on my iphone's / ipad's calendar and alurt me without me having to accept the event
    is there such an app?

    Note, I'm on the latest iOS - not 6.1.1 as the original post suggests.

  • ITunes won't synch just the 10 Most recent Podcasts, it syncs all.

    I have two podcasts I want to listen to on my iPod, Security Now! and The Mac Observer's Mac Geek Gab.
    I don't want them all on my computer either, there are over 160 episodes combined... I just want the 10 most recent of both. So I go to the iPod's menu, click on Podcasts, and click on sync, and select from the pulldown menu "10 Most Recent" episodes of: and I hit the radio button named Selected podcasts, and I select only:
    I click only:
    Security Now!
    The Mac Observer's Mac Geek Gab.
    When I press Apply, it syncs all of the podcasts from those two podcasts and not only the 10 of them like I requested.
    What is going on, why is this happening, and just for upcoming questions.
    I formated the HD, installed a new OS, itunes is all new, there are no saved preferences from the old itunes, or old system.

    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • How to get most recent consecutive records with the same value

    Hi,
    Can someone please help me to solve my problem?
    Below is my table
    Prod_Code-----Purchase_date---Inv_number-------Inv_amt
    MS_AV16850------18/01/2005-----------6575947----------------7.93
    MS_AV16850------22/07/2005-----------7034012----------------51.82
    MS_AV16850------04/01/2006-----------8719618----------------51.82
    MS_AV16850------20/06/2006-----------9515864----------------104.69
    MS_AV16850------16/04/2007-----------10353759----------------189.29
    MS_AV16850------30/05/2007-----------10689899----------------189.29
    MS_AV16850------06/01/2008-----------1653821----------------65.49
    MS_AV16850------22/02/2009-----------10866311----------------189.29
    I want my query to show the rows that has most recent purchase dates with same amount in consecutive purchase date.
    So from the table above, the query should display:
    Prod_Code-----Purchase_date---Inv_number-------Inv_amt
    MS_AV16850------16/04/2007-----------10353759----------------189.29
    MS_AV16850------30/05/2007-----------10689899----------------189.29
    It should not get
    MS_AV16850------16/04/2007-----------10353759----------------189.29
    MS_AV16850------30/05/2007-----------10689899----------------189.29
    MS_AV16850------22/02/2009-----------10866311----------------189.29
    because inv_number 10866311 has a prvevious inv_amount of 65.49.
    and not get this
    MS_AV16850------22/07/2005-----------7034012----------------51.82
    MS_AV16850------04/01/2006-----------8719618----------------51.82
    because they are not the most recent purchase date even if they have the same inv_amount.
    Thanks in advance.

    Hi,
    You're right; thanks for catching my mistake.
    I changed the WHERE clause of the main query (including subquery there) to deal with that situation:
    WITH     got_grp          AS
         SELECT      x.*
         ,      ROW_NUMBER () OVER ( ORDER BY      purchase_date )
                - ROW_NUMBER () OVER ( PARTITION BY  inv_amt
                                             ORDER BY         purchase_date )     AS grp
    --     ,      ROW_NUMBER () OVER ( ORDER BY      purchase_date )     AS r1
    --     ,        ROW_NUMBER () OVER ( PARTITION BY  inv_amt
    --                                         ORDER BY         purchase_date )     AS r2
         FROM     table_x     x
    SELECT     *     -- Or list all columns except grp
    FROM     got_grp
    WHERE     (inv_amt, grp)  IN  (
                               SELECT    MAX (inv_amt) KEEP (DENSE_RANK LAST ORDER BY MAX (purchase_date))
                        ,       MAX (MAX (grp))
                                FROM      got_grp
                                GROUP BY  grp
                                ,       inv_amt
                                HAVING    COUNT (*)     > 1
    ;Thanks, too, for posting the sample data. Apparantly, you're more interested in solving this problem than OP is.
    Edited by: Frank Kulash on Nov 22, 2010 1:36 PM
    The r1 and r2 columns are not needed for the solution. You may want to display them, just to help see how the query works.

  • Why does the education section limit you to only the most recently released apps of a type such as communication, special education?

    I realize the education section is huge, and appreciate the attempts to group like apps, but it still wont let me get to those updated or published, say, last spring. They are all the "top 20" or most recent. There used to be a choice called "all apps" but I dont see it in the education apps section like I do in other sections.

    There may be other ways, but if you go back to the main iTunes Store page and select Browse, then App Store -> Education, you'll see all the apps available. You can sort by release date, which I believe is the default or by the other columns.
    Regards.

  • What is the best methodology to handle database schema changes after an application has been deployed?

    Hi,
    VS2013, SQL Server 2012 Express LocalDB, EF 6.0, VB, desktop application with an end user database
    What is a reliable method to follow when there is a schema change for an end user database used by a deployed application?  In other words, each end user has their own private data, but the database needs to be expanded for additional features, etc. 
    I list here the steps it seems I must consider.  If I've missed any, please also inform:
    (1) From the first time the application is installed, it should have already moved all downloaded database files to a separate known location, most likely some sub-folder in <user>\App Data.
    (2) When there's a schema change, the new database file(s) must also be moved into the location in item (1) above.
    (3) The application must check to see if the new database file(s) have been loaded, and if not, transfer the data from the old database file(s) to the new database file(s).
    (4) Then the application can operate using the new schema.
    This may seem basic, but for those of us who haven't done it, it seems pretty complicated.  Item (3) seems to be the operative issue for database schema changes.  Existing user data needs to be preserved, but using the new schema.  I'd like
    to understand the various ways it can be done, if there are specific tools created to handle this process, and which method is considered best practice.
    (1) Should we handle the transfer in a 'one-time use' application method, i.e. do it in application code.
    (2) Should we handle the transfer using some type of 'one-time use' SQL query.  If this is the best way, can you provide some guidance if there are different alternatives for how to perform this in SQL, and where to learn/see examples?
    (3) Some other method?
    Thanks.
    Best Regards,
    Alan

    Hi Uri,
    Thank you kindly for your response.  Also thanks to Kalman Toth for showing the right forum for such questions.
    To clarify the scenario, I did not mean to imply the end user 'owns' the schema.  I was trying to communicate that in my scenario, an end user will have loaded their own private data into the database file originally delivered with the application. 
    If the schema needs to be updated for new application features, the end user's data will of course need to be preserved during the application upgrade if that upgrade includes a database schema change.
    Although I listed step 3 as transferring the data, I should have made more clear I was trying to express my limited understanding of how this process "might work", since at the present time I am not an expert with this.  I suspected my thinking
    is limited and someone would correct me.
    This is basically the reason for my post; I am hoping an expert can point me to what I need to learn about to handle database schema changes when application upgrades are deployed.  For example, if an SQL script needs to be created and deployed
    then I need to learn how to do that.  What's the best practice, or most reliable/efficient way to make sure the end user's database is changed to the new schema after the upgraded application is deployed?  Correct me if I'm wrong on this,
    but updating the end user database will have to be handled totally within the deployment tool or the upgraded application when it first starts up.
    If it makes a difference, I'll be deploying application upgrades initially using Click Once from Visual Studio, and eventually I may also use Windows Installer or Wix.
    Again, thanks for your help.
    Best Regards,
    Alan

  • Order by most recent date not working in CAML Query

    Hi,
    I am trying to pull items from an announcements list and I would like the results sorted by most recent first, but it is coming back as least recent first. Can someone tell me what is wrong with the query? I even tried "Modified" and I get the
    same result. Thanks.
             SPList oList  = SPContext.Current.Site.OpenWeb("ts/hse").Lists["near misses"];
               SPQuery spQuery = new SPQuery();
               spQuery.Query = "<Query><OrderBy><FieldRef Name='Created' Type='DateTime' IncludeTimeValue='TRUE'  Ascending='False' /></OrderBy></Query>";
               spQuery.RowLimit = 3;
               SPListItemCollection spListItemCollection = oList.GetItems(spQuery);
    Sherazad

    Hi,
    I did a test in my environment as the capture below. It works properly.
    I suggest you try the code in another list and test whether it works.
    Feel free to reply with the test result.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • How can I sort games by most recent in ios6

    I can't sort games in the App Store by "most recent" in ios6.  Any solutions?

    I will probably buy fewer games now that I can't determine when new ones are released.  Thanks for your help.

  • [ISE] What is the best Authorization rules sequence ?

    Hello,
    like a FW set of rules, I think that ISE's authZ rules should also be ordered with care ?
    What are the best practices ?
    Most used first ?
    Guest, MAB and Webauth at the end ?
    Tell me...
    Any screencap is welcome
    Regards.

    Hi,
    The first rule matched is the rule that applies. Best practices are outline by one of the tac engineers in this document.
    https://supportforums.cisco.com/community/netpro/security/aaa?view=blog
    You can set attributes such as network device groups to determine if the wired, wireless, or vpn policies need to be in effect (which I am sure you are aware of).
    Thanks,
    Tarik Admani
    *Please rate helpful posts*

Maybe you are looking for