I am trying to use a formula field where we are using IF statement but I am getting an error that it should have 3 return type and received two.
IF(CONTAINS("Re-Admit, re admit, readmit,Readmit,Re admit,ReAdmit,Re admit,Re-admit", TEXT(LastName), "1",
IF(CONTAINS("Re-Admit 2 , re admit 2, readmit 2,Readmit 2,Re admit 2,ReAdmit 2,Re admit 2,Re-admit 2",TEXT(LastName), "2"),
IF(CONTAINS("Re-Admit 3 , re admit 3, readmit 3,Readmit 3,Re admit 3,ReAdmit 3,Re admit 3,Re-admit 3",TEXT(LastName), "3"),"")