![text disappears in excel text disappears in excel](https://point.edu/wp-content/uploads/2017/10/POINT_-_West_Point_2-1030-2560x1024.jpg)
![text disappears in excel text disappears in excel](https://www.isunshare.com/images/article/office/solved-data-disappears-in-microsoft-excel-files/solved-data-disappears-in-excel.png)
You can not directly use the wildcard characters in IF formula, and we can use IF function in combination with COUNTIF function. If you wan to use wildcard charcter in an IF formula, for example, if any of the values in column B contains “*xc*”, then return “good”, others return “bad”. Excel IF function with Wildcards text value =IF( ISNUMBER( SEARCH("x",B1) ),"good","bad")įor above the IF formula, it will Check to see if B1 contain the letter x.Īlso, we can use FIND function to replace the SEARCH function in the above IF formula. If you want to check if part of text values in cell matches the specific text rather than exact match, to achieve this logic text, you can use IF function in combination with ISNUMBER and SEARCH Function in excel.īoth ISNUMBER and SEARCH functions are case-insensitive in excel. So we can write down the following IF formula combining with EXACT function: =IF( EXACT(B1,"excel"),"yes","no")Įxcel IF function check if part of cell matches specific text So if those two text values are exactly the same, then return TRUE.
![text disappears in excel text disappears in excel](https://cdn.windowsreport.com/wp-content/uploads/2020/02/toolbar-not-showing-in-excel-from-disabled-add-ins-1.png)
If you want to check text values in cells using IF formula in excel (case-sensitive), then you need to create a case-sensitive logical test and then you can use IF function in combination with EXACT function to compare two text values. And the logical test in the above IF formula will check the text values in the logical_test argument, whatever the logical_test values are “Excel”, “eXcel”, or “EXCEL”, the IF formula don’t care about that if the text values is in lowercase or uppercase, It will get the same results at last.Įxcel IF function check if a cell contains text (case-sensitive) The IF formula will check the values of cell B1 if it is equal to “excel” word, If it is TRUE, then return “yes”, otherwise return “no”.