View Single Post
 
Old 01-21-2020, 02:50 PM
DJ0691 DJ0691 is offline Windows 10 Office 2013
Novice
 
Join Date: Jan 2020
Posts: 18
DJ0691 is on a distinguished road
Default

Thanks for your help and input - using some of your examples and a lot debug, I was able to achieve the result I was looking for. It did lead to a rather large formula but appears to be working great:

=IF(MONTH($A$17)=1,0,SUM(B2:INDEX(named_range,MATC H(TEXT($A$17,"mmm"),A2:A13,0)-1,32)))+SUM(OFFSET($A$1,MATCH(TEXT($A$17,"mmm"),$A $1:$A$13, 0)-1,1,1,MATCH(DAY($A$17),$A$1:$AF$1,0)-2))

Thanks again.
Reply With Quote