Premium Only Content

Excel Dynamic YTD Calculations: OFFSET, SUMPRODUCT & SUM
Dec 1, 2016 Excel Advanced Formulas & Features
This video shows you how to write dynamic YTD formulas in Excel using SUMPRODUCT, OFFSET & SUM functions.
Blogpost: http://www.xelplus.com/sumproduct-year-to-date/
Get the full course: https://courses.xelplus.com/
Lecture Summary:
In this video, I'll show you a way of writing YTD formulas (in this specific case for volume and price) when your data set goes over a few years. i.e. each month occurs more than once. If you were doing this manually, you'll need to revise your formula in the middle of your data set to make your range start from January of the next year. OFFSET allows you to create dynamic ranges - when you use this with the Month() and SUM() functions, you've created a smart formula that recognizes when the data goes over to the next year and revises your YTD calculation.
Calculating, YTD price can be a bit trickier. To get the volume weighted average price, you need to multiply the volume by the price and add each month to the next up to the current month. Then divide that value by the YTD volume.
This is when knowing how to use Excel's advanced formulas together can become helpful. Here the SUMPRODUCT function together with OFFSET can come to the rescue.
★ My Online Excel Courses ► https://courses.xelplus.com/
✉ Subscribe & get my TOP 10 Excel formulas e-book for free
https://www.xelplus.com/free-ebook/
EXCEL RESOURCES I Recommend: https://www.xelplus.com/resources/
Get Office 365: https://microsoft.msafflnk.net/15OEg
Microsoft Surface: https://microsoft.msafflnk.net/c/1327040/451518/7593
GEAR
Screen recorder: http://techsmith.pxf.io/c/1252781/347799/5161
Main Camera: https://amzn.to/3a5ldBs
Backup Camera: https://amzn.to/2FLiFho
Main Lens: https://amzn.to/39apgeD
Zoom Lens: https://amzn.to/3bd5pN7
Audio Recorder: https://amzn.to/2Uo5rLm
Microphone: https://amzn.to/2xYy9em
Lights: http://amzn.to/2eJKg1U
More resources on my Amazon page: https://www.amazon.com/shop/leilagharani
Note: This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
#MsExcel
-
DVR
The Trish Regan Show
1 hour agoBREAKING: NFL Picks Anti-Trump Rapper Bad Bunny for Super Bowl—Risking MASSIVE Fan Boycott!
9.97K5 -
45:18
Stephen Gardner
2 hours ago🚨EXPOSED: Real reason Trump preparing for war - Tulsi Gabbard WARNS Trump!!
11.8K27 -
4:23:04
Right Side Broadcasting Network
8 hours agoLIVE REPLAY: President Trump Participates in a Press Conference With Prime Minister Netanyahu - 9/29/25
91.6K37 -
1:09:19
The White House
5 hours agoPresident Trump Participates in a Bilateral Meeting with the Prime Minister of the State of Israel
26.2K32 -
1:25:35
Russell Brand
4 hours agoMichigan Church Shooting Sparks Trump Warning Of ‘TARGETED ATTACK On Christians’ - SF641
170K44 -
1:59:24
The Charlie Kirk Show
4 hours agoRemembering Charlie's Martyrdom and Continuing His Revival | Driscoll, McPherson | 9.29.2025
189K53 -
1:34:24
Sean Unpaved
4 hours agoEuropeans Too Good, Lamar's Limp-Off, & the MLB's Playoff Party: Weekend Sports Review
39.7K4 -
1:15:02
Mark Kaye
5 hours ago🔴 TRUMP Furious Over Bad Bunny Super Bowl Halftime Show
42.6K4 -
46:58
MattMorseTV
5 hours ago $11.20 earned🔴COURT DATE for Kirk's ASSASSIN.🔴
66.9K31 -
2:11:40
Nerdrotic
5 hours ago $4.85 earnedOne Woke After Another | JK Rowling NUKES Emma Watson - Nerdrotic Nooner 520
64.8K8