Forum Discussion

Caro_Bloggs's avatar
Caro_Bloggs
Copper Contributor
Jun 02, 2022
Solved

#REF! error in INDEX/MATCH formula

Dear all,

 

Can someone help me with my formula?

=INDEX('[COSTED_BOM_RFQ_REDUCED__FULL_SMART_LCU_20220523 (1).xlsx]Sheet0'!K11:K93;MATCH(C8;'[COSTED_BOM_RFQ_REDUCED__FULL_SMART_LCU_20220523 (1).xlsx]Sheet0'!B11:B93;0);11)

 

Thanks in advance,

Caro

  • Hi Caro_Bloggs 

     

    the first part of your INDEX formula refers to just one column (K11:K93), but with the very last argument you refer to colum 11.

    So if you want to return the value of column 11, the INDEX range should at least cover K11:U93

3 Replies

  • Caro_Bloggs 

    The 11 as last argument of INDEX tells Excel to look in the 11th column f K11:K93, but that range has only 1 column. Remove that argument:

     

    =INDEX('[COSTED_BOM_RFQ_REDUCED__FULL_SMART_LCU_20220523 (1).xlsx]Sheet0'!K11:K93;MATCH(C8;'[COSTED_BOM_RFQ_REDUCED__FULL_SMART_LCU_20220523 (1).xlsx]Sheet0'!B11:B93;0))

  • Martin_Weiss's avatar
    Martin_Weiss
    Bronze Contributor

    Hi Caro_Bloggs 

     

    the first part of your INDEX formula refers to just one column (K11:K93), but with the very last argument you refer to colum 11.

    So if you want to return the value of column 11, the INDEX range should at least cover K11:U93

    • Caro_Bloggs's avatar
      Caro_Bloggs
      Copper Contributor
      Great thanks this is really helping. I changed my formula to:
      =INDEX('[COSTED_BOM_RFQ_REDUCED__FULL_SMART_LCU_20220523 (1).xlsx]Sheet0'!A11:X93;MATCH(C8;'[COSTED_BOM_RFQ_REDUCED__FULL_SMART_LCU_20220523 (1).xlsx]Sheet0'!B11:B93;0);11)

      and got now the right expected answer, thank you!
      I wish you a nice day!
      Caro

Resources