180 day rolling tracker formula

AMLAS

New Member
Joined
Feb 15, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello

I am trying to create a tracker for attendance. The idea is to track the different codes- Vac, SSk, Usk (vacation, scheduled sick, unscheduled sick, etc) but I need them to fall off after 180 days. Each different attendance code has been converted into a number, so "late" is a number 5. on the right side are the totals. What I would like is to track on a 180 rolling period. so the SSK that occured on 01/03 will fall off 180 days later. any insight will be helpful as this is the first time I am attempting to do one with a rolling period.

Thank you in advance.

1676452114300.png
1676452114300.png
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Perhaps the use of OFFSET will help?
Book1
ABCDEFGHI
1121121116
Sheet6
Cell Formulas
RangeFormula
I1I1=COUNTIF(OFFSET(H1,,-7):H1,1)
 
Upvote 0
Maybe something like
Excel Formula:
=COUNTIFS($B4:$Z4,1,$B$2:$Z$2,"<="&TODAY(),$B$2:$Z$2,">="&TODAY()-180)
As we have no idea what cells you have shown, you will need to change the ranges to suit.
 
Upvote 0
Maybe something like
Excel Formula:
=COUNTIFS($B4:$Z4,1,$B$2:$Z$2,"<="&TODAY(),$B$2:$Z$2,">="&TODAY()-180)
As we have no idea what cells you have shown, you will need to change the ranges to suit.
1676462259168.png



I really appreciate the insight on this @ Fluff and Georgiboy
 
Upvote 0
Did you try either of the suggestions after changing the ranges to suit?
 
Upvote 0

Forum statistics

Threads
1,215,006
Messages
6,122,666
Members
449,091
Latest member
peppernaut

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