Comments on: INDEX MATCH in Google Sheets – flexible Vlookup for your spreadsheets

When you need to find data in your sheet that corresponds to a certain key record, it is usually Google Sheets VLOOKUP you turn to. But there you go: VLOOKUP slaps you with limitations almost immediately. That's why you'd better increase the resources for the task by learning INDEX MATCH. Continue reading

Comments page 2. Total comments: 56

  1. How to return multiple search results using index match? The Aggregate function of excel does not work

    1. Hello John,

      Do you need to return multiple matches in rows or columns? What formula are you trying to use in Google Sheets exactly?

  2. Hi I have 3 sheets

    One name "Draw Results" Contains numbers e.g. 002345
    (numbers are filled on the entire sheet e.g. 'Draw Results' A1:K159)

    Second Named "Bond List" Contains numbers e.g. 002347
    (numbers are filled on the entire sheet e.g. 'Bond List' A1:K159)

    Third Named "Matched Results" want the matched results displayed in here.
    What Formula do I put in here I have tried =INDEX('Draw Results'!$A$1:$A$159,MATCH('Bond List'!A1,'Bond List'!$A$1:$A$175,0),1)

    Please help
    Thank You

    1. Hi Frais,

      For me to be able to help you, please specify whether you're trying to compare two sheets for duplicates or find matching data between two columns in two sheets and pull the corresponding data from some other column.

  3. Help! I have two sheets: MasterSheet and Operations Sheet.
    I need to replicate Columns H and I on the MasterSheet has two columns (H and I) in the Operations Sheet in Column C (which corresponds to Column H on the MasterSheet) and Column D (which corresponds to Column I on the MasterSheet).
    I need a formula where Column D will automatically populate with the cell value in Column I on the MasterSheet if the value in Column C matches the value in Column H of the MasterSheet. Essentially, if Column H and C are the exact match, then Column D should populate with the value in Column I in the same Row as Column H.

    1. Hello Elsa,

      I'm really sorry but your description is not clear.
      For me to be able to suggest you anything, please try to specify (consider bulleted list) what columns each sheet contains exactly and what data should be pulled and where exactly. Thank you.

      1. I have a Worksheet with 2 tabs.
        The first tab is named MasterSheet.
        - Column H heading on the MasterSheet is called "Purchase Req"
        - Column H on the MasterSheet is called "Purchase Order"
        The second tab is named OperationsSheet
        - Column C heading on the OperationsSheet is called "Purchase Req"
        - Column D heading on the OperationsSheet is called "Purchase Order"
        I need a formula for Column D on the Operations Sheet that:
        1) Searches column C on the Operations Sheet for an exact match as that in Column H of the MasterSheet
        2) If it finds the exact match, Column D in the OperationsSheet will then return (or copy) the value found in Column I of the MasterSheet.
        Example:
        MasterSheet OperationsSheet
        H I C D
        PR PO# PR PO#
        1234 450001234 6738 450089628
        6738 450089628 1234 450001234

        1. Thank you very much for the detailed explanation, Elsa!

          Now I've got your task. Here are the formulas for you to try (assuming there are 10 rows in a table, so please adjust the number 10 to your number of rows):

          1. If you want to use INDEX MATCH from this blog post:
            =INDEX('Master Sheet'!I1:I10, MATCH(C2, 'Master Sheet'!H1:H10, 0))
          2. A version with VLOOKUP that will fill all rows in a column automatically at once:
            =ARRAYFORMULA(VLOOKUP(C2:C10, 'Master Sheet'!H2:I10, 2))
            Number 2 here is the number of the column I in my small table. Please also change it to yours.

          Hope this helps!

          1. Thank you, this is very helpful! One last question, how do you add to the first formula to replace the #N/A error with a blank cell if the searched value is not found?

  4. Hi Sir

    Thanks for your very usefull tutorial.

    I need your help in very small thing. I am converting a simple formula into array formula but its not working form me for some reason.

    Normal formula is =IF(AND(A3<'IIR & NPV - Calculation Dashboard'!$B$2,OR(A3=1,A3=13,A3=25,A3=37,A3=49)),'IIR & NPV - Calculation Dashboard'!$B$12,0)

    Its Working as expected for me. But when I am converting it into Array formula, it looks like this

    =ArrayFormula(IF(AND(A3:A<'IIR & NPV - Calculation Dashboard'!$B$2,OR(A3=1,A3=13,A3=25,A3=37,A3=49)),'IIR & NPV - Calculation Dashboard'!$B$12,0))

    It is not giving me the same result as its normal formula.

    Can you please help me out here and tell me what is the error in this array formula?

    1. Hello!
      If I understand your task correctly, the following formula should work for you:

      =ArrayFormula(IF(IF(A3:A20 < $B$2,TRUE,FALSE) * (IF(A3:A20=1,TRUE,FALSE)+ IF(A3:A20=13,TRUE,FALSE)+ IF(A3:A20=25,TRUE,FALSE)+ IF(A3:A20=37,TRUE,FALSE)+ IF(A3:A20=49,TRUE,FALSE)),$B$12,0))

      Please adjust this formula according to your data if needed.

Post a comment



Thanks for your comment! Please note that all comments are pre-moderated, and off-topic ones may be deleted.
For faster help, please keep your question clear and concise. While we can't guarantee a reply to every question, we'll do our best to respond :)