+ Reply to Thread
Results 1 to 5 of 5

Table to sort & display the last 30 results

  1. #1
    Forum Contributor
    Join Date
    10-15-2012
    Location
    Dallas, TX
    MS-Off Ver
    2019
    Posts
    167

    Table to sort & display the last 30 results

    In the attached workbook, I would like Table2 (Daily Results) on the RESULTS sheet to automatically update the last 30 dates and auto populate.

    At the moment... Once I add a new Date to the table, I have it set to auto populate the other cells. I would like to get the Date column to auto populate based on the Date in Table1 on the DATA sheet.

    I'm using a similar formula in the Week column of Table3 on the RESULTS sheet; I just cannot figure out how to get such working with the Date col of Table2.
    Attached Files Attached Files
    Last edited by cableghost; 07-29-2021 at 10:27 PM.

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    3,216

    Re: Table to sort & display the last 30 results

    So as you enter a new date on the DATA Sheet (Table1), you want it to automatically show up in the Table on the RESULTS tab?
    I'm not sure, but I don't think you can do that with a table. However, you may be able to do what you want with Dynamic Array Formulas. I *think* you get those with V2019, don't you. If you don't, this won't help you, but if you do, maybe you can use this.
    In H4, try this:
    =SORT(UNIQUE(FILTER(Table1[DATE],Table1[DATE]>=LARGE(UNIQUE(Table1[DATE]),30))),,-1)
    I4:
    =COUNTIF(Table1[DATE],H4#)
    J4:
    =COUNTIF(Table1[DATE],H4#)*2+COUNTIFS(Table1[EXEC 1 SIZE],"<>",Table1[DATE],H4#)
    k4:
    =COUNTIFS(Table1[G/L],">0",Table1[DATE],H4#)/COUNTIFS(Table1[DATE],H4#)
    L4:
    =SUMIFS(Table1[G/L],Table1[DATE],H4#)
    M4:
    =SUMIFS(Table1[G/L $],Table1[DATE],H4#)

    See attached.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    10-15-2012
    Location
    Dallas, TX
    MS-Off Ver
    2019
    Posts
    167

    Re: Table to sort & display the last 30 results

    Thanks, you are correct in what I'm looking for though neither anchorarray or sort works in v2019. I think I would also need to normalize the range as well.

    With regards to the other columns of data... they should auto populate, as they are, when a Date entry is populated. As of now, if you simply add a new row with a date, those other columns of data are populated automatically.

    Looking at the formula in RESULTS O15... Can I not modify it to get the result I want some how? That formula works for my weekly results table.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Table to sort & display the last 30 results

    Try this in O15 copied down

    =IFERROR(AGGREGATE(14,6,Table1[WEEK]/ISERROR(MATCH(Table1[WEEK],$O$14:$O14,0)),ROWS($O$14:$O14)),"")
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Forum Contributor
    Join Date
    10-15-2012
    Location
    Dallas, TX
    MS-Off Ver
    2019
    Posts
    167

    Re: Table to sort & display the last 30 results

    Thanks, though I have that table figured out, its getting the daily date in the other table to auto populate that this thread is about.

+ 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. cant sort table differently without changing formula results
    By Tlarkin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-09-2018, 06:54 AM
  2. [SOLVED] Finding text in a data table and display results
    By vbarookie_1000 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 02-20-2015, 02:52 PM
  3. Replies: 2
    Last Post: 10-01-2013, 04:35 PM
  4. Only display results in table if result from formula is within a range
    By MN_REV-800 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-12-2013, 11:58 AM
  5. Click content and display results in a different table
    By portucale in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-07-2012, 10:53 AM
  6. How Do I Sort by Multiple Variables in Excel and Display the Results Elsewhere?
    By Astrodog in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-02-2010, 08:49 AM
  7. Count in filtered list and display results in table on right of data
    By raydaw in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-27-2009, 05:14 AM

Tags for this Thread

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