Worked perfect! Thank you mate. Just to understand, the two hyphen "--" just before (ISNUMBER...), not familiar with this, what purpose does it fulfill? if I remove them the formula stops working.
Worked perfect! Thank you mate. Just to understand, the two hyphen "--" just before (ISNUMBER...), not familiar with this, what purpose does it fulfill? if I remove them the formula stops working.
Now it is more clear to me regarding that. Though, I am a bit confused about using the =sumproduct in this context. What it usually does it multiplying one array with another and returns the product of those values, as far as I understand. In this context I can not really see what it does. Can you explain?
anyway, the search() function try to find if any match of 77, 88 & 99 within Cell A1
and the isnumber() will convert them into ture or false,
the -- convert them into 1 and 0.
the sumproduct() add them together if one or more match (1 or above)
Based on your first formula you want the cell to start with 77, 88, or 99 and then a space which the provided formula doesnt strictly do. You could try:
When 77 does not exist in A1 the formula evaluation display "FALSE;FALSE...." which is correct, when clicking next step, all "FALSE" turns to "TRUE", why?
It returns FALSE on whether A1 contains 77 or not, and since B1= -100 the second criteria is TRUE, the whole AND turns "TRUE" because the "FALSE" later turns to "TRUE".
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.