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

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Watch MrExcel Video

Forum statistics

Threads
1,129,724
Messages
5,638,010
Members
416,999
Latest member
smulttjukken

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
Top