Leo,
Very sorry for that.
Actually, I am not able to attach the file.

In col. S, can you please add Apr, May, Jun .... randomly and see if the macro can be run producing the desired output.

Please assist.