Use this formula in A17 then copy down:
=SUBSTITUTE(LEFT(A3,FIND(" x",A3)-1),"""","")