The_Wraith
New Member
- Joined
- Oct 20, 2017
- Messages
- 6
Since I've been hacking away at this syntax for over an hour... I figured it was time to give up and ask people smarter than me. I want to take the following standard SUM syntax:
=SUM('Sheet3'!C5:C100)
And, instead of manually specifying "Sheet3" in the formula I want to include a variable of that sheet name. I have the Sheet names in a separate column. Assume the following:
B3 = Sheet3
B4 = Sheet4
B5 = Sheet5
B6 = Sheet6
What is the proper syntax for something like:
=SUM([B3]!C5:C100)
=SUM([B4]!C5:C100)
=SUM([B5]!C5:C100)
=SUM([B6]!C5:C100)
?
I've tried such things as INDIRECT and numerous attempts to get the values in "B#" into the SUM formula without success. Please advise. Thanks in advance.
=SUM('Sheet3'!C5:C100)
And, instead of manually specifying "Sheet3" in the formula I want to include a variable of that sheet name. I have the Sheet names in a separate column. Assume the following:
B3 = Sheet3
B4 = Sheet4
B5 = Sheet5
B6 = Sheet6
What is the proper syntax for something like:
=SUM([B3]!C5:C100)
=SUM([B4]!C5:C100)
=SUM([B5]!C5:C100)
=SUM([B6]!C5:C100)
?
I've tried such things as INDIRECT and numerous attempts to get the values in "B#" into the SUM formula without success. Please advise. Thanks in advance.