Hi guys, I need to replace names and convert them into numbers in a excel file, I am using this line of code to do it but this is only working if the person write name and then surname, but I also need to convert it if some write first the surname and then the name, I dont know if there is a way to do it.
For example here I can replace the name and convert it to "2" if has been written "Luigi Iacomini" but iif has been written "Iacomini Luigi" I can not do it
Maybe someone can help me thank you.