View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips[_3_] Bob Phillips[_3_] is offline
external usenet poster
 
Posts: 2,420
Default Referencing Last Cell

=SUM(B20:INDEX(B21:M21,MONTH(TODAY())))

--
__________________________________
HTH

Bob

"jlo" wrote in message
...
I have a spreadsheet that has total hours for Jan, Feb, Mar, Apr, May, Jun,
Jul, Aug, Sep, Oct, Nov, Dec. (B21:M21) In these fields are values up
until
the current month.

I have a field called Total Hours (B7). How can I get this cell to
reference the current month? Can it be done?

So for this month I keyed 144 in the month of Aug and I want the field
Total
Hours to reflect that total automatically. For next month, it should
change
to the figure keyedin Sep.