Autoamte QtD and YtD YoY% calculations as new data comes in?

kinsdoe1234

New Member
Joined
Mar 25, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have a set of daily sales, with dates down column A, and sales for Product 1, 2, 3, ... etc. in columns B, C, D, ..., etc.

Can obviously do some sums of historical months/quarters/years to get a YoY sales comparison for each individual product/total in a given period.

I'm looking for a way to automate a "X to Date" yoy % comparison as each new day's data comes in. For example, if I currently have sales data from 1/1/2019 to 2/3/2020, how could I go about constructing helper columns/formula to automatically compare the total sales from 1/1/2019 to 2/3/2019 against the total sales from 1/1/2020 to 2/3/2020, and then have that automatically update as I add more rows (days) of data when they come in?

Appreciate any help!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,215,029
Messages
6,122,755
Members
449,094
Latest member
dsharae57

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