Group with Name and use Keywords

Copper Contributor

Hi,

I have grouped a list of entities with name "Metals" and using the name for comparing my material with this so called "Metals" database with the following formula

=SUMPRODUCT($F$9:$F$21*($Y$9:$Y$21=FALSE)*(ISNUMBER(MATCH(D9:F21;Metals;0))=TRUE))

 

The value(material name) in range D9:F21 will be checked in the "Metals" name list and the sum will be written if they match. The list as shown below for instance has Stahl, Stahl 8.8 A2S, Stahl DC01+ C590....
Here I would like to reduce the input in the "Metals" group by adding one entity Stahl* keyword and include all the names like Stahl 8.8 A2S, Stahl DC01+ C590 etc. Is it possible in my case? I know the usage of SEARCH but in other context. Any suggestions are highly appreciated.

image003.jpg

 

Thanks

2 Replies

@Yash635 

In Excel 365 you would use ISNUMBER/SEARCH to determine whether the word 'Stahl' is present and FILTER to limit the list to the matched items.  From you choice of functions, I assume you are using an older version of Excel.

Hi @Peter Bartholomew ,

 

I have a sheet with list of parts, it's material name (some grade/kind of metal or plastic) along with its weight (sheet 1). 

1.png

A List is defined with different material names classified into "Metals" and "Plastics" Names in Excel (sheet 2).

2.png

 

I am summing the weights of Material from sheet 1 based on the comparison made with "Metals" and "Plastics" list in sheet 2 and the sum is displayed like this

3.png

Here sheet 1 is the input I get and the material names are not standardized here and aslo I cannot do the changes though there are several naming conventions like Stahl, Stahl DC01,.... I can only control the Names list "Metals" and "Plastics" where I have added manually the list of materials. If there is a new additional material for example Stahl_XX_YY I need to add this into the "Metals" list and which would be a difficult task to check among the several input lines. 
So I want to say in my Names list, if *Stahl* keyword is in sheet 1 Material column then add into metals.