Microsoft Excel Tutorial: Sum across worksheets when rows do not line up?
Today's question from Rebaz on podcast 1984 - Excel Sum Across Worksheets: "if we have different cell in different sheet, how can I Sum?"
Download the workbook from today: www.mrexcel.com/youtube/UO11A...
This video shows you an easy way to build a 3-D reference in Excel, also known as a spearing formula. Excel functions include SUM, XLOOKUP, FILTER, SUMIFS, TEXTJOIN, TEXTSPLIT, SUMPRODUCT, Helper Arrays, LET, Python in Excel, and VSTACK.
Welcome to episode 2622 of the MrExcel Netcast. Today, we have a great question from Rebaz about summing across sheets when the rows are not lined up. This can be a tricky task, but fear not, we have some solutions for you.
In the past, it was simple to sum across sheets when the rows were in the same order. However, with each sheet now being sorted differently, we can't rely on the fact that the data will be in the same place each time. So, we need to find a way to sum across sheets without knowing the exact location of the data.
We start with a simple 3-D formula, using the SUM function. By clicking on the first sheet and then shift-clicking on the last sheet, we can select the cells we want to sum. However, this method may not work for all functions. So, we explore other options such as XLOOKUP, FILTER, and SUMIFS, but unfortunately, these do not work with 3-D references.
But fear not, there are still some functions that do work with 3-D references. One of them is TEXTJOIN, which can combine data from multiple sheets into one long string. We can then use TEXTSPLIT to split this string and get the data we need. Another option is VSTACK, which allows us to stack data from multiple sheets into one array.
If you're using Microsoft 365, you can also use Power Query to sum across sheets. And if you have any other suggestions or solutions, please share them in the comments below. It would also be great to have a comprehensive list of functions that work with 3-D references, so if anyone knows of one, please share it with us.
Thank you for tuning in to this episode of the MrExcel Netcast. If you enjoyed this video, please like, subscribe, and ring the bell to be notified of future episodes. And don't forget to leave your questions and comments down below. See you next time!
Buy Bill Jelen's latest Excel book: www.mrexcel.com/products/latest/
You can help my channel by clicking Like or commenting below: www.mrexcel.com/like-mrexcel-...
Table of Contents
(0:00) Problem: Adding Across Sheets that are not lined up
(0:43) How to build a 3-D Reference
(1:19) Does XLOOKUP work with 3-D?
(1:50) Does FILTER work with 3-D?
(2:09) Does SUMIFS work with 3-D?
(2:38) TEXTJOIN works with 3-D References
(3:23) TEXTSPLIT of TEXTJOIN
(3:48) Building out TEXTJOIN solution
(5:36) Using Python in Excel Fails with a Formula
(6:01) VSTACK works with 3-D
(6:45) Could use Power Query
(7:04) How would you do this?
(7:14) Is there a list of Excel functions that work with 3-D?
(7:33) Wrap-up / Nancy Faust
(7:43) Clicking Like really helps the algorithm
#excel #microsoft #microsoftexcel #exceltutorial #exceltips #exceltricks #excelmvp #freeclass #freecourse #freeclasses #excelclasses #microsoftmvp #walkthrough #evergreen #spreadsheetskills #analytics #analysis #dataanalysis #dataanalytics #mrexcel #spreadsheets #spreadsheet #excelhelp #accounting #tutorial
This video answers these common search terms:
Excel 3-D References
FILTER function and 3-D references
How to sum cells from different sheets
LET function in Excel
Sum Across Sheets Excel
SUMIFS and 3-D references
SUMPRODUCT with 3-D references
TEXTJOIN with 3-D references
TEXTSPLIT function in Excel
Using Helper arrays in Excel
VSTACK function in Excel
XLOOKUP not working with 3-D references
Join the MrExcel Message Board discussion about this video at www.mrexcel.com/board/threads...
14 июл 2024