Adding cells in excel from diff. sheets

Closed
gizmo - Feb 2, 2009 at 10:31 AM
 An1 - Oct 8, 2014 at 07:59 AM
Hello,

Is it possible to add cells from different sheets in a single workbook. If so what is the formula?

Thanks

1 reply

Tweedledum Posts 181 Registration date Monday January 19, 2009 Status Member Last seen April 2, 2009 125
Feb 2, 2009 at 11:00 AM
You could use a macro or function itd be something like

ActiveSheet.Range("G5").CurrentRegion.Select
Selection.Copy
Sheets("Sheet7").Select
ActiveSheet.Paste

Current range will select everything beside it so it might be closer to

ActiveSheet.Range("G5").Select


This line would select the sheet
Sheets("Sheet7").Select

The destination would be something similer to the first line although a little different. I'm no excel guru or anything but that will get you on the right path
1
Thank you
0
there is an easier method. using the GUI of Office 2007.

highlight the cell you want the 'total' to be in.

--->click on the 'E' sum button (usually on the 'home' ribbon, under the 'editing' section)

--->go to the other sheet, highlight the Cells you wish to Add/sum,

--->Press Enter.....your done. (do not navigate anywhere else before you press enter as this will change the formula)

Explanation:
=SUM(otherSheet!cellRange1:cellRange2)

Example formula:
=SUM(SheetTwo!D24:D26) this will add cells d24 through d26 on another sheet called: SheetTwo.

Example of adding cells from 2 different sheets:
=SUM(SheetTwo!D24)+(SheetThree!D10)
0
good thanks
0