+ Reply to Thread
Results 1 to 6 of 6

Reverse Index Match return names from table data

  1. #1
    Registered User
    Join Date
    04-15-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 365
    Posts
    49

    Reverse Index Match return names from table data

    Hi,
    Hoping someone can help,
    I have a table with names in the left column and columns of the months
    the table is populated with data (Ys) (this represents if someone did something in the month)


    I want to enter a month in a cell (G1 in example)
    An have alist created of the names that correspond to having a "Y" in the column matching the month.

    For example if I entered Jan I want to return a list of the names that have a "Y" in the Jan column.

    I hope this is clear.
    EDIT: to clarify my request, I am hoping for a none VBA solution.
    also hoping to use the solution in another worksheet where the number of columns may be very large.

    please let me know if more info is needed.
    I searched but could not find anything, I may not be seaching the correct terms?)
    Capture.JPG
    Regards,
    Brad
    Last edited by Jissenka; 05-16-2017 at 11:19 PM.

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

    Re: Reverse Index Match return names from table data

    Here is some Air Code (untested as you did not supply a worksheet to test).
    Please Login or Register  to view this content.
    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button
    Last edited by alansidman; 05-17-2017 at 06:24 AM.
    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
    Registered User
    Join Date
    04-15-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 365
    Posts
    49

    Re: Reverse Index Match return names from table data

    Thank you Alan,
    I as hoping for non VBA answer, I didn't specify that though my thought was that posting the formula & functions forum was enough, My fault,
    If I can't get a non VBA solution I will work with this.
    Again Thank-you for your prompt response.

    Brad,

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,874

    Re: Reverse Index Match return names from table data

    I think that it is great to have both a VBA and Formula solution so that you can compare speed, versatility etc.
    This proposed solution is based on the following array entered formula* as applied to the screen shot in post #1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    *Array entered formulas are activated by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    04-15-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 365
    Posts
    49

    Re: Reverse Index Match return names from table data

    Thank you JeteMc,
    This worked just as I needed, once I got my head around and modified it.
    Brain not working a quick as it should have this morning.

    I will be keeping both these solutions tucked away in my tool kit.
    and I agree with you on the usfulness of both solutions.

    Regards,
    Brad

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,874

    Re: Reverse Index Match return names from table data

    You're Welcome and glad that you were able to modify the formula to fit your needs. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Reverse Data - Find data and return result in a new table
    By Caswa7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2016, 10:21 AM
  2. Reverse Index Match -- Find column and row numbers for a table
    By mlukich in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-24-2016, 02:16 AM
  3. [SOLVED] Need Help Creating INDEX/MATCH Formula to Return Values from Data Table
    By trandle in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-06-2015, 01:12 PM
  4. [SOLVED] Stuck on Match function with #N/A; attempting to reverse Index/Match
    By Cappytano in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-10-2014, 06:39 PM
  5. [SOLVED] Combining 3 Formulas: Return all Names that Match Criteria Using Index/Match
    By bchilme in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-29-2014, 09:28 AM
  6. 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
  7. Replies: 3
    Last Post: 05-08-2013, 02:10 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