+ Reply to Thread
Results 1 to 1 of 1

Auto Expanding Tables

  1. #1
    Registered User
    Join Date
    09-17-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    14

    Auto Expanding Tables

    I am attempting to build a worksheet that will help summarize a month to month position for my company. I was hoping to have a table in which you could click a spin wheel, or type a new date in, and it would perform a lookup type function, return all the necessary values, and then adjust the size of the table to fit the new set of information. The lookup function needs to be able to look up based on 3 criteria. The column it returns are numerous so I need to be able to adjust that. I would prefer it to return in a table format for visual appeal (much like it is already displayed as.) Because I will be refreshing the data on sheet5, the function needs to understand i want it to return ALL data that matches the lookups, even after that data may have changed.

    In the attached file, I want the layout to be similar to the ERCOT months and PJM months tabs, but instead of having multiple months, i want to have a single table that will adjust to the month you choose to look at. The size of this table will adjust automatically with the amount of trades the look up was able to find.

    AT the moment I was using the following function for my lookups, but i dont know how to make the table adjust automatically

    =INDEX(Sheet5!A:AC,MATCH(1,(Sheet5!$A:$A=Sheet1!$A$1)*(Sheet5!$L:$L=Sheet1!$B$1)*(Sheet5!$D:$D=Sheet1!$C$1),0),3)

    Finally, I will be summarizing the information in the summary tab, which i will likely do through some of my own functions.

    Help would be greatly appreciated!

    Trade Summaries 2014 forum.xlsx

    EDIT: I forgot I had the issue that the function I pasted above only returns the first line that it finds, and not all of them. I had used the following function before, but now I need it to be able to match against 3 different criteria. Either that, or someone would need to help me think of a potential work around to get this table operating properly.

    =INDEX('ERCOT Raw'!$A:$I,SMALL(IF('ERCOT Raw'!$A:$A='ERCOT Months'!$A$905,ROW('ERCOT Raw'!$A:$A)),ROW(3:3)),2)
    Last edited by marlz; 10-15-2014 at 11:03 AM. Reason: Incorrect

+ 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] Table not auto-expanding
    By teenyjem in forum Excel General
    Replies: 3
    Last Post: 01-21-2014, 05:33 AM
  2. Re: Pivot Tables,Sliders, blank rows and expanding source data help
    By Jaime1234 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 09-09-2013, 12:06 PM
  3. Adding to spread sheets but my tables are not expanding their range
    By emilyloz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2013, 10:02 AM
  4. Expanding Cells In Pivot Tables
    By HappyCamperJon in forum Excel General
    Replies: 3
    Last Post: 04-28-2012, 02:16 AM
  5. Inserting range and expanding cells in tables
    By energizek in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2010, 12:10 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