

To check if a cell contains a number or date, select the output cell, and use the following formula: =IF(ISNUMBER(cell), value_to_return, "").Because the A2 cell does contain text and not a number or date, the formula will return “ Yes ” into the output cell.In this scenario, you’d change the formula to =IF(ISTEXT(A2), "Yes", ""). For our example, the cell we want to check is A2, and the return value will be Yes.To check if a cell contains text, select the output cell, and use the following formula: =IF(ISTEXT(cell), value_to_return, "").The formula will ignore the opposite data types. With the formula below, you can return a specific value if the target cell contains any text or number. If cell contains text/number, then return a value If the cell you’re checking is blank, the output cell will also remain blank.Ģ. Since the A2 cell isn’t blank, the formula will return “ No ” in the output cell.In this scenario, you’d change the formula to =IF(A2"", "No", ""). For our example, the cell we want to check is A2, and the return value will be No.Select the output cell, and use the following formula: =IF(cell"", value_to_return, "").For example, we’ll be checking whether or not the A1 cell is blank or not, and then return a value depending on the result. This scenario allows you to return values based on whether or not a cell contains any value at all. If cell contains any value, then return a value Contact our experts if you need any further assistance.

If you’re using a different version or platform, some steps may vary.
#Does not equal sign in excel formula windows
The guides below were written using the latest Microsoft Excel 2019 for Windows 10. Using “if cell contains” formulas in Excel
