Ok found the right function, works great!!

Any way to get all factors out not just Prime Factors?

Also, is there any way to output these factors (prime and otherwise) into different cells in the same row?

eg A1=12 B1=2 C1=2 D1=2 E1=3

Im learning loads, Thanks!