Forum Discussion

Sue_G's avatar
Sue_G
Brass Contributor
Jun 27, 2024

Cross Referencing Data in Excel

Hello,

I have a spreadsheet that lists document numbers that are stored in a document management system.  I have to cross reference the documents in that management system, which means I have to go into each individual document in the management system and add in all the documents where that individual document is referenced.  The attached spreadsheet lists all the documents in our system (column B) and each document where they are referenced (columns C-AP).  Is there a way to have Excel search columns C-AP, find a specific value, and provide me with a list from column B where that value is found in columns C-AP?

 

4 Replies

  • Sue_G 

    =IFERROR(INDEX($B$2:$B$162,SMALL(IF($C$2:$AP$162=$C$166,ROW($2:$162)-1),ROW(A1))),"")

     

    This formula returns the expected results in my sample file in my understanding. The formula must be entered as an arrayformula with ctrl+shift+enter if someone doesn't work with Office 365 or Excel for the web or Excel 2021. I've added conditional formatting which highlights the cells in range C2:AP162 where search string from cell C166 is found.

    • Sue_G's avatar
      Sue_G
      Brass Contributor

      Hello,

      As you can see, several years ago, you helped me with a spreadsheet and I've been using it ever since.  However, the formula quit working properly, and I've not changed anything.  It is supposed to search for the document ID in column B in columns C-AP and provide a list of all documents (from column B) where the documents are found.   It's not pulling the accurate information.  Would you please review the file and let me know why it's no longer working?  I use Excel 365.  Thank you.

      • Sue_G's avatar
        Sue_G
        Brass Contributor

        Hello again,

        I'm sorry, I should have provided more information.  I re-downloaded the original file you provided as mine wasn't working accurately.  The original file doesn't work accurately either.  I'd be happy to provide you the file I actually use, but am unable to attach to this reply.  Thank you.