Forum Discussion

Deleted's avatar
Deleted
Dec 05, 2020

Index and Match

Hello there,

I have a large file of data and I have a set of random values from a different excel workbook that I am trying to match to my large file. For example, lets say I have four columns A,B, C, & D in my large file. I am trying to match the random values I have from the other excel workbook to column B, If an exact match was found, I want to return the values from columns A and D along with column B. However, I am having trouble with writing this formula. so the new formatting would return in a table and look like column B first then Column A, then Column D in a table.

 

Thank you,

14 Replies

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    Deleted 

    Perhaps you mean something like

    =INDEX(A:D,MATCH(value,B:B,0),{1,2,4})
    • Deleted's avatar
      Deleted

      Thank you for the replies. Please see the attached screenshot for reference. 

      • SergeiBaklan's avatar
        SergeiBaklan
        Diamond Contributor

        Deleted 

        In theory it shall work, at least on Excel with dynamic arrays.

  • Rajesh_Sinha's avatar
    Rajesh_Sinha
    Steel Contributor
    Please edit your post and share some sample data with us,, and what you are trying to match the value,,, along with the formula you have tried so far!