Excel Sum Across Worksheets When Rows Are Lined Up Or Not - 2572

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Mar 16, 2023.
Some call it a 3D reference or a spearing formula. If your Excel worksheets are all perfectly lined up, you can use this formula to sum across worksheets in Excel.
But if your worksheets are not in the same sequence, then you can use TOCOL, SORT, UNIQUE, and SUMIFS to solve the problem.

This video answers these search terms:
how ot easy sum tabs in excel
how sum across multiple sheets in excel
how to calculate sum from other tabs in excel
how to do sum across two worksheets in excel
how to do sum of cells in multiple sheet in excel
how to get multi excel sheets to sum
how to get sum from multiple sheets in excel
how to sum across excel tabs
how to sum an entire workbook in excel
how to sum cells from different excel sheets
how to sum cells from different sheets excel
how to sum cells inexcel from multiple sheets
how to sum columns in excel from multiple tabs
how to sum different tabs in excel
how to sum forumla across multiple sheets in excel
how to sum from multiple excel sheets
how to sum from multiple sheets in excel
how to sum in excel across multiple sheets
how to sum in excel across tabs
how to sum in excel on different tabs
how to sum multiple pages in excel
how to sum multiple sheets excel
how to sum multiple tabs excel
how to sum multiple worksheets in excel
how to sum several sheets in excel
how to sum tabs in excel
how to summarize excel sheets on one
how to use sum function with 3d reference excel
maxresdefault.jpg


Transcript of the video:
How to sum across worksheets in Excel.
The first example here is going to assume that all of the sheets are exactly lined up.
So apple in row seven, orange in row 21 and everything else exactly the same.
We go to the Total worksheet.
The confusing part is the syntax changes depending on if you use spaces in your sheet names.
I have a beautiful way to not have to worry about that syntax.
Start here where you want the first total to be type, equal, sum, open parenthesis.
Click on the first sheet, in my case, that's Andy.
Don't click on anything on that sheet, and then shift click on the last sheet.
In my case, that's Charlie. And you can see up here in the formula bar that they're starting to build the syntax for us.
Now click on the correct cell, in this case B7, close the parenthesis and press enter.
You now have a 3D reference, also known as a spearing formula, that adds up across the sheets from Andy to Charlie.
Provided you insert new worksheets between Andy and Charlie, those totals will properly update.
Now there's a different situation where we have three sheets and those sheets are not lined up, it's just in some sort of random order, the order that the people happen to sell the products.
This becomes much more complicated.
Luckily there's a new functioning cell called TOCAL that respects 3D references.
So over here, off to the right, I created two helper cells.
In cell L5, I want the TOCOL of Andy, Cole and Charlie from A7 to A29.
That three says to ignore the empty cells.
And then in M5, I do the same thing to get the sales amounts.
Once I have a list of all products and all sales, over here I get assorted unique list of products.
L5# says give me all of the products from that formula.
To get the totals through each product in column A, we use the SUMIFs, looking at the sales in column M, the products in column L to see which ones match Apple, in this case.
As I was trying to figure out some way to solve this, I was heading down this path and these formulas are no longer needed, it's really these four formulas, right here, that you would use to replicate this solution.
I'll leave the screen running here a little bit so you can screenshot that.
If you like these videos, please, down below, Like, Subscribe, and Ring the bell.
Feel free to post any questions or comments down in the comments below.
 

Forum statistics

Threads
1,224,875
Messages
6,181,514
Members
453,050
Latest member
Obil

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