There are several reasons this can happen when baking a cake, other than not getting the ingredient amounts correct. Make sure you are not substituting ingredients except the ones recommended in the Substitutions section above. A dry or wet cake can also be a symptom of having an oven with a faulty thermometer, causing the cake to overbake or undertake. This is a very informative article to help you troubleshoot.