filmov
tv
Excel Get The Rolling Total For The Last 12 Months Using XLOOKUP - Episode 2564

Показать описание
Microsoft Excel Tutorial: Adding a Rolling 12 Month Total in Excel
Welcome to episode 2564 of the MrExcel netcast, where we explore the hidden secrets of Excel. In this episode, we will be discussing a tip from Paul, who attended my seminar in Akron last week. Paul is an experienced Excel user, having won an Excel Master pin in Albuquerque and an Excel Guru patch. He shared with us a clever way to get a rolling 12-month forecast using XLOOKUP, and I am excited to share it with all of you.
The goal of this tip is to get the total for the last 12 months, or any number of months, ending on a specific date. We have two input cells, one for the number of months and one for the ending date. Paul's date is by month end, so we will be using that format. We will be using XLOOKUP, but at first glance, it may not seem like the right function for this task. However, there is a secret behavior in Excel that we will be utilizing to make this work.
We will start by using the EO month function to get the starting date. Then, we will use XLOOKUP to get the total for the first month. But here's where the secret comes in - if we add a colon immediately after the XLOOKUP function, it will return the cell address instead of the value. We can then use this cell address in our sum formula to get the total for all the months in between. This is a game-changing trick that can save us from using the volatile OFFSET function. And the best part? It works not just with XLOOKUP, but also with eight other functions - CHOOSE, IF, IFS, INDEX, INDIRECT, OFFSET, SWITCH, and XLOOKUP.
I want to thank Paul for sharing this brilliant tip with us, and I hope it will make your Excel experience even better. Don't forget to subscribe to our channel for more hidden secrets and tips from the world of Excel. And if you have any tips or tricks that you would like to share with us, please leave them in the comments below. Thank you for watching, and we'll see you in the next episode of the MrExcel netcast.
Table of Contents
(0:00) Problem Statement: Excel Rolling 12 Months Total
(0:40) Use Excel EOMONTH with negative 11 to find start month
(1:05) XLOOKUP appears to not solve problem
(1:31) Nine functions that can appear next to colon
(2:10) Change comma to colon inside of SUM in Excel
(3:00) XLOOKUP from Starting point to end point and get everything in middle
(3:15) Using Excel Evaluate Formula to watch formula in slow motion
(3:50) Changing date input cells in Excel
(4:20) Avoids volatile OFFSET function
(4:45) 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 #excelformula #microsoft365 #walkthrough #xlookup
This video answers these common search terms:
colon makes xlookup return cell reference
xlookup return cell reference with colon
excel xlookup result as cell reference
using colon for cell reference in xlookup
xlookup return address with colon
excel xlookup and cell reference syntax
how to sum cumulative in excel
how to do running sum in excel
how to create excel running sum
how to do running total excel
how to use xlookup formula in excel
Thanks for this tip from Paul A who was in my Akron seminar.
Paul uses a function like SUM(XLOOKUP:XLOOKUP) to return the total of all numbers from a start date through an end date.
Welcome to episode 2564 of the MrExcel netcast, where we explore the hidden secrets of Excel. In this episode, we will be discussing a tip from Paul, who attended my seminar in Akron last week. Paul is an experienced Excel user, having won an Excel Master pin in Albuquerque and an Excel Guru patch. He shared with us a clever way to get a rolling 12-month forecast using XLOOKUP, and I am excited to share it with all of you.
The goal of this tip is to get the total for the last 12 months, or any number of months, ending on a specific date. We have two input cells, one for the number of months and one for the ending date. Paul's date is by month end, so we will be using that format. We will be using XLOOKUP, but at first glance, it may not seem like the right function for this task. However, there is a secret behavior in Excel that we will be utilizing to make this work.
We will start by using the EO month function to get the starting date. Then, we will use XLOOKUP to get the total for the first month. But here's where the secret comes in - if we add a colon immediately after the XLOOKUP function, it will return the cell address instead of the value. We can then use this cell address in our sum formula to get the total for all the months in between. This is a game-changing trick that can save us from using the volatile OFFSET function. And the best part? It works not just with XLOOKUP, but also with eight other functions - CHOOSE, IF, IFS, INDEX, INDIRECT, OFFSET, SWITCH, and XLOOKUP.
I want to thank Paul for sharing this brilliant tip with us, and I hope it will make your Excel experience even better. Don't forget to subscribe to our channel for more hidden secrets and tips from the world of Excel. And if you have any tips or tricks that you would like to share with us, please leave them in the comments below. Thank you for watching, and we'll see you in the next episode of the MrExcel netcast.
Table of Contents
(0:00) Problem Statement: Excel Rolling 12 Months Total
(0:40) Use Excel EOMONTH with negative 11 to find start month
(1:05) XLOOKUP appears to not solve problem
(1:31) Nine functions that can appear next to colon
(2:10) Change comma to colon inside of SUM in Excel
(3:00) XLOOKUP from Starting point to end point and get everything in middle
(3:15) Using Excel Evaluate Formula to watch formula in slow motion
(3:50) Changing date input cells in Excel
(4:20) Avoids volatile OFFSET function
(4:45) 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 #excelformula #microsoft365 #walkthrough #xlookup
This video answers these common search terms:
colon makes xlookup return cell reference
xlookup return cell reference with colon
excel xlookup result as cell reference
using colon for cell reference in xlookup
xlookup return address with colon
excel xlookup and cell reference syntax
how to sum cumulative in excel
how to do running sum in excel
how to create excel running sum
how to do running total excel
how to use xlookup formula in excel
Thanks for this tip from Paul A who was in my Akron seminar.
Paul uses a function like SUM(XLOOKUP:XLOOKUP) to return the total of all numbers from a start date through an end date.
Комментарии