FWIW - you can do the following:
A3: =LOOKUP(2,1/($D$5:$BC$5="Actual"),$D$4:$BC$4)
assumes you're looking for last Actual
BD6:
=INDEX($D6:$BC6,MATCH($A$3,$D$4:$BC$4,0))
BE6:
=INDEX($D6:$BC6,MATCH(YEAR($A$3)&"",$D$5:$BC$5,0))
BF6:
=INDEX($D6:$BC6,MATCH(YEAR($A$3)-1&"",$D$5:$BC$5,0))
If you want to use System Date rather than last Actual period then alter A3 formula accordingly but note you are mixing the logic of your month row so you will need to adjust accordingly.
you stipulate first month as 1st Jan then use EOMONTH for subsequent periods in fiscal year - ie 28th Feb - you would be better off using EDATE for consistency or use 0 increment and +1 to result (ie all 1st of month)
Bookmarks