I have data in col 1
a1= alex berbec
a2 = asoi
a3= john travolta
Etc
I want take split first splitFunction UD(r as range) UD = split(r.value, " ") (1) End function
In b1= berbex
In b2 =asoi
In b3 = travolta
But in A2 = alex udf will be error
How to else my udf
But still errorfunction UD ( r as range) UD =iif(iserror(UD),r.value,split(r.value, " ")(1)) End function
Bookmarks