[![enter image description here](https://i.stack.imgur.com/HsF6t.png)](https://i.stack.imgur.com/HsF6t.png)

I'm trying to write an if else statement in Google Sheets.  

I want the value in cell `B2` to dictate what the value you will be in cell `D2`. If the cell `B2` is less than 12 than I want `D2 = 17`, if `B2` is less than 15 but greater than 12 then I want it to equal to 16 and so on and so forth as shown by the code above.