=SUM(INDIRECT("D" & A1 & ":D" & A2))
A non-volatile formula to do the same job would be
=SUM(INDEX(D:D,A1):INDEX(D:D,A2))
You are welcome. If it was my sheet, I would definitely choose the INDEX structure for this job.Thank you all! These are just the answers I was looking for. I'm particularly intrigued but the use of the Index formula as well.