+ Reply to Thread
Results 1 to 3 of 3

index/match: construct 2 new 'tables' from 1 dynamic 'table'

  1. #1
    Registered User
    Join Date
    03-30-2011
    Location
    NY, NY
    MS-Off Ver
    Excel 2003
    Posts
    16

    index/match: construct 2 new 'tables' from 1 dynamic 'table'

    folks,

    hopefully this description makes sense:

    1. i have a 'table' in excel2013 built from 'get external data'; hence the rows might/will be dynamic; the refresh cycle is 1x per week

    now,
    2. the primary keys of the rows in 'get external data' need to be used to pull complimentary data from 2 other 'get external data' extracts
    3. hence, the table in item[1] is the dynamic driver to 2 other searches; the 2 'next' searches only have to return data for the primary keys determined in item[1]
    - one of these tables does a 'get external data' from a source that refreshes 1x per day
    - one of these tables does a 'get external data' from a source that refreshes 1x per week

    so there are a few ways to solve this:
    4. add ALL the needed columns into the item[1] 'table', and figure out how to manage the 3 refresh cycles perhaps via some 'form' control
    5. build the 2 'next' search tables on the fly via some kind of event driven macros, let these tables refresh separately, and build a consolidated 'result' table out of the 3 tables [same set of primary keys, after the 3 refresh cycles to 3 different sources, refresh and complete]

    hence
    task1: figure out how to manage 3 independent refresh cycles from a single table
    or
    task2: figure out how to build 2 table structures [at least for the primary key column; the other columns are static and specific to the other data sources] on the fly from the item[1] table

    i'm not quite sure exactly which task is easier, and really, how to begin either. i can 'think' the problem, but i haven't tried to 'construct' either task.

    any feedback would be appreciated?
    thanks,
    ron

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: index/match: construct 2 new 'tables' from 1 dynamic 'table'

    Seems easier to just build a new table that is linked to your dynamic table [1] and then performs =VLOOKUP calculations to populate whatever data you want from the other two tables.

  3. #3
    Registered User
    Join Date
    03-30-2011
    Location
    NY, NY
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: index/match: construct 2 new 'tables' from 1 dynamic 'table'

    hoya,

    I thought of that, but I didn't think I could make it work.
    the 'dynamic' table returns a different number of rows each time [meaning: the rows are unique, the primary keys differ frequently, so I might get 15rows, then 27rows, then 5rows].
    based on the number of rows [or better, the different range of primary keys], then the primary key list is given to the 2 other tables for their extracts to be performed.

    since the keys are the drivers, I wasn't too confident on how to code vlookup in that situation.
    I will think on this some, and also re-look at the 2 subsidiary tables. maybe I can do a download of their entire contents, and that would guarantee that vlookup would be against a static table.

    thanks for the feedback.
    ron

+ 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] Dynamic Sheet-Index-Match-
    By FinanceGQ in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-08-2015, 03:03 AM
  2. Difference between two tables using index match?
    By TheFab in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-01-2015, 09:38 AM
  3. INDEX MATCH IF Between Two Dates - Comparing Two Tables
    By #N/A in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-21-2015, 09:32 AM
  4. Subtraction, Dynamic tables, Dropdown, Index
    By cashflo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-22-2015, 08:30 AM
  5. Index Match Match Formula DOESN'T WORK WITH TABLES/TABLE NAMES ??
    By Underling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2014, 09:01 PM
  6. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  7. Vba index and match for dynamic range
    By _google in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-20-2013, 10:25 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