Sum by variable column

  • Thread starter Thread starter gr
  • Start date Start date
G

gr

I am having trouble wrapping my brain around this one.

I have a listing of columns for months (in reverse order). In each row
is that months budget numbers. What I want to do is have a column that
sums the year to date based on a value that is typed into a cell.
Colunn U = Jan
column T = Feb
Column S = March
etc

So if I type a 1, I want the sum of row x columns U:U
If I type a 3, I want the sum of row x columns S:U
etc

Thanks in advance for any help.
Guy
 
If that number is in cell A1, for example, this formula will do what you
want (fill down):
=SUM(OFFSET(J2,0,12-A1,1,A1))
 
Back
Top