I have an excel file where emp code is given. If the emp code starts with FXP then type will be Flexi and if the employee code starts with VCD or VDP then type will be Onrole. For that which formula should I have to use. Need help