That is because you do are not selecting a range before your first formula.
It is starting in the ActiveCell (whatever cell you are in when you start the macro).
Note that while the Macro Recorder is a great tool for getting snippets of code, there are a few things you need to understand about it, such as It is very literal. It records every screen scrolling and cell selection. These are often unnecessary to the code, and the code can actually be sped up by removing them. You do not need to actually select a cell to put a formula in it.
In your case, every coupling where you have something like:
VBA Code:
Range("E4").Select
ActiveCell.FormulaR1C1 = ...
it can be simplified to:
VBA Code:
Range("E4").FormulaR1C1 = ...
This will make your code shorter, faster, and ensure that it happens on the correct range.
So all you need in the body of your code is your four formulas:
VBA Code:
Range("D4").FormulaR1C1 = ...
Range("E4").FormulaR1C1 = ...
Range("I4").FormulaR1C1 = ...
Range("J4").FormulaR1C1 = ...
I will leave it to you copy in your formulas.
Note that in the future, instead of posting a picture of your code, please copy and paste your VBA code directly in here. Then we can copy and edit it for you.
There are even "VBA" code tags up in the Editor which will keep your code formatting nicely, like I have done above.