calculate rolling 12 months

zinah

Active Member
Joined
Nov 28, 2018
Messages
368
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have two tables first one is showing number of involuntary resignations each month during 2017, 2nd table resignations during 2018 for locations A,B,C,D,E, F, 3rd table shows the total headcount by month for 2017, and last table is headcount for 2018. My question is: how to calculate rolling 12 months? what is the best formula to calculate rolling 12 months over month


[TABLE="width: 968"]
<colgroup><col><col span="12"></colgroup><tbody>[TR]
[TD]Location[/TD]
[TD]12/31/2017[/TD]
[TD]11/30/2017[/TD]
[TD]10/31/2017[/TD]
[TD]9/30/2017[/TD]
[TD]8/31/2017[/TD]
[TD]7/31/2017[/TD]
[TD]6/30/2017[/TD]
[TD]5/31/2017[/TD]
[TD]4/30/2017[/TD]
[TD]3/31/2017[/TD]
[TD]2/28/2017[/TD]
[TD]1/31/2017[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]5[/TD]
[TD][/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]2[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="width: 968"]
<colgroup><col><col span="12"></colgroup><tbody>[TR]
[TD]Location[/TD]
[TD]12/31/2018[/TD]
[TD]11/30/2018[/TD]
[TD]10/31/2018[/TD]
[TD]9/30/2018[/TD]
[TD]8/31/2018[/TD]
[TD]7/31/2018[/TD]
[TD]6/30/2018[/TD]
[TD]5/31/2018[/TD]
[TD]4/30/2018[/TD]
[TD]3/31/2018[/TD]
[TD]2/28/2018[/TD]
[TD]1/31/2018[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]2[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="width: 702"]
<colgroup><col span="3"><col span="9"></colgroup><tbody>[TR]
[TD]12/31/2017[/TD]
[TD]11/30/2017[/TD]
[TD]10/31/2017[/TD]
[TD]9/30/2017[/TD]
[TD]8/31/2017[/TD]
[TD]7/31/2017[/TD]
[TD]6/30/2017[/TD]
[TD]5/31/2017[/TD]
[TD]4/30/2017[/TD]
[TD]3/31/2017[/TD]
[TD]2/28/2017[/TD]
[TD]1/31/2017[/TD]
[/TR]
[TR]
[TD]59[/TD]
[TD]60[/TD]
[TD]57[/TD]
[TD]59[/TD]
[TD]54[/TD]
[TD]60[/TD]
[TD]62[/TD]
[TD]61[/TD]
[TD]61[/TD]
[TD]58[/TD]
[TD]58[/TD]
[TD]59[/TD]
[/TR]
[TR]
[TD]29[/TD]
[TD]29[/TD]
[TD]29[/TD]
[TD]30[/TD]
[TD]31[/TD]
[TD]34[/TD]
[TD]31[/TD]
[TD]26[/TD]
[TD]24[/TD]
[TD]27[/TD]
[TD]30[/TD]
[TD]32[/TD]
[/TR]
[TR]
[TD]26[/TD]
[TD]26[/TD]
[TD]27[/TD]
[TD]27[/TD]
[TD]31[/TD]
[TD]31[/TD]
[TD]26[/TD]
[TD]23[/TD]
[TD]24[/TD]
[TD]26[/TD]
[TD]27[/TD]
[TD]26[/TD]
[/TR]
[TR]
[TD]28[/TD]
[TD]26[/TD]
[TD]26[/TD]
[TD]28[/TD]
[TD]30[/TD]
[TD]32[/TD]
[TD]30[/TD]
[TD]28[/TD]
[TD]29[/TD]
[TD]25[/TD]
[TD]27[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD]29[/TD]
[TD]27[/TD]
[TD]27[/TD]
[TD]29[/TD]
[TD]30[/TD]
[TD]32[/TD]
[TD]33[/TD]
[TD]34[/TD]
[TD]34[/TD]
[TD]36[/TD]
[TD]36[/TD]
[TD]34[/TD]
[/TR]
[TR]
[TD]33[/TD]
[TD]33[/TD]
[TD]33[/TD]
[TD]33[/TD]
[TD]33[/TD]
[TD]31[/TD]
[TD]33[/TD]
[TD]31[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]30[/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="width: 1600"]
<colgroup><col width="64" span="25" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl68, width: 64"]Location[/TD]
[TD="class: xl66, width: 64"]12/31/2018[/TD]
[TD="class: xl66, width: 64"]11/30/2018[/TD]
[TD="class: xl66, width: 64"]10/31/2018[/TD]
[TD="class: xl66, width: 64"]9/30/2018[/TD]
[TD="class: xl66, width: 64"]8/31/2018[/TD]
[TD="class: xl66, width: 64"]7/31/2018[/TD]
[TD="class: xl66, width: 64"]6/30/2018[/TD]
[TD="class: xl66, width: 64"]5/31/2018[/TD]
[TD="class: xl66, width: 64"]4/30/2018[/TD]
[TD="class: xl66, width: 64"]3/31/2018[/TD]
[TD="class: xl66, width: 64"]2/28/2018[/TD]
[TD="class: xl66, width: 64"]1/31/2018[/TD]
[TD="class: xl69, width: 64"]12/31/2017[/TD]
[TD="class: xl69, width: 64"]11/30/2017[/TD]
[TD="class: xl69, width: 64"]10/31/2017[/TD]
[TD="class: xl69, width: 64"]9/30/2017[/TD]
[TD="class: xl69, width: 64"]8/31/2017[/TD]
[TD="class: xl69, width: 64"]7/31/2017[/TD]
[TD="class: xl69, width: 64"]6/30/2017[/TD]
[TD="class: xl69, width: 64"]5/31/2017[/TD]
[TD="class: xl69, width: 64"]4/30/2017[/TD]
[TD="class: xl69, width: 64"]3/31/2017[/TD]
[TD="class: xl69, width: 64"]2/28/2017[/TD]
[TD="class: xl69, width: 64"]1/31/2017[/TD]
[/TR]
[TR]
[TD="class: xl67"]A[/TD]
[TD="class: xl70"]57[/TD]
[TD="class: xl70"]57[/TD]
[TD="class: xl70"]58[/TD]
[TD="class: xl70"]59[/TD]
[TD="class: xl70"]62[/TD]
[TD="class: xl70"]66[/TD]
[TD="class: xl70"]66[/TD]
[TD="class: xl70"]65[/TD]
[TD="class: xl70"]67[/TD]
[TD="class: xl70"]66[/TD]
[TD="class: xl70"]63[/TD]
[TD="class: xl70"]59[/TD]
[TD="class: xl71"]59[/TD]
[TD="class: xl71"]60[/TD]
[TD="class: xl71"]57[/TD]
[TD="class: xl71"]59[/TD]
[TD="class: xl71"]54[/TD]
[TD="class: xl71"]60[/TD]
[TD="class: xl71"]62[/TD]
[TD="class: xl71"]61[/TD]
[TD="class: xl71"]61[/TD]
[TD="class: xl71"]58[/TD]
[TD="class: xl71"]58[/TD]
[TD="class: xl71"]59[/TD]
[/TR]
[TR]
[TD="class: xl67"]B[/TD]
[TD="class: xl70"]37[/TD]
[TD="class: xl70"]33[/TD]
[TD="class: xl70"]34[/TD]
[TD="class: xl70"]27[/TD]
[TD="class: xl70"]23[/TD]
[TD="class: xl70"]24[/TD]
[TD="class: xl70"]27[/TD]
[TD="class: xl70"]28[/TD]
[TD="class: xl70"]28[/TD]
[TD="class: xl70"]30[/TD]
[TD="class: xl70"]29[/TD]
[TD="class: xl70"]31[/TD]
[TD="class: xl71"]29[/TD]
[TD="class: xl71"]29[/TD]
[TD="class: xl71"]29[/TD]
[TD="class: xl71"]30[/TD]
[TD="class: xl71"]31[/TD]
[TD="class: xl71"]34[/TD]
[TD="class: xl71"]31[/TD]
[TD="class: xl71"]26[/TD]
[TD="class: xl71"]24[/TD]
[TD="class: xl71"]27[/TD]
[TD="class: xl71"]30[/TD]
[TD="class: xl71"]32[/TD]
[/TR]
[TR]
[TD="class: xl67"]C[/TD]
[TD="class: xl70"]35[/TD]
[TD="class: xl70"]34[/TD]
[TD="class: xl70"]34[/TD]
[TD="class: xl70"]29[/TD]
[TD="class: xl70"]31[/TD]
[TD="class: xl70"]31[/TD]
[TD="class: xl70"]31[/TD]
[TD="class: xl70"]30[/TD]
[TD="class: xl70"]30[/TD]
[TD="class: xl70"]29[/TD]
[TD="class: xl70"]29[/TD]
[TD="class: xl70"]29[/TD]
[TD="class: xl71"]26[/TD]
[TD="class: xl71"]26[/TD]
[TD="class: xl71"]27[/TD]
[TD="class: xl71"]27[/TD]
[TD="class: xl71"]31[/TD]
[TD="class: xl71"]31[/TD]
[TD="class: xl71"]26[/TD]
[TD="class: xl71"]23[/TD]
[TD="class: xl71"]24[/TD]
[TD="class: xl71"]26[/TD]
[TD="class: xl71"]27[/TD]
[TD="class: xl71"]26[/TD]
[/TR]
[TR]
[TD="class: xl67"]D[/TD]
[TD="class: xl70"]21[/TD]
[TD="class: xl70"]19[/TD]
[TD="class: xl70"]19[/TD]
[TD="class: xl70"]20[/TD]
[TD="class: xl70"]21[/TD]
[TD="class: xl70"]23[/TD]
[TD="class: xl70"]24[/TD]
[TD="class: xl70"]24[/TD]
[TD="class: xl70"]27[/TD]
[TD="class: xl70"]27[/TD]
[TD="class: xl70"]27[/TD]
[TD="class: xl70"]28[/TD]
[TD="class: xl71"]28[/TD]
[TD="class: xl71"]26[/TD]
[TD="class: xl71"]26[/TD]
[TD="class: xl71"]28[/TD]
[TD="class: xl71"]30[/TD]
[TD="class: xl71"]32[/TD]
[TD="class: xl71"]30[/TD]
[TD="class: xl71"]28[/TD]
[TD="class: xl71"]29[/TD]
[TD="class: xl71"]25[/TD]
[TD="class: xl71"]27[/TD]
[TD="class: xl71"]27[/TD]
[/TR]
[TR]
[TD="class: xl67"]E[/TD]
[TD="class: xl70"]36[/TD]
[TD="class: xl70"]37[/TD]
[TD="class: xl70"]37[/TD]
[TD="class: xl70"]33[/TD]
[TD="class: xl70"]31[/TD]
[TD="class: xl70"]33[/TD]
[TD="class: xl70"]33[/TD]
[TD="class: xl70"]30[/TD]
[TD="class: xl70"]30[/TD]
[TD="class: xl70"]27[/TD]
[TD="class: xl70"]29[/TD]
[TD="class: xl70"]29[/TD]
[TD="class: xl71"]29[/TD]
[TD="class: xl71"]27[/TD]
[TD="class: xl71"]27[/TD]
[TD="class: xl71"]29[/TD]
[TD="class: xl71"]30[/TD]
[TD="class: xl71"]32[/TD]
[TD="class: xl71"]33[/TD]
[TD="class: xl71"]34[/TD]
[TD="class: xl71"]34[/TD]
[TD="class: xl71"]36[/TD]
[TD="class: xl71"]36[/TD]
[TD="class: xl71"]34[/TD]
[/TR]
[TR]
[TD="class: xl67"]F[/TD]
[TD="class: xl70"]38[/TD]
[TD="class: xl70"]36[/TD]
[TD="class: xl70"]35[/TD]
[TD="class: xl70"]32[/TD]
[TD="class: xl70"]34[/TD]
[TD="class: xl70"]35[/TD]
[TD="class: xl70"]36[/TD]
[TD="class: xl70"]36[/TD]
[TD="class: xl70"]33[/TD]
[TD="class: xl70"]33[/TD]
[TD="class: xl70"]33[/TD]
[TD="class: xl70"]34[/TD]
[TD="class: xl71"]33[/TD]
[TD="class: xl71"]33[/TD]
[TD="class: xl71"]33[/TD]
[TD="class: xl71"]33[/TD]
[TD="class: xl71"]33[/TD]
[TD="class: xl71"]31[/TD]
[TD="class: xl71"]33[/TD]
[TD="class: xl71"]31[/TD]
[TD="class: xl71"]30[/TD]
[TD="class: xl71"]30[/TD]
[TD="class: xl71"]30[/TD]
[TD="class: xl71"]30[/TD]
[/TR]
</tbody>[/TABLE]
 

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,223,162
Messages
6,170,431
Members
452,326
Latest member
johnshaji

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