Sherry is a fortified wine (it has added flavors and, typically, brandy). You do NOT want to use sherry cooking wine. It's not going to be drinkable on its own. It's not going to be the same quality and it isn't going to create a delicious cake that you'll want to cram in your face hole.