Dynamic Column Range in a Sum Across Multiple Spreadsheet Formula

ISTO

New Member
Joined
Oct 21, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
I am using weekly timesheet data that is copied into separate spreadsheets tabs. I am using a report spreadsheet to aggregate the data for weekly numbers and cumulative to-date figures based on project. I figured out how to add values across multiple spreadsheets using SUMPRODUCT/SUMIF/INDIRECT. The problem I am running into is how to create a dynamic range column in the SUMPRODUCT/SUMIF/INDIRECT formula based on the report date to sum my cumulative hours to-date on the project. The report date is set at the top and most of the other formulas on the spreadsheet are based on this value. I attached a photo of my current formula. Can anyone provide me a possible solution to my problem or let me know what additional data they need to figure out what I'm trying to accomplish?
 

Attachments

  • Dynamic Column Range.png
    Dynamic Column Range.png
    71.2 KB · Views: 23

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Are you trying to make the column ranges dynamic so that they only look at the used range rather than the entire column?

If that is what you are trying to do and you are doing it to make it more efficient then i suspect that your efforts will be counter productive.

If nobody else provides anything for you then I will have a look at it when I get chance although this may not be until early next week.
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Dynamic Column Range in a Sum Across Multiple Spreadsheet Formula
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Dynamic Column Range in a Sum Across Multiple Spreadsheet Formula
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
Here as well:
Microsoft Tech Community
 
Upvote 0
Are you trying to make the column ranges dynamic so that they only look at the used range rather than the entire column?

If that is what you are trying to do and you are doing it to make it more efficient then i suspect that your efforts will be counter productive.

If nobody else provides anything for you then I will have a look at it when I get chance although this may not be until early next week.
Not sure I fully understand your question. I want the formula to look at the entire column (which is various weekly dates) in my Hidden Data spreadsheet and use the column to determine which cells to include in the parameters for summing.
 
Upvote 0
If you mean that you want to use multiple criteria then you just need to use SUMIFS instead of SUMIF. From how you describe it in your reply it looks as if that is closer to what you need than a dynamic range, although whether it is actually what you need is not entirely clear.

A dynamic range (which you asked for) is one that resizes with the data by using an indexing function to find the last row (or column) with data in it so that the formulas are not processing the empty cells at the end of the range, not one that looks at the data based on specified criteria.
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,380
Members
449,080
Latest member
Armadillos

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