zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,079
Office Version
  1. 365
Platform
  1. Windows
i use this formula below

=SUM(C62:CV62)-(CX62)

It checks hour totals from where it starts. This formula is always under the name Check Hours and ends above that word Before Overall Totals=. What I am trying to do is every time I shift the 2 columns to go to the next which will be CW & CX . I have to change CV62 to CX62. Is there a way it can do that in a formula to change CV to the column before the work Overall Totals= at all times?

Excel 2016 (Windows) 32 bit
CU
CV
CW
60
0.0
0.0
61
0.0
0.0
62
0.0
0.0
Overall Totals =
63
Check Hours
64
Formula goes here
Sheet: Min
 
Last edited:

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Try this:

=SUM(INDIRECT("C62:"&ADDRESS(62;COLUMN()-1)))-(CX62)
 
Last edited by a moderator:
Upvote 0
Cant get it to go. I keep trying different things
 
Upvote 0
That's weird, it works over here. Can you share your file? (delete everything confidential first)
 
Upvote 0
Perhaps it's the comma / semi-colon "local formula" issue

try

=SUM(INDIRECT("C62:"&ADDRESS(62​,COLUMN()-1)))-(CX62)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,507
Messages
6,125,207
Members
449,214
Latest member
mr_ordinaryboy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top