Auto Sum required for all the sheets

harinsh

Active Member
Joined
Feb 7, 2012
Messages
273
Hi Team,

I need one quick help to sum all my sheet data....I have around 200+ sheets with same format and I'm doing one summary sheet where I can see the sum of all sheets (column L) but not able to get the formula .....

Example: Currently using below formula
=Sum('Sheet 1'!L:L)

How to I change the Sheet 1, Sheet 2 ..etc If I drag the formula I'm not getting the results....

Plz help to get the right formula to copy all the sheets column L:L sum details...

Thx
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
In your summary sheet, IN ROW ONE (1)

=SUM(INDIRECT("Sheet"&ROW()&"!L:L"))

will return the result that you're after if you drag the formula down.

Note - ROW() returns 1,2,3,4,5 etc dependent on the position in the sheet. If you want the formula to start somewhere other than row one, you'll need to amend the formula accordingly.
 
Upvote 0
If your values in column L start in cell L1:

=SUM('Sheet1:Last Sheet'!L1)

Copy the formula down to the last row of data in your 200+ sheets
 
Upvote 0
Thx for that....but how do I get the sheet wise sum details...??

like
Sheet 1 = XXXXX
Sheet 2 = XXXXX
Sheet 3 = XXXXX
....
....
Sheet 200 = XXXXX

This is the out put I'm looking ...

Thx
 
Upvote 0
Hi davesweep,

Thanks for your sum and index function...but if I change sheet name it's not working....if want to change sheets names like Data 1, Data 2...etc....

How do I modify the formula??
 
Last edited:
Upvote 0
1. In your target workseet put the sum formulat as follows:
1.1 =sum(
1.2 click on the first worksheet in the list + CTRL + click the last worksheet in the list + click the cell you want to sum
1.3 ) ENTER
2. Drag the equation for as many lines you have per sheet

Working this way you don't have to worry for worksheet names, or even if you add some new worksheet in the middle.
 
Upvote 0

Forum statistics

Threads
1,224,559
Messages
6,179,515
Members
452,921
Latest member
BBQKING

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