Trying to compare last years numbers to this years numbers

markman235

Board Regular
Joined
May 10, 2011
Messages
52
Hi everyone,

I have a full set of last years numbers that I am trying to compar to a set of this years numbers on a moving 4 week average. I can get the numbers for the current year using this array formula.

=IFERROR(AVERAGE(INDEX('IWI Week Ending Usage Numbers'!3:3,LARGE(COLUMN('IWI Week Ending Usage Numbers'!3:3)*('IWI Week Ending Usage Numbers'!3:3<>""),4)):'IWI Week Ending Usage Numbers'!XFD3),"-")

This works because nothing is populated past the last week. (I can't run production numbers for the future).

My question is, how can I find the numbers for the same week, last year? I was thinking of using an offset based on the formula above to find the week number (they are listed in row 2) and then index match that to the row numbers for last years data (which starts in row 30).

Any thoughts?

Thank you,

Mark
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

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