Column A | Column B | |
1 | If these texts in B1 found 'Wafer' or 'WF', return text 'Wafer', and if texts 'Doubleflanged' or 'double flange' found, return value 'double flange' and none of the earlier texts found, return 'can'f find anything' value. | |
2 | ||
3 |
Column A | Column B | |
1 | If these texts in B1 found 'Wafer' or 'WF', return text 'Wafer', and if texts 'Doubleflanged' or 'double flange' found, return value 'double flange' and none of the earlier texts found, return 'can'f find anything' value. | |
2 | ||
3 |
=IFERROR(IF(OR(ISNUMBER(SEARCH("Wafer",B1)),ISNUMBER(SEARCH("WF",B1))),"Wafer",
IF(OR(ISNUMBER(SEARCH("Doubleflanged",B1)),ISNUMBER(SEARCH("double flange",B1))),"double flange",
"can't find anything")),"can't find anything")
Thank you so much,it worked as written but I did some changes to it to add on other conditions but ended with annoying message from excel:Try:
Excel Formula:=IFERROR(IF(OR(ISNUMBER(SEARCH("Wafer",B1)),ISNUMBER(SEARCH("WF",B1))),"Wafer", IF(OR(ISNUMBER(SEARCH("Doubleflanged",B1)),ISNUMBER(SEARCH("double flange",B1))),"double flange", "can't find anything")),"can't find anything")
=IFERROR(
IF(
OR(ISNUMBER(SEARCH("Wafer",$L2)),ISNUMBER(SEARCH("WF",$L2))),
"Wafer",
IF(
OR(ISNUMBER(SEARCH("Double Flange",$L2)),ISNUMBER(SEARCH("DoubleFlange",$L2))),
"Double Flange",
IF(
OR(ISNUMBER(SEARCH("Mono Flange",$L2)),ISNUMBER(SEARCH("MonoFlange",$L2))),
"Mono Flange",
IF(
OR(ISNUMBER(SEARCH("L",$L2)),ISNUMBER(SEARCH("Lug",$L2))),
"Lug",
"can't find anything"
)
)
)
)
Thank you, I did try the above but keeping getting the 'The formula is missing an opening or closing parenthesis' message from excel.Excel Formula:=IFERROR( IF( OR(ISNUMBER(SEARCH("Wafer",$L2)),ISNUMBER(SEARCH("WF",$L2))), "Wafer", IF( OR(ISNUMBER(SEARCH("Double Flange",$L2)),ISNUMBER(SEARCH("DoubleFlange",$L2))), "Double Flange", IF( OR(ISNUMBER(SEARCH("Mono Flange",$L2)),ISNUMBER(SEARCH("MonoFlange",$L2))), "Mono Flange", IF( OR(ISNUMBER(SEARCH("L",$L2)),ISNUMBER(SEARCH("Lug",$L2))), "Lug", "can't find anything" ) ) ) )
=IFERROR(
IF(
OR(ISNUMBER(SEARCH("Wafer",$L2)),ISNUMBER(SEARCH("WF",$L2))),
"Wafer",
IF(
OR(ISNUMBER(SEARCH("Double Flange",$L2)),ISNUMBER(SEARCH("DoubleFlange",$L2))),
"Double Flange",
IF(
OR(ISNUMBER(SEARCH("Mono Flange",$L2)),ISNUMBER(SEARCH("MonoFlange",$L2))),
"Mono Flange",
IF(
OR(ISNUMBER(SEARCH("L",$L2)),ISNUMBER(SEARCH("Lug",$L2))),
"Lug",
"can't find anything"
)
)
)
),
"can't find anything"
)
Column D - Category | Column L - Description | ||||
744 |
|
| |||
745 | 400MM PN10 NCI(DI)/SST/NBR LUG BFLY - Body: NCI(DI), Disc: SS316, Seat: BUNA(NBR), Gear operated | ||||
746 | 800MM PN10 NCI LUG BFV, BRZ, BUNA - BODY= NCI(DI), DISC = ALU-BRZ, SEAT = BUNA(NBR), GEAR OP. | ||||
747 | 600MM 10K NCI/BRZ/NBR DBFL BFV U-TYPE - Double Flanged Butterfly valve (U-type) JIS F-7480 with gearbox. Body: Nodular Cast Iron (GGG40), Disc: alubronze (AB2) , Seat: NBR. Max pressure: 10 bar. Flange Connection: 10K. Face to face: 170mm. | ||||
748 | 200MM #150 NCI/BRZ/NBR LUG BFV - ANSI 150 Lug butterfly valve. Body: Nodular Cast Iron (Ductile Iron), Disc: ALU-BRZ, Seat: NBR, Lever operated. | ||||
749 | 300MM PN10 LONG MONO BFV NCI/BRZ/EPDM - Monoflanged Butterfly Valve with Gearbox, Long type. Body: Nodular Cast Iron (GGG40), Disc: Alubronze (AB2). Seat: EPDM. Max working pressure: 10 bar. Flange Connection: PN10. Face to face: 114mm. Topflange: ISO5211 F10 (Ø102), Stem: 22mm Square (90°) |