This is a prime candidate for the INDIRECT function.
From http://office.microsoft.com/en-us/excel-help/indirect-HP005209139.aspx
Use INDIRECT when you want to change the reference to a cell within a formula without changing the formula itself.
Your example would be something like
=SUM(C4:INDIRECT("R4C"&$H$32+2, FALSE))
Note that I'm using the R1C1 notation. If H32 is 7
, then the INDIRECT
formula will evaluate to R4C7
, a.k.a., G4
. Then we add 2 to the column to make it I7
.
Hope that makes sense, please comment if you want further clarification.