+ Reply to Thread
Results 1 to 2 of 2

Reference to "This Table"

  1. #1
    Registered User
    Join Date
    12-17-2013
    Location
    Greater NYC Area
    MS-Off Ver
    Excel 2010
    Posts
    84

    Reference to "This Table"

    I am working with about twenty tables and am trying to copy an index / match formula from one to the other. Is there any way to reference a particular header from the table that the formula is located in? The way I have it set up now is the formula matches against [a specific table'sname],[#headername]. However that means for each table I have to go in and change the table's name in the formula.

    Here is the full formula I'm currently using

    =INDEX(Array,ROW(By_Fund!G1),MATCH(UOBI[[#Headers],[UOB I]],FundSize[#Headers],0))

    With the red text being what I want to vary based on the table that the formula is located in.

    Thanks!

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

    Re: Reference to "This Table"

    Should be able to achieve this using the "=INDIRECT" function.

    http://office.microsoft.com/en-us/ex...in=HP010342656

+ 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. VBA - Filter a Pivot Table field using "contains" keyword from cell reference?
    By andya in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-22-2016, 08:26 AM
  2. Pivot table won't refresh, "Reference is not valid" error
    By Telperion in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-20-2013, 01:18 PM
  3. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  4. Replies: 1
    Last Post: 08-18-2012, 11:52 AM
  5. [SOLVED] How to Count number of "Error" and "OK" after the word "Instrument" found in table row
    By eltonlaw in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2012, 06:26 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