This will sort out the ones where there is no space and, by implication, no trailing number:

=IF(LEN(A1)-LEN(SUBSTITUTE(A1," ",""))=0,"",SUBSTITUTE(A1," ",",",LEN(A1)-LEN(SUBSTITUTE(A1," ",""))))

Regards