Eloise T
Active Member
When I composed the following, I only needed *Diag* in the formula...and it worked.
IF(AND(H7=30,IFERROR(SEARCH("*Diag*",J7)>0,0)),40, √
Months later I needed to add *ware*.
When using the formula:
IF(AND(H7=30,IFERROR(SEARCH(OR("*Diag*","*ware*"),J7)>0,0)),40, X
it didn't yield the correct result(s).
But when I removed the OR function and duplicated the 1st line:
IF(AND(H7=30,IFERROR(SEARCH("*Diag*",J7)>0,0)),40, √
IF(AND(H7=30,IFERROR(SEARCH("*ware*",J7)>0,0)),40, √
it worked. Why?
IF(AND(H7=30,IFERROR(SEARCH("*Diag*",J7)>0,0)),40, √
Months later I needed to add *ware*.
When using the formula:
IF(AND(H7=30,IFERROR(SEARCH(OR("*Diag*","*ware*"),J7)>0,0)),40, X
it didn't yield the correct result(s).
But when I removed the OR function and duplicated the 1st line:
IF(AND(H7=30,IFERROR(SEARCH("*Diag*",J7)>0,0)),40, √
IF(AND(H7=30,IFERROR(SEARCH("*ware*",J7)>0,0)),40, √
it worked. Why?