Tuesday, March 19th, 2013

Excel – Sum a cell in all sheets but this one

Try this quick Excel formula to sum a cell in all the sheets except the current one

In Excel sometimes you’ll want to sum a cell value in all the sheets except the one that you’re currently working on. You might do this if you have a series of quarterly results that you want to add together to create a yearly total in the total sheet.

You can do this by typing the sheet name and cell for each cell to add but that would be very cumbersome. It will be a nuisance too if you try to select each cell in turn. Luckily Excel has a special feature that will help you do this. So, to sum all the values in, for example, cell C3 of every sheet in the current workbook except for the sheet you are currently working on, use this formula:

=SUM(‘*’!C3)

The ‘*’! part of the formula tells Excel that it should total all the sheets in the workbook except the current worksheet. When you press Enter Excel expands the formula so it will refer to the first and last sheets in the workbook. So, if you are summing that cell in a workbook that has sheets called YearTotal, Quarter1, Quarter2, Quarter3, and Quarter4 the formula will be expanded automatically so it reads:

=SUM(Quarter1:Quarter4!C3)

Be aware that if you add additional sheets to the workbook which appear inside the range of the sheets that are refered to in the formula then those additional worksheet cells will be included in the total.

If you don’t want this to be the case then make sure that any new sheets that you add appear outside the range of sheets that are included in the formula.

Helen Bradley

Thursday, February 16th, 2012

Excel 2010 – quick and easy calculations

One of the handiest calculation tools in Excel isn’t a function and instead it appears automatically on the Status Bar.

Select a series of numbers and in the Status Bar you will see, by default, the Sum of those numbers.

Right click the Sum and you can select from other calculations such as Min, Max, Count Items, Count and Average. These calculations are useful when you need to quickly check a calculation. It doesn’t get any  more convenient than this.

Helen Bradley

Thursday, April 5th, 2007

Don’t you hate it when you know there’s something wrong but you can’t exactly put your finger on what is happening?

Try this, filter a list in Excel and write an =sum function at the foot of the list to sum the visible data. So far so good? Well, try checking that sum manually – do you still feel confident? Worse still, if you’re using Excel, try to filter the numbers in the column containing the Sum formula and watch as Excel chews up your formula – yikes!

You see, =SUM just doesn’t work on filtered lists. Instead, you have to use SUBTOTAL. Of course, there’s a simpler way. Use the AutoSum button on the Excel toolbar to create your formula and it does the sensible thing and writes a SUBTOTAL function for you. Now, when you filter the data it sums only visible values and it never gets swallowed up.

Helen Bradley