+ Reply to Thread
Results 1 to 11 of 11

Get figures from multiple data tables

  1. #1
    Registered User
    Join Date
    01-16-2014
    Location
    uk
    MS-Off Ver
    Excel 2013
    Posts
    99

    Get figures from multiple data tables

    Hi

    I am trying to gather figures from a range of multiple data tables.

    I have added an example which i hope is clear enough for you, I will try and explain using the actual cells in the attachment.

    A4 to A9 reprsents the name of the table to use, marked in yellow
    B4 to B9 represents the vertical orange cells in each table.
    D2 represents the horizontal cells in each table which will be a validation list check box.

    I need the associated figure in the data tables to appear between D4 to D9 which i have manually input as an example.

    Thank you
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Get figures from multiple data tables

    Give each "lookup" table a range name (preferably matching the names you have in A4:A9), then you can use this, copied down...
    =INDEX(INDIRECT(A4),MATCH(B4,$F$4:$F$9,0),MATCH($D$2,$G$3:$L$3,0))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Get figures from multiple data tables

    Copy and paste this into D4; copy down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope it helps.

  4. #4
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Get figures from multiple data tables

    Hi, Try this in d4 and drag it down

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click just below left if it helps, Boo?ath?

  5. #5
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Get figures from multiple data tables

    HI, ref the attachment...
    Attached Files Attached Files

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Get figures from multiple data tables

    Also with the named lookup table ranges that Ford referred to paste this one in D4. It must be confirmed with Ctrl + Shift + Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Get figures from multiple data tables

    NIce 1, Flame, but wow, offset, indirect AND ARRAY...if that gets used in a lot of cells, it could really slow things down

    hmm although, if the cell is recalc'ing anyway because of 1 volatile function, Im not really sure how 2 additional VF's will affect it

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Get figures from multiple data tables

    Quote Originally Posted by FDibbins View Post
    NIce 1, Flame, but wow, offset, indirect AND ARRAY...if that gets used in a lot of cells, it could really slow things down

    hmm although, if the cell is recalc'ing anyway because of 1 volatile function, Im not really sure how 2 additional VF's will affect it
    Good point. But golly it was fun to build....lol . Your idea of naming the tables/indirect kinda' inspired something.

    I was also a little uneasy about my formula posted in #3.....what if the actual data isn't A,B,C....? Then relying on CODE function fails.

  9. #9
    Registered User
    Join Date
    01-16-2014
    Location
    uk
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Get figures from multiple data tables

    I want to thank you guys so much for your assistance, you really helped me more than you know

    As for the ABC pointed out by FlameRetired, the actual format in the data axis will be 2/3 letters horizontal (red) and 3 letters vertical (orange) and the data figures in the tables is 00.00

    Once again many thanks

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Get figures from multiple data tables

    Happy we could help, and thanks for the feedback

  11. #11
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Get figures from multiple data tables

    An afterthought:

    In Name Manager:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In D4:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy down. Does not have to be array entered.

    Couldn't resist. Been looking for opportunity/excuse to use 4th argument (Areas) in the INDEX function. Couldn't wrap my mind around it. This just looked like the place to try it out.

    Thanks for indulging me.

+ 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. Conversion of an array of figures inputted into cells as word figures to Excel figures
    By Allan Simpson730 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-08-2013, 07:25 AM
  2. Report - Summarising data/figures across multiple worksheets into one
    By dannyevo05 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2012, 10:48 AM
  3. Multiple Data Tables Link and Calculate onto Target Tables
    By billexchry in forum Excel General
    Replies: 6
    Last Post: 03-04-2011, 02:42 PM
  4. Running figures in Pivot tables
    By rmissey in forum Excel General
    Replies: 0
    Last Post: 08-14-2009, 11:20 AM
  5. Select all tables or figures?
    By Smed in forum Word Programming / VBA / Macros
    Replies: 0
    Last Post: 01-29-2009, 11:04 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