Get sum of the values in corresponding cells.

shaju

Board Regular
Joined
Jul 12, 2004
Messages
80
Office Version
  1. 2010
Platform
  1. Windows
Hi,
I have values, which changes each day, in range (T12:AA21) in 32 identical sheets viz sheet4, sheet5, sheet6, sheet7 etc. Sheet4 is a "Summary sheet". I want in sheet4 range (T12:AA21) the sum of the values in corresponding cells. Like

Sheet4.range("T11").value= sheet5.range("T11").value+sheet6.range("T11").value+sheet7.range("T11").value+......sheet35.range("T11").value

Sheet4.range("T12").value= sheet5.range("T12").value+sheet6.range("T12").value+sheet7.range("T12").value+......sheet35.range("T12").value

etc. How can it be done through VBA.

TIA
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Place this formula in cell T12 and copy it across and then down: =SUM(Sheet4:Sheet35!T12)
 
Upvote 0
Solution
Thanks a lot mumps. That answer was much helpful. (Leave the vba part, this is sufficient. )
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,901
Messages
6,175,277
Members
452,629
Latest member
SahilPolekar

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