L
Legacy 69493
Guest
Hey. Got one question. I made myself a spreadsheet with multiple sheets to keep track of my hours and checks at/from work. Everything is working well, except for:
I've got 1 column that adds up my hours for every 2 week period. The hours are listed on a different sheet. So, everytime the cell goes down 1, it is supposed to add the next 14 consecutive cells from another sheet. This is the working formula I have in there now:
Cell M6:
=SUM(Hours!C36:C49)-MAX(Hours!T36:T49,Hours!U36:U49)
(column C is for total hours. other stuff is for figuring overtime. irrelevant for my question.)
The problem is, the "36" and "49" had to be typed in my me manually. I want it to all be automated so I can just copy the formula down, and it will work.
I have written something that i thought would solve the problem:
=ADDRESS((((CELL("row",M6))-4)*14+8),3,1,TRUE,"Hours")
The above returns "Hours!$C$36"
However, I tried to copy the second formula, and use it to replace "Hours!C36" in the first formula. Every way I try to do this gives me an error. What is the proper way to do this replacement?
I've got 1 column that adds up my hours for every 2 week period. The hours are listed on a different sheet. So, everytime the cell goes down 1, it is supposed to add the next 14 consecutive cells from another sheet. This is the working formula I have in there now:
Cell M6:
=SUM(Hours!C36:C49)-MAX(Hours!T36:T49,Hours!U36:U49)
(column C is for total hours. other stuff is for figuring overtime. irrelevant for my question.)
The problem is, the "36" and "49" had to be typed in my me manually. I want it to all be automated so I can just copy the formula down, and it will work.
I have written something that i thought would solve the problem:
=ADDRESS((((CELL("row",M6))-4)*14+8),3,1,TRUE,"Hours")
The above returns "Hours!$C$36"
However, I tried to copy the second formula, and use it to replace "Hours!C36" in the first formula. Every way I try to do this gives me an error. What is the proper way to do this replacement?