If you want to filter WooCommerce products by custom attribute, you need to first convert custom attributes into global attributes with WP Sheet Editor and then use the Search tool to find products containing specific attribute terms.
The reason for this is that in WooCommerce, you cannot natively filter products by custom attributes. These attributes exist only within individual products.
So if you want to enable filtering in WordPress admin to make changes to products based on custom attributes, you need to convert your custom attributes into global attributes. Global attributes are stored as taxonomies, which makes them usable for filtering the spreadsheet.
Once your attributes are global, you’ll be able to use them as search filters in the spreadsheet and apply changes to them.