+ Reply to Thread
Results 1 to 5 of 5

headers/match/tables/vlookup

  1. #1
    Registered User
    Join Date
    04-30-2009
    Location
    Gretna, Nebraska
    MS-Off Ver
    Microsoft 365 Apps for Business
    Posts
    46

    headers/match/tables/vlookup

    I have a table called "April_2023". I want to reference a cell using vlookup that has "April_2023" in it, to reference that table, and use match to get the column number that matches one of the headers. I thought I could use

    Indirect(Cell that had the name "April_2023" in it)[#Headers]

    This works: April_2023[#Headers]

    The box that I am referencing April_2023 has drop downs with others months with are separate tables. Make sense?

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,755

    Re: headers/match/tables/vlookup

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,204

    Re: headers/match/tables/vlookup

    If it's A1:

    =INDIRECT(A1&"[#Headers]")

    If not, provide a workbook.

    Your thread title should be descriptive, not a list of function names - please review the forum rules.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    04-30-2009
    Location
    Gretna, Nebraska
    MS-Off Ver
    Microsoft 365 Apps for Business
    Posts
    46

    Re: headers/match/tables/vlookup

    I believe you have bailed me out in the past, AND, this worked PERFECTLY! Thank you!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,204

    Re: headers/match/tables/vlookup

    Glad to have helped.

    If you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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: 5
    Last Post: 02-07-2019, 04:39 PM
  2. [SOLVED] Vlookup match two variables from two tables
    By d7882 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-07-2019, 02:19 PM
  3. VLOOKUP/INDEX/MATCH Formula to look up value from two tables.
    By acsishere in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-09-2017, 04:03 AM
  4. autofilter method of range class failed -header has tables headers and non table headers
    By naveen.acheanz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-16-2016, 08:21 AM
  5. vlookup, indirect and match from multiple tables
    By rudrugis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-03-2013, 06:21 PM
  6. Need data cross-referenced in multiple tables: VLOOKUP vs. Match vs. Index
    By James McMurray in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-05-2008, 02:53 PM

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