+ Reply to Thread
Results 1 to 2 of 2

Defining the column of a named table to use with Match

  1. #1
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Defining the column of a named table to use with Match

    I have a named table and I want to be able to specify which column to use when performing a Match to define the row I am interested in.
    I can do this with an unnamed table by referring to the sheet column

    ie MATCH(A1,SheetTable!$C:$C,0)

    In my situation Col A has the matching variable Col B has the column identifier and NamedTable has the data in named columns and numbered rows

    So I would like to write a formula such as

    MATCH(A1, (NamedTable,B1),0) but of course I cant

    How should I approach this?
    I have attached a workbook with the table on sheet2 and the working on sheet1 to clarify my problem.
    John
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Defining the column of a named table to use with Match

    Hi,

    Do you want to return the actual row number? Or the row number relative to your defined table (which begins in row 5)?

    As an example, is the return for Colour 3331.00, Column B to be 21 or 17?

    This formula in C11 will return the latter:

    =MATCH(A11,INDEX(Sheet2_Table,,MOD(CODE(B11),63)),0)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ 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. Replies: 11
    Last Post: 07-18-2013, 05:14 PM
  2. Defining a named range entirely within VBA
    By Benisato in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-10-2013, 11:42 AM
  3. Using Named References and then Defining Them
    By hdanner in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-11-2013, 04:59 PM
  4. [SOLVED] Defining a named range
    By Mike_e in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-15-2012, 04:43 AM
  5. Replies: 0
    Last Post: 06-28-2010, 10:23 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