If those are only 3 options to be in r2Hi trying to get this to work, but returns nothing blank. What am I missing? If name is present return that number ,1 ,2 or ,3
=IF(R2="Yard",1,IF(R2="Yards",2,IF(R2="Tunnel",3,"")))
You could try:
=IF(TRIM(R2)="Yard",1,IF(TRIM(R2)="Yards",2,IF(TRIM(R2)="Tunnel",3,"")))