How to filter material base on product

ADEYADEEL

New Member
Joined
Mar 3, 2023
Messages
4
Office Version
  1. 2019
Sheet #1Sheet# 2SearchProduct B
ProductsRaw Mat
Product AMat 1Raw MaterialStock
Product AMat 2Mat 1
1​
Product AMat 3Mat 2
5​
Product BMat 1Mat 4
9​
Product BMat 2
Product BMat 4
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
1) On Sheet2, add a column that pulls in the list of products that include each material:

Something like:

Code:
C4=TEXTJOIN("; ",TRUE,IF(Sheet1!$B$2:$B$7=A4,Sheet1!$A$2:$A$7,""))

Copy C4 down through the end of your materials

2) Filter column C for "Product B"
 
Upvote 0

Forum statistics

Threads
1,215,076
Messages
6,122,987
Members
449,093
Latest member
Mr Hughes

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