+ Reply to Thread
Results 1 to 4 of 4

How to use index match for multiple rows

  1. #1
    Registered User
    Join Date
    03-07-2021
    Location
    Stockholm, Sweden
    MS-Off Ver
    Office 365
    Posts
    2

    How to use index match for multiple rows

    Hi,

    I have an Excel file with lots of data and I would like to find some KPI from the data.
    The raw data consists of lots off different KPI for several companies and over a period of time and I need to extract some specific KPI for several companies.

    The issue is that each company do not have the same year in the same column.

    I use the following formula and it works perfect if all companies should have the same parameter in row 2 (that is years), but since they start in different years do I need to adjust what row to search for the column (see below in bold where I have my issues).

    Formula today (DATA is the tab with all data):

    =IFERROR(INDEX(DATA!$A:$X;MATCH($B3&$C3;DATA!$X:$X;0);MATCH(D$2;DATA!$2:$2;0));"")

    Picture Excel.PNG
    This is a picture of the tab with the formula.

    I hope my question is clear to you and there is someone that might be able to help me.

    Post edited with Excel-file to show issue.

    BR
    Sebastian
    Attached Files Attached Files
    Last edited by Sebbboa; 03-07-2021 at 01:53 PM.

  2. #2
    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,053

    Re: How to use index match for multiple rows

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    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

  3. #3
    Registered User
    Join Date
    03-07-2021
    Location
    Stockholm, Sweden
    MS-Off Ver
    Office 365
    Posts
    2

    Re: How to use index match for multiple rows

    Hi,

    I´m a new user in this forum so I was not aware of that guideline.
    You can find the file attached now (with minimum data).

  4. #4
    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,053

    Re: How to use index match for multiple rows

    Perfect!! In E3, coped across and down:

    =IFERROR(INDEX(Excelfiler,MATCH($B3&$C3,Excelfiler[[Formula]:[Formula]],0),MATCH(E$2,INDEX(Excelfiler,MATCH($B3,Excelfiler[[Source.Name]:[Source.Name]],0),),0)),"")
    Attached Files Attached Files

+ 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. Index Match multiple rows
    By RonronWaldey in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-25-2019, 09:08 AM
  2. Match Index (Multiple rows)
    By takeawalkk in forum Excel General
    Replies: 4
    Last Post: 02-02-2018, 03:58 PM
  3. [SOLVED] INDEX/MATCH (multiple critera in multiple rows and columns)
    By swma in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-01-2016, 10:02 AM
  4. [SOLVED] Index Match with Multiple Rows AND Multiple Columns
    By brendangroff in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-09-2016, 10:01 AM
  5. Replies: 11
    Last Post: 02-01-2016, 04:58 PM
  6. Help using Index/Match for multiple rows with same value
    By Alex.Venables20 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-22-2015, 01:41 PM
  7. Sum Multiple Rows with an Index/Match
    By amartin575 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-20-2013, 06:13 AM

Tags for this Thread

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