I know it's my first post and i'm already asking for help ...
That's what people tend to do here ...

=IF(A3="Y", 4, CHOOSE(B3, 10, 10, 12, 12, 12))