Forum Discussion

dennis houle's avatar
dennis houle
Copper Contributor
Oct 30, 2017
Solved

IF function

I am having trouble with the IF function.  I want to search text in a cell and if it contains an asterisk, then I'd like the cell next to it to display the word Late.  So, if  cell C3 shows Jim* or ...
  • IngeborgHawighorst's avatar
    Oct 30, 2017

    Hello,

     

    you can use the Find() function for that. Find() will return the position of the found text as a number. If the text is not found, then Find() will return an error. Wrap find into an IsNumber() function and put that into the condition of an IF() statement like this:

     

    =IF(ISNUMBER(FIND("*",C3)),"Late","")

     

     

    Does that work for you?