Share via

How do I search multiple sheets with multiple functions, but have the input on a single sheet?

Anonymous
2023-10-19T21:31:59+00:00

I have the function: =TEXTJOIN(",",TRUE,TRANSPOSE(FILTER($A:$A,$C$1=$B:$B) on one sheet. I want to search through different sheets but have the function value displayed on the first sheet where the formula is.

For Example:

On Sheet 1, I have =TEXTJOIN(",",TRUE,TRANSPOSE(FILTER($A:$A,$C$1=$B:$B)&FILTER('Sheet 2'!$A:$A,$C:$1=$B:$B) and it works but when I copy the same formula but add sheets 3 and 4, it doesn't work.

If someone could help that would be great! Thank you for your time and I hope you have a great rest of your day!

Microsoft 365 and Office | Excel | For education | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2023-10-19T21:53:31+00:00

Try

=TEXTJOIN(",", TRUE, VSTACK(TRANSPOSE(FILTER(Sheet 1'!$A:$A, 'Sheet 1'!$B:$B=$C$1), FILTER('Sheet 2'!$A:$A, 'Sheet 2'!$B:$B=$C$1), FILTER('Sheet 3'!$A:$A, 'Sheet 3'!$B:$B=$C$1), FILTER('Sheet 4'!$A:$A, 'Sheet 4'!$B:$B=$C$1))))

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful