+ Reply to Thread
Results 1 to 7 of 7

Excel index match retrieving multiple columns of data

  1. #1
    Registered User
    Join Date
    02-27-2021
    Location
    USA
    MS-Off Ver
    2010
    Posts
    3

    Excel index match retrieving multiple columns of data

    I am trying to figure out what I could do to have excel automatically populate all four columns, not just one value, based upon the year, the company, and both of them combined. I made this spreadsheet as an example as it most closely relates to what I need it to do for a project of mine at work. I have a large master set with all of the unsorted data in it. I break it out into separate divisions in order to calculate returns based off each investment, each year, and then each investment in each respective year (and then I put everything in a matrix and it works great). The only problem I have run into now is every time I need to add a new investor and their return to the list, I have to add that one person four separate times into each division I have it broken out into. I am looking for a way to have excel automatically pull all four columns from the master list to the broken out division based on selective criteria. If you can help I greatly appreciate it.. please let me know how to type out the function exactly. See the attached picture to get a better idea of what I am talking about in case I didn't explain it well enough. Thanks so much, Ryan.

    Undeclared cross-post at:

    https://www.mrexcel.com/board/thread...lumns.1163210/
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 02-27-2021 at 12:26 PM.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Excel index match retrieving multiple columns of data

    Have I looked at this too simplistically or have I missed the point.
    Convert your range to a table and use filters on any combination of columns.
    Just add your extra names to the bottom, the table expands dynamically, no maintenance needed.
    torachan.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-27-2021
    Location
    USA
    MS-Off Ver
    2010
    Posts
    3

    Re: Excel index match retrieving multiple columns of data

    I wish it were that simple and I appreciate you taking the time to look at it. That solution works for my example that I provided to illustrate my issue but it couldn't work in my real spreadsheet. I need a formula to automatically pull the all 4 columns pertaining to a single entry row for all of which that match the criteria by which I am trying to segregate it by.... if that makes sense

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Excel index match retrieving multiple columns of data

    We can only work with what we are given.
    Upload a typical section of your actual sheet layout and format.
    De-sensitise the actual data as long as it is typical in format.
    It is the only way that you are going to get a solution quickly.
    torachan.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Excel index match retrieving multiple columns of data

    Welcome (back) to the forum.

    Thanks for your question. However, we have just found out that you have posted the same question elsewhere.... and haven't told us. Feel free to cross-post on other sites...

    But. Every forum has its rules. Please see Forum Rule #3 about cross-posting. So.

    Do not keep it a secret. We all are willing to give you our time, freely. However, some of us get very annoyed if we waste our time developing a solution for you, when you already have a nice solution elsewhere. All we ask is that you show us some respect and tell us:

    1) if you have cross-posted, and

    2) the URL of the cross posts.

    That way, those of us who don't want to waste their time can quickly check to see if you're already happy with another solution.

    (Since you are new here, on THIS occasion, I have done it for you.)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Registered User
    Join Date
    02-27-2021
    Location
    USA
    MS-Off Ver
    2010
    Posts
    3

    Re: Excel index match retrieving multiple columns of data

    I apologize, new to the site...

    I recreated a sample spreadsheet that more accurately reflects the one I am working with. I am trying to get it so that I only have to enter the investment details once into the "By investor" tab and then the data will automatically get pulled to the By Year and By Company tabs based on the info I supplied rather than having to enter it manually three separate times. So Danny's 2019 investment into GF (the first one) will automatically sort into the By Year page under 2019 and will also get sorted into the By Company- GF page under the 2019 section as well. And I need it to pull columns A-G as well, not just one value. Please let me know if I need to be more clear and thank you for any and all feedback. And again, I apologize for posting on another forum, I was not aware that was frowned upon. I tried to delete the post and even my account as well but it won't let me. I posted the link to this forum on that thread and I am trying to do the same here but it won't even let me because it says I am "not allowed to post any kind of links, images, or videos until I post a few times". So since I cannot provide the link, I will just not use the other forum and I won't post this updated more accurate spreadsheet to that site either. Thanks, Ryan
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Excel index match retrieving multiple columns of data

    As to the By Year sheet
    Note that the table on the By Investor sheet needs to be resized to A4:H48
    Try the following formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Once the formula is entered in A11 drag the fill handle over to cell G11 and then, while A11:G11 are still selected drag the fill handle down to cell G25.
    To populate the 2019 section copy the formula from cell A11 and paste into cell A28. Then change the $A$10 reference to $A$27 and then drag over and down as described above.
    Note that the formatting of the Date column will need to be changed from General to Date.
    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.

+ 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. Vlookup or Match index for retrieving multiple data for same id
    By dilipsny in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-24-2018, 08:31 AM
  2. [SOLVED] Retrieving data - MATCH INDEX or multiple IF statements?
    By REV18 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-27-2018, 04:32 AM
  3. [SOLVED] Retrieving multiple results with INDEX MATCH?
    By alinahaylie in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-12-2017, 11:09 AM
  4. [SOLVED] MATCH-INDEX function for retrieving specific year data in a table...
    By portsample in forum Excel General
    Replies: 4
    Last Post: 12-16-2014, 04:48 PM
  5. Index/Match or Vlookup for retrieving data from rows?
    By awcwa in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-05-2013, 01:52 PM
  6. Re: Match / Index Multiple Columns and copy data
    By shahin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-28-2010, 04:06 PM
  7. Match / Index Multiple Columns and copy data
    By SHS in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-27-2010, 03:30 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