Hello experts,
I am hoping that this is not too big an ask? I have a workbook called weekend planning, I was wondering if it would be possible that when I add a date into the cells highlighted then it will cross reference with my engineering rota workbook and workout who is on shift for that date, day shift and night. I found a CSE formula that does what I want and was wondering if this can be done in VBA. The reason I ask is that the Engineering rota is a sheet a month and continues to grow. If possible would like to learn rather then being fed so if someone could give me some pointers as to how to write in VBA that would be great.
=IFERROR(INDEX('July 2018'!$A$4:$A$18, SMALL(IF(1=((--($AH$4='July 2018'!$C$2:$AG$2)) * (--($AI$4='July 2018'!$C$4:$AG$18))), ROW('July 2018'!$A$4:$A$18)-3,""),ROW()-3 )),"")
I am hoping that this is not too big an ask? I have a workbook called weekend planning, I was wondering if it would be possible that when I add a date into the cells highlighted then it will cross reference with my engineering rota workbook and workout who is on shift for that date, day shift and night. I found a CSE formula that does what I want and was wondering if this can be done in VBA. The reason I ask is that the Engineering rota is a sheet a month and continues to grow. If possible would like to learn rather then being fed so if someone could give me some pointers as to how to write in VBA that would be great.
=IFERROR(INDEX('July 2018'!$A$4:$A$18, SMALL(IF(1=((--($AH$4='July 2018'!$C$2:$AG$2)) * (--($AI$4='July 2018'!$C$4:$AG$18))), ROW('July 2018'!$A$4:$A$18)-3,""),ROW()-3 )),"")