I'm trying to create a workbook that has a summary page as the first sheet, where you select a piece of equipment from a dropdown menu and have it auto-populate data about that equipment on the summary sheet. My roadblock is in trying to create a table on that "Summary" sheet that pulls rows of data from a "Records" sheet that contains multiple columns of data (in columns B-F, i.e. date, type of service, parts used, description) for each row of data that corresponds to a piece of equipment (Equipment name located in column A), of which there are multiple instances. I've found a useful INDEX/SMALL/IF function, but it only seems to work when being used on the "Records" sheet. If I copy the same function onto the "Summary" sheet and change the ranges to reference back to the "Records" sheet, it doesn't return any data (no error, just a blank cell). Example:
On the "Records" sheet I utilized this function (where I15 is the piece of equipment I want info on):
=IFERROR(INDEX($A$1:$F$20,SMALL(IF($A$1:$A$20=$I$15,ROW($A$1:$A$20)),ROW()-2),2),"")
Then I try to utilize the same function on the "Summary" sheet by using (where C4 if the piece of equipment I want info on):
=IFERROR(INDEX(Records!$A$1:$F$20,SMALL(IF(Records!$A$1:$A$20=$C$4,ROW(Records!$A$1:$A$20)),ROW()-2),2),"")
Am I not able to reference multiple sheets using this function? Does the range being referenced and the array have to be on the same sheet?
Thanks in advance for the help!
On the "Records" sheet I utilized this function (where I15 is the piece of equipment I want info on):
=IFERROR(INDEX($A$1:$F$20,SMALL(IF($A$1:$A$20=$I$15,ROW($A$1:$A$20)),ROW()-2),2),"")
Then I try to utilize the same function on the "Summary" sheet by using (where C4 if the piece of equipment I want info on):
=IFERROR(INDEX(Records!$A$1:$F$20,SMALL(IF(Records!$A$1:$A$20=$C$4,ROW(Records!$A$1:$A$20)),ROW()-2),2),"")
Am I not able to reference multiple sheets using this function? Does the range being referenced and the array have to be on the same sheet?
Thanks in advance for the help!