If 2 accounts have different last names, and they aren't battle.net, you can always merge them to the same battle.net account, and ta-dah, transfer away!
But, if you create 2 battle.net account with same last names, you have to wait a month before you can transfer.