I suspect that formula will be ok... here the entire column ref. is used to create a range and that element should function without issue.
(note the *may* in the warning - if in doubt test)
However, what I would say is the formula is a little odd - unless all the Months match the criteria the result would always be 0 (assuming J > 0 - not checked)
You might find you actually want to use:
=MIN(IF(MONTH(Main!B5:INDEX(Main!B:B,MATCH(99^99,Main!B:B)))=MONTH(1&C1),Main!J5:INDEX(Main!J:J,MATCH(99^99,Main!B:B)))
confirmed with CTRL + SHIFT + ENTER
note I also reverted the final match range to B so as to ensure both ranges share the same dimensions irrespective of content in J [edit: this is a point made by darkyam in an earlier post]
Bookmarks