Document Matrix

spr1nger

New Member
Joined
May 18, 2021
Messages
26
Office Version
  1. 365
Platform
  1. Windows
I have a list of documents in an Excel Spreadsheet (a matrix per se), listing all documents with their #'s, document titles, what departments each belong to, & revision date. On a 2nd Tab, I'd like to return (link if anything changes on main tab) all documents that belong to a specific department. The way I set up the spreadsheet is with column headings for doc #, title, rev date, then the subsequent columns are each department. The rows are the various documents & I placed an "X" in the column of the department it pertains to. What formula can I use on the 2nd tab to return the list of a specific department?
 

Attachments

  • DOC Matrix.xlsx - Excel.png
    DOC Matrix.xlsx - Excel.png
    22.2 KB · Views: 6

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi & welcome to MrExcel.
How about
Excel Formula:
=FILTER(Sheet1!B2:B100,INDEX(Sheet1!E2:I100,,MATCH(A2,Sheet1!E1:I1,0))="X")
Where A2 has the name of the department to want to look at.
 
Upvote 0
=FILTER(Sheet1!B2:B100,INDEX(Sheet1!E2:I100,,MATCH(A2,Sheet1!E1:I1,0))="X")
I copied & pasted your formula & replace A2 after the MATCH, with a department name, but that didn't work. i'm doing something wrong obviously. I will try again tomorrow as I have to leave work now for an appointment. will touch base with you then. thank you :)
 
Upvote 0
In what way didn't it work?
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=FILTER(Sheet1!B2:B100,INDEX(Sheet1!E2:I100,,MATCH(A2,Sheet1!E1:I1,0))="X")
Where A2 has the name of the department to want to look at.
Ok, here is a snapshot of the error I'm getting. My 'sheet1' is named Doc Matrix so tried changing the formula to reference that. what am i doing wrong?
 

Attachments

  • Error Msg 2021-05-19 14_50_58-SC DOCUMENT Matrix.xlsx - Excel.png
    Error Msg 2021-05-19 14_50_58-SC DOCUMENT Matrix.xlsx - Excel.png
    10.3 KB · Views: 7
  • layout 2021-05-19 14_52_08-SC DOCUMENT Matrix.xlsx - Excel.png
    layout 2021-05-19 14_52_08-SC DOCUMENT Matrix.xlsx - Excel.png
    100.7 KB · Views: 7
Upvote 0
You need to put Purchasing in quotes, so it should be "Purchasing"
 
Upvote 0
Purchasing is in col M so the formula cannot find it in the range E1:I1
 
Upvote 0

Forum statistics

Threads
1,214,423
Messages
6,119,398
Members
448,892
Latest member
amjad24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top