MrRAMMounts
New Member
- Joined
- Oct 29, 2019
- Messages
- 17
- Office Version
- 365
- Platform
- Windows
Hi
I am unsure how to attach an example workbook for my query.
As you can see from the image above, I have Company, which has two data sets associated with it - Product and Category.
I am looking to allow someone to input the product and category then be given a , separated 'list' of companies that meet both criteria.
As you can see from the example I have used a MMULT function with TEXTJOIN (someone's suggestion from another site), however my actual workbook has currently 30 companies and between 5 and 550 rows of products.
The current formula does not work in my main workbook.
I can get TEXTJOIN to work for just the products-
=TEXTJOIN(", ",TRUE,IF(AllProducts!A3:AD551=Sheet2!A4,AllProducts!A2:AD2,""))
-but I cannot figure out how to integrate a second criteria to this.
I have tried IF(AND with an INDEX/MATCH as the second logical argument but I got confused.
Any help is greatly appreciated.
https://i.imgur.com/ZdQdDz1.png
Regards
I am unsure how to attach an example workbook for my query.
As you can see from the image above, I have Company, which has two data sets associated with it - Product and Category.
I am looking to allow someone to input the product and category then be given a , separated 'list' of companies that meet both criteria.
As you can see from the example I have used a MMULT function with TEXTJOIN (someone's suggestion from another site), however my actual workbook has currently 30 companies and between 5 and 550 rows of products.
The current formula does not work in my main workbook.
I can get TEXTJOIN to work for just the products-
=TEXTJOIN(", ",TRUE,IF(AllProducts!A3:AD551=Sheet2!A4,AllProducts!A2:AD2,""))
-but I cannot figure out how to integrate a second criteria to this.
I have tried IF(AND with an INDEX/MATCH as the second logical argument but I got confused.
Any help is greatly appreciated.
https://i.imgur.com/ZdQdDz1.png
Regards
Last edited by a moderator: