Not sure if this will work, try

in D1
=IF(A1="","",LOOKUP(A1,{1,2,3},{3,"",7}))

in E1
=IF(A1="","",LOOKUP(A1,{1,2,3},{"",5,8}))

in F1
=IF(A1="","",LOOKUP(A1,{1,2,3},{4,6,9}))