Preheat your oven to 350°F (175°C) and prepare a 9x13-inch baking pan by greasing it and dusting with flour.
In a medium bowl, whisk together the flour, baking powder, baking soda, and salt.
In a large mixing bowl, cream together the butter and sugar until light and fluffy. Add eggs one at a time, mixing well after each addition. Stir in vanilla and almond extracts.
Gradually add the dry ingredients to the wet mixture, alternating with sour cream, mixing until just combined. Fold in cranberries and almonds.
Pour the batter into the prepared baking pan and smooth the top.
Bake for 35-40 minutes, checking for doneness with a toothpick.
Let the cake cool in the pan for 10 minutes before transferring to a wire rack to cool completely.