Answer: IF(H4>0,12*$D$5-J4,0)
From the question, we are used to create a formula to calculate an interest paid on mortgage using the IF function.
We will start by giving a brief analysis on how to go about this for better understanding. This should help us get to our desired result.
If( H4>0 is the logical test,
then
12*$D$5-J4 is [value_if_true]
0 is [value_if_false]
so we have : IF(H4>0,12*$D$5-J4,0)
Using this above formula and typing it into cell K4;
[Note] :Absolute referencing of cell D5 means that this will not change while extending this formula to the entire column. Whereas, since cell H4 and J4 have relative cell referencing, these will change relatively as we extend the formula to the entire column.
cheers i hope this helps