Looking for assistance in getting comparative data from a table ( i.e data from same month last year, previous month this year, 6 month average,)

JimBoBz

New Member
Joined
Apr 28, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
hi There ,
I am looking to figure out how to make a summary table that would show comparative data from a table that is updated monthly.
Table 1 is updated monthly (start of the month) and has columns showing previous months data.
The values I am looking to show in a Table 2 are "the Same Month Last Year ", Previous Month This Year", "6 Month Average" and "12 Month Average".
Any help is much appreciated
 

Attachments

  • Table 2.png
    Table 2.png
    4 KB · Views: 4
  • Table 1.png
    Table 1.png
    8.4 KB · Views: 4

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
MrExcelPlayground8.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXY
1Feb-21Mar-21Apr-21May-21Jun-21Jul-21Aug-21Sep-21Oct-21Nov-21Dec-21Jan-22Feb-22Mar-22Apr-22May-22Jun-22Jul-22Aug-22Sep-22Oct-22Nov-22Dec-22Jan-23
2Dept 194%95%96%95%92%91%89%92%94%94%94%95%96%96%
3Dept 293%97%92%86%84%82%75%79%74%81%86%90%91%91%
4
514vs Same month LYvs Prev month TY6M average12M average
6Dept 195%96%95%94%
7Dept 297%91%86%84%
Sheet14
Cell Formulas
RangeFormula
A5A5=MAX(ISNUMBER(B2:Y2)*SEQUENCE(1,COLUMNS(B2:Y2)))
B6:B7B6=INDEX(B2:Y2,1,$A$5-12)
C6:C7C6=INDEX(B2:Y2,1,$A$5-1)
D6:D7D6=AVERAGE(INDEX(B2:Y2,1,$A$5-{0,1,2,3,4,5}))
E6:E7E6=AVERAGE(INDEX(B2:Y2,1,$A$5-SEQUENCE(12,1,0,1)))
 
Upvote 0
Solution

Forum statistics

Threads
1,214,641
Messages
6,120,692
Members
448,979
Latest member
DET4492

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