Trying to compare last years numbers to this years numbers

markman235

New Member
Joined
May 10, 2011
Messages
46
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

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,214,832
Messages
6,121,843
Members
449,051
Latest member
excelquestion515

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