Hi,
You don't need a macro. One way is in W2 on the Payroll sheet
Copy down and across as needed after you've converted past weeks to hard values.![]()
=IF(AND('Master List'!$A$1>V$1,'Master List'!$A$1<=W$1),IF(INDEX('Master List'!$A:$A,MATCH($D2,'Master List'!$F:$F,FALSE),1)="Active",INDEX('Master List'!$K:$K,MATCH($D2,'Master List'!$F:$F,FALSE),1),IF(INDEX('Master List'!$A:$A,MATCH($D2,'Master List'!$F:$F,FALSE),1)="Hold","Hold","Cancel")),"X")
Regards
Bookmarks