zerakh
New Member
- Joined
- Sep 13, 2020
- Messages
- 6
- Office Version
- 365
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
- Platform
- Windows
I've been working with my file, and found a formula that could work for me...Unfortunately, i have variable sheets that may change names. I've also noticed because of this, the formula keeps breaking (the reference no longer is there) and the workbook takes longer than I've ever had before.
my goal is to take the sum of all sheets (trade & job) and then I will compare it to the totals/invoice page where I have placed the amount of hours/money per trade that I am allowed.
I used the following source(s):
How to Use the SUMIF Function Across Multiple Sheets | Excelchat
I've only been able to get the code to work on a local sheet level, which requires me to add some hidden columns, but it doesn't always calculate correctly (mostly on the multiple sheets)
could you assist?
also, many of my formulas/vba i've patched together from multiple sources- currently they work for what I need, but if you have any suggestions on how to make it more efficient, I'd be grateful.
thank you.
File for download:
http://www.omilotdesigns.com/excel/timecards_forum.xlsm
my goal is to take the sum of all sheets (trade & job) and then I will compare it to the totals/invoice page where I have placed the amount of hours/money per trade that I am allowed.
Excel Formula:
=SUMPRODUCT(SUMIFS(INDIRECT("'"&Worksheet&"'!W:W"),INDIRECT("'"&Worksheet&"'!B:B"),$E23,INDIRECT("'"&Worksheet&"'!C:C"),$F23))
I used the following source(s):
How to Use the SUMIF Function Across Multiple Sheets | Excelchat
I've only been able to get the code to work on a local sheet level, which requires me to add some hidden columns, but it doesn't always calculate correctly (mostly on the multiple sheets)
could you assist?
also, many of my formulas/vba i've patched together from multiple sources- currently they work for what I need, but if you have any suggestions on how to make it more efficient, I'd be grateful.
thank you.
File for download:
http://www.omilotdesigns.com/excel/timecards_forum.xlsm