
I'm not sure if I can get Excel to do this but what I want to do in the above image is to get the last values of each month automatically, the ones in the green, blue and red boxes.
I can already get the very last value in the B column using =INDEX(B:B,MATCH(9.99999999999999E+307,B:B))
Can this be modified to allow only for certain criteria?
Cheers