Originally Posted by
Pete_UK
Suppose you use cell O6 to specify the month you want to count up to. You should apply a custom format to this cell of "mmm" so that it only displays the month, but you should enter a proper date into the cell which is the first of the month that you are interested in, e.g. 1/06/2016 for June.
Then you can have this formula in cell O10:
=SUM($C10:INDEX($C10:$N10,MATCH($O$6,$C9:$N9,0)))
which will sum from C10 up to the column whose month you have in O6.
Hope this helps.
Pete
Bookmarks