
Originally Posted by
DJunqueira
For the very particular case
Formula:
=IF(ISNUMBER(RIGHT(T1001.Data,1)),T1001.Data,LEFT(T1001.Data,5))
is this will part of first formula plus second as i cant see the selected Row like A2 ? currently excel is throwing error
=SUBSTITUTE(FILTERXML("<F><d>"&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,"_"," "),"-"," "),")",") ")," ","</d><d>")&"</d></F>","//d[translate(.,'1234567890','')!=. and string-length()>3 and not(starts-with(., 'P'))][1]"),")",""),IF(ISNUMBER(RIGHT(T1001.Data,1)),T1001.Data,LEFT(T1001.Data,5))
Bookmarks